Package org.api4.java.ai.ml.core.dataset
Interface IInstance
-
- Type Parameters:
X- The type of the feature description of a single instance.
- All Superinterfaces:
IInstanceSchemaHandler
- All Known Subinterfaces:
IDyadRankingInstance,ILabeledInstance,ILabelRankingInstance,IMultiLabelClassificationInstance,IRankingInstance<O>,IRegressionInstance,ISingleLabelClassificationInstance
public interface IInstance extends IInstanceSchemaHandler
Instances implementing this interface have a feature description of the type X. Usually, feature descriptions are realized via double arrays. However, here it is also allowed to specify feature descriptions which are heteregoneous (e.g., a time series with single values) and may consist of complex objects (e.g., lists, arrays, graphs).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetAttributeValue(int pos)double[]getPoint()doublegetPointValue(int pos)-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.IInstanceSchemaHandler
getAttribute, getInstanceSchema, getListOfAttributes, getNumAttributes
-
-