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.

@FunctionalInterface public static interface SmileClassifier.Trainer extends Serializable
Functional interface for training a SMILE classifier on double feature arrays.
  • Method Summary

    Modifier and Type
    Method
    Description
    Classifier<double[]>
    fit(double[][] x, int[] y)
    Fits a SMILE classifier.
  • Method Details

    • fit

      Classifier<double[]> fit(double[][] x, int[] y)
      Fits a SMILE classifier.
      Parameters:
      x - the feature matrix.
      y - the class labels.
      Returns:
      the fitted classifier.