Class ClusterableDataset
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<I>
-
- ai.libs.jaicore.ml.core.dataset.ADataset<IClusterableInstance>
-
- ai.libs.jaicore.ml.core.dataset.clusterable.ClusterableDataset
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<IClusterableInstance>,java.util.Collection<IClusterableInstance>,java.util.List<IClusterableInstance>,java.util.RandomAccess,org.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>,org.api4.java.ai.ml.core.dataset.IDataSource<IClusterableInstance>,org.api4.java.ai.ml.core.dataset.schema.IInstanceSchemaHandler,org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchemaHandler,org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<IClusterableInstance>,org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataSource<IClusterableInstance>
public class ClusterableDataset extends ADataset<IClusterableInstance> implements org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<IClusterableInstance>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterableDataset(org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema schema)ClusterableDataset(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> dataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterableDatasetcreateCopy()ClusterableDatasetcreateEmptyCopy()voidremoveColumn(int columnPos)-
Methods inherited from class ai.libs.jaicore.ml.core.dataset.ADataset
equals, getFeatureMatrix, getInstanceSchema, getLabelVector, hashCode, removeColumn, removeColumn
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.api4.java.ai.ml.core.dataset.IDataset
getClassOfInstances, getFeatureMatrix, 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.supervised.ILabeledDataset
getLabelVector
-
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
-
-
-
-
Constructor Detail
-
ClusterableDataset
public ClusterableDataset(org.api4.java.ai.ml.core.dataset.schema.ILabeledInstanceSchema schema)
-
ClusterableDataset
public ClusterableDataset(org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> dataset)
-
-
Method Detail
-
removeColumn
public void removeColumn(int columnPos)
- Specified by:
removeColumnin interfaceorg.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>
-
createEmptyCopy
public ClusterableDataset createEmptyCopy() throws org.api4.java.ai.ml.core.exception.DatasetCreationException, java.lang.InterruptedException
- Specified by:
createEmptyCopyin interfaceorg.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>- Specified by:
createEmptyCopyin interfaceorg.api4.java.ai.ml.core.dataset.IDataSource<IClusterableInstance>- Specified by:
createEmptyCopyin interfaceorg.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<IClusterableInstance>- Throws:
org.api4.java.ai.ml.core.exception.DatasetCreationExceptionjava.lang.InterruptedException
-
createCopy
public ClusterableDataset createCopy() throws org.api4.java.ai.ml.core.exception.DatasetCreationException, java.lang.InterruptedException
- Specified by:
createCopyin interfaceorg.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>- Specified by:
createCopyin interfaceorg.api4.java.ai.ml.core.dataset.IDataSource<IClusterableInstance>- Throws:
org.api4.java.ai.ml.core.exception.DatasetCreationExceptionjava.lang.InterruptedException
-
-