public class SortedClassProbability
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
Name of this class level.
|
double |
probability
Prediction value for this class level.
|
Constructor and Description |
---|
SortedClassProbability() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Comparison implementation for this object type.
|
public java.lang.String name
public double probability
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- The other object to compare to.