public static class FLD.Trainer extends ClassifierTrainer<double[]>
| Constructor and Description |
|---|
FLD.Trainer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setDimension(int L)
Sets the dimensionality of mapped space.
|
void |
setTolerance(double tol)
Sets covariance matrix singular tolerance.
|
FLD |
train(double[][] x,
int[] y)
Learns a classifier with given training data.
|
setAttributespublic FLD.Trainer()
public void setDimension(int L)
L - the dimensionality of mapped space.public void setTolerance(double tol)
tol - a tolerance to decide if a covariance matrix is singular.
The trainer will reject variables whose variance is less than tol2.public FLD train(double[][] x, int[] y)
ClassifierTrainertrain in class ClassifierTrainer<double[]>x - the training instances.y - the training labels.Copyright © 2015. All rights reserved.