gov.sandia.cognition.learning.function.categorization
Class FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.function.categorization.FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver
All Implemented Interfaces:
BatchLearner<Collection<? extends InputOutputPair<? extends Vector,Boolean>>,FisherLinearDiscriminantBinaryCategorizer>, SupervisedBatchLearner<Vector,Boolean,FisherLinearDiscriminantBinaryCategorizer>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
FisherLinearDiscriminantBinaryCategorizer

public static class FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver
extends AbstractCloneableSerializable
implements SupervisedBatchLearner<Vector,Boolean,FisherLinearDiscriminantBinaryCategorizer>

This class implements a closed form solver for the Fisher linear discriminant binary categorizer.

See Also:
Serialized Form

Constructor Summary
FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver()
          Default constructor.
FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver(double defaultCovariance)
          Creates a new ClosedFormSolver.
 
Method Summary
 FisherLinearDiscriminantBinaryCategorizer learn(Collection<? extends InputOutputPair<? extends Vector,Boolean>> data)
          The learn method creates an object of ResultType using data of type DataType, using some form of "learning" algorithm.
static FisherLinearDiscriminantBinaryCategorizer learn(Collection<? extends InputOutputPair<? extends Vector,Boolean>> data, double defaultCovariance)
          Closed-form learning algorithm for a Fisher Linear Discriminant.
 
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

FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver

public FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver()
Default constructor.


FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver

public FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver(double defaultCovariance)
Creates a new ClosedFormSolver.

Parameters:
defaultCovariance - The default covariance.
Method Detail

learn

public FisherLinearDiscriminantBinaryCategorizer learn(Collection<? extends InputOutputPair<? extends Vector,Boolean>> 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 Vector,Boolean>>,FisherLinearDiscriminantBinaryCategorizer>
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.

learn

public static FisherLinearDiscriminantBinaryCategorizer learn(Collection<? extends InputOutputPair<? extends Vector,Boolean>> data,
                                                              double defaultCovariance)
Closed-form learning algorithm for a Fisher Linear Discriminant.

Parameters:
data - The data to learn the discriminant categorizer from.
defaultCovariance - The default covariance.
Returns:
A discriminant categorizer learned from the data.