Class Weka

    • Constructor Detail

      • Weka

        public Weka()
    • Method Detail

      • getDatasetFormat

        public Class getDatasetFormat()
        Returns the class of the dataset that the converter generates.
        Specified by:
        getDatasetFormat in class AbstractFeatureConverter<weka.core.Instances,​weka.core.Instance>
        Returns:
        the format
      • getRowFormat

        public Class getRowFormat()
        Returns the class of the row that the converter generates.
        Specified by:
        getRowFormat in class AbstractFeatureConverter<weka.core.Instances,​weka.core.Instance>
        Returns:
        the format
      • doGenerateHeader

        protected weka.core.Instances doGenerateHeader​(HeaderDefinition header)
        Performs the actual generation of a row from the raw data.
        Specified by:
        doGenerateHeader in class AbstractFeatureConverter<weka.core.Instances,​weka.core.Instance>
        Parameters:
        data - the data of the row, elements can be null (= missing)
        Returns:
        the dataset structure
      • doGenerateRow

        protected weka.core.Instance doGenerateRow​(List<Object> data)
        Performs the actual generation of a row from the raw data.
        Specified by:
        doGenerateRow in class AbstractFeatureConverter<weka.core.Instances,​weka.core.Instance>
        Parameters:
        data - the data of the row, elements can be null (= missing)
        Returns:
        the dataset structure