Package adams.data.featureconverter
Class Weka
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.featureconverter.AbstractFeatureConverter<weka.core.Instances,weka.core.Instance>
-
- adams.data.featureconverter.Weka
-
- All Implemented Interfaces:
adams.core.Destroyable,adams.core.GlobalInfoSupporter,adams.core.logging.LoggingLevelHandler,adams.core.logging.LoggingSupporter,adams.core.option.OptionHandler,adams.core.QuickInfoSupporter,adams.core.SizeOfHandler,Serializable
public class Weka extends adams.data.featureconverter.AbstractFeatureConverter<weka.core.Instances,weka.core.Instance>Generates features in spreadsheet format.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Weka()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected weka.core.InstancesdoGenerateHeader(adams.data.featureconverter.HeaderDefinition header)Performs the actual generation of a row from the raw data.protected weka.core.InstancedoGenerateRow(List<Object> data)Performs the actual generation of a row from the raw data.ClassgetDatasetFormat()Returns the class of the dataset that the converter generates.ClassgetRowFormat()Returns the class of the row that the converter generates.StringglobalInfo()Returns a string describing the object.-
Methods inherited from class adams.data.featureconverter.AbstractFeatureConverter
datasetTipText, defineOptions, generateHeader, generateRow, getDataset, getHeader, getHeaderDefinition, getQuickInfo, isInitialized, reset, setDataset
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.core.option.AbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
getDatasetFormat
public Class getDatasetFormat()
Returns the class of the dataset that the converter generates.- Specified by:
getDatasetFormatin classadams.data.featureconverter.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:
getRowFormatin classadams.data.featureconverter.AbstractFeatureConverter<weka.core.Instances,weka.core.Instance>- Returns:
- the format
-
doGenerateHeader
protected weka.core.Instances doGenerateHeader(adams.data.featureconverter.HeaderDefinition header)
Performs the actual generation of a row from the raw data.- Specified by:
doGenerateHeaderin classadams.data.featureconverter.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:
doGenerateRowin classadams.data.featureconverter.AbstractFeatureConverter<weka.core.Instances,weka.core.Instance>- Parameters:
data- the data of the row, elements can be null (= missing)- Returns:
- the dataset structure
-
-