Package deepnetts.data
Interface MLDataItem
- All Known Implementing Classes:
ExampleImage
,TabularDataSet.Item
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:
-
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)
-