Interface ILabeledDataset<I extends ILabeledInstance>
-
- All Superinterfaces:
java.util.Collection<I>,IDataset<I>,IDataSource<I>,IInstanceSchemaHandler,ILabeledDataSource<I>,ILabeledInstanceSchemaHandler,java.lang.Iterable<I>,java.util.List<I>
- All Known Subinterfaces:
IDyadRankingDataset,ILabelRankingDataset,IMultiLabelClassificationDataset<I>,IRankingDataset<O,I>,IRegressionDataset,ISingleLabelClassificationDataset
public interface ILabeledDataset<I extends ILabeledInstance> extends ILabeledDataSource<I>, IDataset<I>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ILabeledDataset<I>createEmptyCopy()Creates an empty copy of the dataset with the same meta data.java.lang.Object[]getLabelVector()-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.IDataset
createCopy, getClassOfInstances, getFeatureMatrix, removeColumn, removeColumn, removeColumn
-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.IInstanceSchemaHandler
getAttribute, getListOfAttributes, getNumAttributes
-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchemaHandler
getInstanceSchema, getLabelAttribute, getRelationName
-
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
getLabelVector
java.lang.Object[] getLabelVector()
-
createEmptyCopy
ILabeledDataset<I> createEmptyCopy() throws DatasetCreationException, java.lang.InterruptedException
Description copied from interface:IDataSourceCreates an empty copy of the dataset with the same meta data.- Specified by:
createEmptyCopyin interfaceIDataset<I extends ILabeledInstance>- Specified by:
createEmptyCopyin interfaceIDataSource<I extends ILabeledInstance>- Returns:
- The newly created dataset.
- Throws:
DatasetCreationException- Thrown, if an issue occurred while copying the meta data of the dataset.java.lang.InterruptedException- Thrown, if the process of copying the meta data of the dataset has been interrupted.
-
-