Interface ClassifierContext


public interface ClassifierContext
Context information available to a classifier constructor. Gives access to the classifier's name and its configuration.

To invoke other configured classifiers — for example, to compose an ensemble out of several underlying ones — inject a ClassifierClient into the constructor.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.typesafe.config.Config
    The config section for the specific classifier.
    The name of the classifier.
  • Method Details

    • name

      String name()
      The name of the classifier.
    • config

      com.typesafe.config.Config config()
      The config section for the specific classifier.