gov.sandia.cognition.learning.algorithm.bayes
Class VectorNaiveBayesCategorizer.BatchGaussianLearner<CategoryType>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.algorithm.bayes.VectorNaiveBayesCategorizer.BatchGaussianLearner<CategoryType>
Type Parameters:
CategoryType - The output category type for the categorizer. Must implement equals and hash code.
All Implemented Interfaces:
BatchLearner<Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>>,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>, SupervisedBatchLearner<Vectorizable,CategoryType,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
VectorNaiveBayesCategorizer<CategoryType,DistributionType extends UnivariateProbabilityDensityFunction>

public static class VectorNaiveBayesCategorizer.BatchGaussianLearner<CategoryType>
extends AbstractCloneableSerializable
implements SupervisedBatchLearner<Vectorizable,CategoryType,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>

A supervised batch distributionLearner for a vector Naive Bayes categorizer that fits a Gaussian.

See Also:
Serialized Form

Constructor Summary
VectorNaiveBayesCategorizer.BatchGaussianLearner()
          Creates a new BatchGaussianLearner.
 
Method Summary
 VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF> learn(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.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Constructor Detail

VectorNaiveBayesCategorizer.BatchGaussianLearner

public VectorNaiveBayesCategorizer.BatchGaussianLearner()
Creates a new BatchGaussianLearner.

Method Detail

learn

public VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF> learn(Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>> data)
Description copied from interface: BatchLearner
The learn method creates an object of ResultType using data of type DataType, using some form of "learning" algorithm.

Specified by:
learn in interface BatchLearner<Collection<? extends InputOutputPair<? extends Vectorizable,CategoryType>>,VectorNaiveBayesCategorizer<CategoryType,UnivariateGaussian.PDF>>
Parameters:
data - The data that the learning algorithm will use to create an object of ResultType.
Returns:
The object that is created based on the given data using the learning algorithm.