Class ClusterableDataset

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • 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
      ClusterableDataset createCopy()  
      ClusterableDataset createEmptyCopy()  
      void removeColumn​(int columnPos)  
      • 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.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • 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.lang.Iterable

        forEach
      • 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:
        removeColumn in interface org.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:
        createEmptyCopy in interface org.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>
        Specified by:
        createEmptyCopy in interface org.api4.java.ai.ml.core.dataset.IDataSource<IClusterableInstance>
        Specified by:
        createEmptyCopy in interface org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<IClusterableInstance>
        Throws:
        org.api4.java.ai.ml.core.exception.DatasetCreationException
        java.lang.InterruptedException
      • createCopy

        public ClusterableDataset createCopy()
                                      throws org.api4.java.ai.ml.core.exception.DatasetCreationException,
                                             java.lang.InterruptedException
        Specified by:
        createCopy in interface org.api4.java.ai.ml.core.dataset.IDataset<IClusterableInstance>
        Specified by:
        createCopy in interface org.api4.java.ai.ml.core.dataset.IDataSource<IClusterableInstance>
        Throws:
        org.api4.java.ai.ml.core.exception.DatasetCreationException
        java.lang.InterruptedException