Interface MLDataItem

All Known Implementing Classes:
DataSetItem, ExampleImage

public interface MLDataItem
Single data item that will be used to train machine learning model. Implementing classes should provides methods for input and target output for a machine learning model. To create a data set of custom objects implement this interface for corresponding class.
See Also:
  • invalid reference
    DataSet
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns a model output error for this data item.
    Returns an input for machine learning model of this item.
    Returns target output for machine learning model of this item.
    void
    setError(float error)
     
  • Method Details

    • getInput

      TensorBase getInput()
      Returns an input for machine learning model of this item.
      Returns:
      an example input for a machine learning model training.
    • getTargetOutput

      TensorBase getTargetOutput()
      Returns target output for machine learning model of this item.
      Returns:
      target output
    • getError

      float getError()
      Returns a model output error for this data item.
      Returns:
    • setError

      void setError(float error)