uk.ac.ed.inf.taweka
Class DataSetManager
java.lang.Object
uk.ac.ed.inf.utils.database.Manager
uk.ac.ed.inf.taweka.DataSetManager
- Direct Known Subclasses:
- MulanDataSetManager
public class DataSetManager
- extends uk.ac.ed.inf.utils.database.Manager
DataSet generates a collection of Weka instances (rows of the ARFF file),
their attributes (column names) and their attribute values (cell values) The
last attribute is the class attribute.
- Version:
- 20 Feb 2008
- Author:
- Luna De Ferrari luna.deferrari-at-ed.ac.uk
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DUMMY_VALUE
public static final java.lang.String DUMMY_VALUE
- See Also:
- Constant Field Values
DataSetManager
public DataSetManager(ArffGenerator generator)
- Parameters:
generator - a generator object to write this dataset to fileinstanceAttributeMap - instance-attribute value entriesinstanceClassMap - instance-class value entries
writeArff
public void writeArff()
getArffProperties
public ArffProperties getArffProperties()
getClassName
public java.lang.String getClassName()
getDataSetChecker
public DataSetChecker getDataSetChecker()
getDataSetName
public java.lang.String getDataSetName()
getDataLoader
public DataSetDbLoader getDataLoader()
getDataSetWriter
public DataSetWriter getDataSetWriter()
initialisationIsCorrect
public boolean initialisationIsCorrect()
getDataSetGenerator
public DataSetGenerator getDataSetGenerator()
getArffGenerator
public ArffGenerator getArffGenerator()