public static class FLD.Trainer extends ClassifierTrainer<double[]>
| Constructor and Description |
|---|
Trainer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
FLD.Trainer |
setDimension(int L)
Sets the dimensionality of mapped space.
|
FLD.Trainer |
setTolerance(double tol)
Sets covariance matrix singular tolerance.
|
FLD |
train(double[][] x,
int[] y)
Learns a classifier with given training data.
|
setAttributespublic Trainer()
public FLD.Trainer setDimension(int L)
L - the dimensionality of mapped space.public FLD.Trainer 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.