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