uk.ac.ed.inf.taweka.mulan
Class MulanArffGenerator
java.lang.Object
uk.ac.ed.inf.taweka.ArffGenerator
uk.ac.ed.inf.taweka.mulan.MulanArffGenerator
- All Implemented Interfaces:
- Initialisation
public class MulanArffGenerator
- extends ArffGenerator
Generates an Attribute Relation Format File (ARFF) in Mulan format (multiple
class labels per instance). The class attributes must be in a separate Mulan
XML file (either flat or hierarchical) to distinguish them from the normal
attributes.
- Version:
- 10 May 2010
- Author:
- Luna De Ferrari luna.deferrari-at-ed.ac.uk
|
Constructor Summary |
MulanArffGenerator(java.lang.String dataPropsFileName,
java.lang.String resultsPropsFileName)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MulanArffGenerator
public MulanArffGenerator(java.lang.String dataPropsFileName,
java.lang.String resultsPropsFileName)
getXMLpathFromArffPath
public static java.lang.String getXMLpathFromArffPath(java.lang.String arffPath)
- Generates the xml file path: same name+path as .arff file, but .xml
termination
- Parameters:
arffPath - the path to the arff file
- Returns:
- the same filename+directorypath of the arff file but with the
termination .xml instead of .arff
main
public static void main(java.lang.String[] args)
getDataSetManager
public MulanDataSetManager getDataSetManager()
- Overrides:
getDataSetManager in class ArffGenerator
setDataSetManager
public void setDataSetManager()
- Overrides:
setDataSetManager in class ArffGenerator