Package org.api4.java.ai.ml.core.dataset
Interface IDataset<I extends IInstance>
-
- All Superinterfaces:
java.util.Collection<I>,IDataSource<I>,IInstanceSchemaHandler,java.lang.Iterable<I>,java.util.List<I>
- All Known Subinterfaces:
IDyadRankingDataset,ILabeledDataset<I>,ILabelRankingDataset,IMultiLabelClassificationDataset,IRankingDataset<O,I>,IRegressionDataset,ISingleLabelClassificationDataset
public interface IDataset<I extends IInstance> extends IDataSource<I>, java.util.List<I>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDataset<I>createEmptyCopy()Creates an empty copy of the dataset with the same meta data.Iget(int pos)java.lang.Object[][]getFeatureMatrix()-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.schema.IInstanceSchemaHandler
getAttribute, getInstanceSchema, getListOfAttributes, getNumAttributes
-
-
-
-
Method Detail
-
createEmptyCopy
IDataset<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 interfaceIDataSource<I extends IInstance>- 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.
-
getFeatureMatrix
java.lang.Object[][] getFeatureMatrix()
-
-