Package ai.libs.jaicore.ml.core.dataset
Class AInstance
- java.lang.Object
-
- ai.libs.jaicore.ml.core.dataset.AInstance
-
- All Implemented Interfaces:
IClusterableInstance
,java.io.Serializable
,org.apache.commons.math3.ml.clustering.Clusterable
,org.api4.java.ai.ml.core.dataset.IInstance
,org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
- Direct Known Subclasses:
DenseInstance
,SparseInstance
public abstract class AInstance extends java.lang.Object implements IClusterableInstance, java.io.Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getLabel()
boolean
isLabelPresent()
void
setLabel(java.lang.Object label)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getLabel
public java.lang.Object getLabel()
- Specified by:
getLabel
in interfaceorg.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
-
setLabel
public void setLabel(java.lang.Object label)
- Specified by:
setLabel
in interfaceorg.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
-
isLabelPresent
public boolean isLabelPresent()
- Specified by:
isLabelPresent
in interfaceorg.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance
-
-