net.sf.myra.datamining.util
Class HoldenARFFConverter

java.lang.Object
  extended by net.sf.myra.datamining.util.HoldenARFFConverter

public class HoldenARFFConverter
extends java.lang.Object

Utility class to transform an ARFF file in Holden's format (hierarchical).

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

Constructor Summary
HoldenARFFConverter()
           
 
Method Summary
static void main(java.lang.String[] args)
          Runs the converter from the command-line.
 Dataset read(java.io.Reader reader)
          Returns the dataset instance specified by the reader.
 Dataset read(java.lang.String filename)
          Returns the dataset instance specified by the filename.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HoldenARFFConverter

public HoldenARFFConverter()
Method Detail

read

public Dataset read(java.lang.String filename)
             throws java.io.IOException
Returns the dataset instance specified by the filename.

Parameters:
filename - the dataset file.
Returns:
the dataset instance specified by the filename.
Throws:
java.io.IOException

read

public Dataset read(java.io.Reader reader)
             throws java.io.IOException
Returns the dataset instance specified by the reader.

Parameters:
reader - the reader instance.
Returns:
the dataset instance specified by the filename.
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Runs the converter from the command-line.

Parameters:
args - command-line arguments.
Throws:
java.lang.Exception


Copyright © 2013. All Rights Reserved.