org.encog.ml

## Interface MLClassification

- All Superinterfaces:
    MLInput, MLInputOutput, MLMethod, MLOutput
  All Known Subinterfaces:
    EnsembleML
  All Known Implementing Classes:
    ART1, BasicNetwork, BasicPNN, BayesianNetwork, FreeformNetwork, GenericEnsembleML, SOM, SVM

      public interface MLClassification
      extends MLInputOutput

  This interface defines a MLMethod that is used for classification. Classification defines the output to be a class. A MLMethod that uses classification is attempting to use the input to place items into classes. It is assumed that an item will only be in one single class. If an item can be in multiple classes, one option is to create additional classes that represent the compound classes.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `classify(MLData input)` Classify the input into a group.

    - ### Methods inherited from interface org.encog.ml.MLInput

      `getInputCount`

    - ### Methods inherited from interface org.encog.ml.MLOutput

      `getOutputCount`

- - ### Method Detail

    - #### classify

          int classify(MLData input)

      Classify the input into a group.
      Parameters:
        `input` - The input data to classify.
      Returns:
        The group that the data was classified into.

Copyright © 2014. All Rights Reserved.