public static class FisherLinearDiscriminantBinaryCategorizer.ClosedFormSolver extends AbstractCloneableSerializable implements SupervisedBatchLearner<Vector,java.lang.Boolean,FisherLinearDiscriminantBinaryCategorizer>
Constructor and Description |
---|
ClosedFormSolver()
Default constructor.
|
ClosedFormSolver(double defaultCovariance)
Creates a new
ClosedFormSolver . |
Modifier and Type | Method and Description |
---|---|
FisherLinearDiscriminantBinaryCategorizer |
learn(java.util.Collection<? extends InputOutputPair<? extends Vector,java.lang.Boolean>> data)
The
learn method creates an object of ResultType using
data of type DataType , using some form of "learning" algorithm. |
static FisherLinearDiscriminantBinaryCategorizer |
learn(java.util.Collection<? extends InputOutputPair<? extends Vector,java.lang.Boolean>> data,
double defaultCovariance)
Closed-form learning algorithm for a Fisher Linear Discriminant.
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public ClosedFormSolver()
public ClosedFormSolver(double defaultCovariance)
ClosedFormSolver
.defaultCovariance
- The default covariance.public FisherLinearDiscriminantBinaryCategorizer learn(java.util.Collection<? extends InputOutputPair<? extends Vector,java.lang.Boolean>> data)
BatchLearner
learn
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 Vector,java.lang.Boolean>>,FisherLinearDiscriminantBinaryCategorizer>
data
- The data that the learning algorithm will use to create an
object of ResultType
.public static FisherLinearDiscriminantBinaryCategorizer learn(java.util.Collection<? extends InputOutputPair<? extends Vector,java.lang.Boolean>> data, double defaultCovariance)
data
- The data to learn the discriminant categorizer from.defaultCovariance
- The default covariance.