Class OpenMLDatasetReader

  • All Implemented Interfaces:
    org.api4.java.ai.ml.core.dataset.serialization.IDatasetDeserializer<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance>>

    public class OpenMLDatasetReader
    extends java.lang.Object
    implements org.api4.java.ai.ml.core.dataset.serialization.IDatasetDeserializer<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance>>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> deserializeDataset​(int openMLId)  
      org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> deserializeDataset​(org.api4.java.ai.ml.core.dataset.descriptor.IDatasetDescriptor descriptor)  
      static java.io.File getArffFileOfOpenMLID​(int id)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenMLDatasetReader

        public OpenMLDatasetReader()
    • Method Detail

      • deserializeDataset

        public static org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> deserializeDataset​(int openMLId)
                                                                                                                                                            throws org.api4.java.ai.ml.core.dataset.serialization.DatasetDeserializationFailedException
        Throws:
        org.api4.java.ai.ml.core.dataset.serialization.DatasetDeserializationFailedException
      • getArffFileOfOpenMLID

        public static java.io.File getArffFileOfOpenMLID​(int id)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deserializeDataset

        public org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance> deserializeDataset​(org.api4.java.ai.ml.core.dataset.descriptor.IDatasetDescriptor descriptor)
                                                                                                                                                     throws org.api4.java.ai.ml.core.dataset.serialization.DatasetDeserializationFailedException,
                                                                                                                                                            java.lang.InterruptedException
        Specified by:
        deserializeDataset in interface org.api4.java.ai.ml.core.dataset.serialization.IDatasetDeserializer<org.api4.java.ai.ml.core.dataset.supervised.ILabeledDataset<org.api4.java.ai.ml.core.dataset.supervised.ILabeledInstance>>
        Throws:
        org.api4.java.ai.ml.core.dataset.serialization.DatasetDeserializationFailedException
        java.lang.InterruptedException