InputType - The type of the input for the categorizer to learn.CategoryType - The type of the category that is the output for the categorizer to
learn.public interface BagBasedCategorizerEnsembleLearner<InputType,CategoryType> extends AnytimeBatchLearner<java.util.Collection<? extends InputOutputPair<? extends InputType,CategoryType>>,WeightedVotingCategorizerEnsemble<InputType,CategoryType,Evaluator<? super InputType,? extends CategoryType>>>
| Modifier and Type | Method and Description |
|---|---|
int[] |
getDataInBag()
Gets the counter for each example indicating how many times it exists
in the current bag.
|
InputOutputPair<? extends InputType,CategoryType> |
getExample(int index)
Gets the training example at the given index.
|
getData, getKeepGoinggetMaxIterations, getResult, setMaxIterationsaddIterativeAlgorithmListener, getIteration, removeIterativeAlgorithmListenerisResultValid, stoplearncloneInputOutputPair<? extends InputType,CategoryType> getExample(int index)
index - The 0-based index to lookup.int[] getDataInBag()