T
- the type of input objectpublic interface Classifier<T>
Classification normally refers to a supervised procedure, i.e. a procedure that produces an inferred function to predict the output value of new instances based on a training set of pairs consisting of an input object and a desired output value. The inferred function is called a classifier if the output is discrete or a regression function if the output is continuous.
Modifier and Type | Method and Description |
---|---|
int |
predict(T x)
Predicts the class label of an instance.
|
int predict(T x)
x
- the instance to be classified.