|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface Classifier<T>
Classifier interface that provides training and evaluation methods.
| Method Summary | |
|---|---|
void |
train(java.util.ArrayList<TrainingSample<T>> l)
Replace the current training and train the classifier |
void |
train(TrainingSample<T> t)
Add a single example to the current training set and train the classifier |
double |
valueOf(T e)
Computes the category of the provided example |
| Method Detail |
|---|
void train(TrainingSample<T> t)
t - the training samplevoid train(java.util.ArrayList<TrainingSample<T>> l)
l - list of training samplesdouble valueOf(T e)
e - example
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||