Interface MultiTargetClassificationModel

  • All Superinterfaces:
    Model, Serializable

    public interface MultiTargetClassificationModel
    extends Model
    Interface for classification models.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • classify

        Map<String,​String> classify​(Row row)
                                   throws Exception
        Returns the label for the given row.
        Parameters:
        row - the row to classify
        Returns:
        the class label per class attribute
        Throws:
        Exception - if prediction fails
      • distribution

        Map<String,​double[]> distribution​(Row row)
                                         throws Exception
        Returns the class distribution for the given row.
        Parameters:
        row - the row to generate the class distribution for
        Returns:
        the class distribution per class attribute
        Throws:
        Exception - if prediction fails