public class ClusterScoreResult
extends java.lang.Object
implements java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
int |
clusterId
cluster id
|
double |
distance
distance from the centroid of the predicted cluster
|
double |
probability
probability of the input record to belong to that cluster [0, 1]
|
double |
qualityOfFit
measure of how well the input record fits in the predicted cluster [0, 1]
|
| Constructor and Description |
|---|
ClusterScoreResult() |
public int clusterId
public double distance
public double probability
public double qualityOfFit
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Object