mulan.data
Class ConverterCLUS

java.lang.Object
  extended by 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

Constructor Summary
ConverterCLUS()
           
 
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
 

Constructor Detail

ConverterCLUS

public ConverterCLUS()
Method Detail

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 name
arffFilename - the converted arff name
xmlFilename - the xml name
Throws:
Exception