Interface SmileClassifier.Trainer
- All Superinterfaces:
Serializable
- Enclosing class:
SmileClassifier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for training a SMILE classifier on double feature arrays.
-
Method Summary
Modifier and TypeMethodDescriptionClassifier<double[]> fit(double[][] x, int[] y) Fits a SMILE classifier.
-
Method Details
-
fit
Fits a SMILE classifier.- Parameters:
x- the feature matrix.y- the class labels.- Returns:
- the fitted classifier.
-