public class SimpleAL<T> extends ActiveLearner<T>
Simple active learning strategy as presented in:
Support vector machine active learning with applications to text classification.
S. Tong and D. Koller.
Journal of Machine Learning Research, 2:45–66, 2001.
classifier, train| Constructor and Description |
|---|
SimpleAL(OnlineClassifier<T> c,
java.util.List<TrainingSample<T>> l) |
| Modifier and Type | Method and Description |
|---|---|
TrainingSample<T> |
getActiveSample(java.util.List<TrainingSample<T>> l)
Method returning the best training sample in the list with respect to the active strategy
|
void |
updateClassifier(int nbSamples)
perform nbSample updates of the classifier using the active strategy
|
getClassifier, getTrain, setClassifier, setTrainpublic SimpleAL(OnlineClassifier<T> c, java.util.List<TrainingSample<T>> l)
public TrainingSample<T> getActiveSample(java.util.List<TrainingSample<T>> l)
ActiveLearnergetActiveSample in class ActiveLearner<T>public void updateClassifier(int nbSamples)
ActiveLearnerupdateClassifier in class ActiveLearner<T>