mulan.data
Class ConverterCLUS
java.lang.Object
mulan.data.ConverterCLUS
public class ConverterCLUS
- extends Object
Class that converts a dataset that is originally in the format of the
Clus system to a format
that is suitable for Mulan. An arff and an xml file are created.
The arff file contains the original dataset with all labels converted to
separate attributes and properly converted instances. The xml file contains
the hierarchy of the labels.
- Version:
- 2012.02.06
- Author:
- George Saridis, Grigorios Tsoumakas
Method Summary |
static void |
convert(String sourceFilename,
String arffFilename,
String xmlFilename)
Converts the original dataset to mulan compatible dataset. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterCLUS
public ConverterCLUS()
convert
public static void convert(String sourceFilename,
String arffFilename,
String xmlFilename)
throws Exception
- Converts the original dataset to mulan compatible dataset.
- Parameters:
sourceFilename
- the source file namearffFilename
- the converted arff namexmlFilename
- the xml name
- Throws:
Exception