|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A SimilarityMatrix specifies the
similarity values between two values of an
attribute. The value at entry (j, k) is the
similarity value for attribute values j and
k. A similarity matrix is symmetric, i.e.,
the value at (j, k) is the same as the
value at (k, j).
If nothing is set,
getValue returns 1 in the diagonal
and 0 in the off-diagonal.
CategoryMatrix| Method Summary | |
void |
setSimilarityValue(java.lang.Object category1,
java.lang.Object category2,
double similarityValue)
Adds a similarity value between the two values. |
| Methods inherited from interface javax.datamining.data.CategoryMatrix |
getCategories, getCategorySet, getValue |
| Method Detail |
public void setSimilarityValue(java.lang.Object category1,
java.lang.Object category2,
double similarityValue)
category1 - category2 - similarityValue - The similarity value of the specified two values.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||