weka.classifiers.m5
Class Options

java.lang.Object
  |
  +--weka.classifiers.m5.Options
All Implemented Interfaces:
java.io.Serializable

public final class Options
extends java.lang.Object
implements java.io.Serializable

Class for handing options

Author:
Yong Wang (yongwang@cs.waikato.ac.nz)
See Also:
Serialized Form

Constructor Summary
Options(Instances inst)
           
Options(java.lang.String[] argv)
          Constructs an object to store command line options and other necessary information
 
Method Summary
 void initialize(Instances inst)
          Initializes for constucting model trees
 void printValidOptions()
          Prints valid command line options and simply explains the output
 java.lang.String toString(Instances inst)
          Prints information stored in an 'Options' object, basically containing command line options
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Options

public Options(Instances inst)

Options

public Options(java.lang.String[] argv)
Constructs an object to store command line options and other necessary information
Parameters:
argv - command line auguments
Method Detail

initialize

public final void initialize(Instances inst)
                      throws java.lang.Exception
Initializes for constucting model trees
Parameters:
dataset - a dataset
Throws:
java.lang.Exception - if something goes wrong

toString

public final java.lang.String toString(Instances inst)
                                throws java.lang.Exception
Prints information stored in an 'Options' object, basically containing command line options
Parameters:
dataset - a dataset
Throws:
java.lang.Exception - if something goes wrong

printValidOptions

public final void printValidOptions()
Prints valid command line options and simply explains the output