Search selection -
for c# program writing, need compare similarities in 2 entities (can documents, animals, or anything). based on properties, calculate similarities between documents (or entities). put similarities in table below
x y z a|0.6 |0.5 |0.4 b|0.6 |0.4 |0.2 c|0.6 |0.3 |0.6 i want find best matching pairs (eg: ax, by, cz) based on highest similarity score. high score indicates higher similarity.
my problem arises when there tie between similarity values. example, ax , cz have both 0.6. how decide 2 pairs select? there procedures/theories kind of problems?
thanks.
in general, tie-breaking methods going depend on context of problem. in cases, want report tying results. in other situations, can use arbitrary means of selection such 1 alphabetically first. finally, may choose have secondary characteristic evaluated in case of tie in primary characteristic.
additionally, can report 1 or more , alert user there tie allow him or decide him- or herself.
Comments
Post a Comment