nb
Class NDriver

java.lang.Object
  |
  +--nb.NDriver

public class NDriver
extends java.lang.Object

NDriver is provided as an example. This class creates and runs the NaiveBayes Inducer for the specified options. Usage: java NDriver filename [options] Options: l - if present NB uses Laplace Correction; default is off; ep - if present Evidence Project is used; default is off; mest=# - the m estimate factor used in NB is set to #; default is 1.0;


Field Summary
static java.lang.String mEstimateFactorChip
          an internal identifier used to find command line options.
static java.lang.String useEvidenceProjectionToggle
          an internal identifier used to find command line options.
static java.lang.String useLaplaceToggle
          an internal identifier used to find command line options.
 
Constructor Summary
NDriver()
           
 
Method Summary
static void main(java.lang.String[] args)
          the main method which creates the NB inducer and prints the error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useLaplaceToggle

public static final java.lang.String useLaplaceToggle
an internal identifier used to find command line options.

useEvidenceProjectionToggle

public static final java.lang.String useEvidenceProjectionToggle
an internal identifier used to find command line options.

mEstimateFactorChip

public static final java.lang.String mEstimateFactorChip
an internal identifier used to find command line options.
Constructor Detail

NDriver

public NDriver()
Method Detail

main

public static void main(java.lang.String[] args)
the main method which creates the NB inducer and prints the error.
Parameters:
args - - an array with the command line arguments.