logic for converting data obtained from input

N

Nish

Hi there,
I want to solve this problem which tells me form a
Similarity matrix based on input.
for eg if the input is ( 1 2 ), (3 4 ), implying these are two groups
or cluster. I have to form the similarity matrix which looks
like 1 1 0 0
1 1 0 0
0 0 1 1
0 0 1 1


I will appreciate anyone's suggestion for this logic


thanks

Nishant

(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top