T - the type of input objectpublic interface SoftClassifier<T> extends Classifier<T>
| Modifier and Type | Method and Description |
|---|---|
int |
predict(T x,
double[] posteriori)
Predicts the class label of an instance and also calculate a posteriori
probabilities.
|
applyAsDouble, applyAsInt, f, predict, predictint predict(T x, double[] posteriori)
x - an instance to be classified.posteriori - the array to store a posteriori probabilities on output.