Package deepnetts.data
Class TabularDataSet.Item
java.lang.Object
deepnetts.data.TabularDataSet.Item
- All Implemented Interfaces:
 MLDataItem
- Enclosing class:
 TabularDataSet<T extends MLDataItem>
Represents a basic data set item (single row) with input tensor and
 target vector in a data set.
- 
Constructor Summary
ConstructorsConstructorDescriptionItem(float[] in, float[] targetOutput) Item(TensorBase input, TensorBase targetOutput)  - 
Method Summary
 
- 
Constructor Details
- 
Item
public Item(float[] in, float[] targetOutput)  - 
Item
 
 - 
 - 
Method Details
- 
getInput
Description copied from interface:MLDataItemReturns an input for machine learning model of this item.- Specified by:
 getInputin interfaceMLDataItem- Returns:
 - an example input for a machine learning model training.
 
 - 
getTargetOutput
Description copied from interface:MLDataItemReturns target output for machine learning model of this item.- Specified by:
 getTargetOutputin interfaceMLDataItem- Returns:
 - target output
 
 - 
getError
public float getError()Description copied from interface:MLDataItemReturns a model output error for this data item.- Specified by:
 getErrorin interfaceMLDataItem- Returns:
 
 - 
setError
public void setError(float error) - Specified by:
 setErrorin interfaceMLDataItem
 - 
toString
 
 -