net.sf.myra.datamining.util
Class SillaARFFConverter

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

public class SillaARFFConverter
extends java.lang.Object

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

Version:
$Revision: 2148 $ $Date:: 2009-06-14 18:56:57#$
Author:
Fernando Esteban Barril Otero

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

SillaARFFConverter

public SillaARFFConverter()
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.