CategoryType - The output category type for the categorizer. Must implement equals and
hash code.public static class VectorNaiveBayesCategorizer.BatchGaussianLearner<CategoryType> extends AbstractCloneableSerializable implements SupervisedBatchLearner<Vectorizable,CategoryType,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>
| Constructor and Description |
|---|
BatchGaussianLearner()
Creates a new
BatchGaussianLearner. |
| Modifier and Type | Method and Description |
|---|---|
VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF> |
learn(java.util.Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>> data)
The
learn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm. |
cloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclonepublic BatchGaussianLearner()
BatchGaussianLearner.public VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF> learn(java.util.Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>> data)
BatchLearnerlearn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm.learn in interface BatchLearner<java.util.Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>>,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>data - The data that the learning algorithm will use to create an
object of ResultType.