Interface ISingleLabelClassificationInstance
-
- All Superinterfaces:
IInstance,ILabeledInstance
public interface ISingleLabelClassificationInstance extends ILabeledInstance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description intgetIntLabel()default java.lang.IntegergetLabel()Getter for the value of the target attribute.-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.IInstance
getAttributes, getAttributeValue, getNumAttributes, getPoint, getPointValue, isAttributeValuePresent, removeColumn
-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
isLabelPresent, setAttributeValue, setLabel
-
-
-
-
Method Detail
-
getLabel
default java.lang.Integer getLabel()
Description copied from interface:ILabeledInstanceGetter for the value of the target attribute.- Specified by:
getLabelin interfaceILabeledInstance- Returns:
- The value of the target attribute.
-
getIntLabel
int getIntLabel()
-
-