mlpack_nbc(1) - Linux man page
Name
nbc - parametric naive bayes classifier
Synopsis
nbc [-h] [-v] -T string -t string [-l string] [-o string]
Description
This program trains the Naive Bayes classifier on the given labeled training set and then uses the trained classifier to classify the points in the given test set.
Labels are expected to be the last row of the training set (--train_file), but labels can also be passed in separately as their own file (--labels_file).
Required Options
--test_file (-T) [string]
- A file containing the test set.
- --train_file (-t) [string]
- A file containing the training set.
Options
--help (-h)
- Default help info.
- --info [string]
- Get help on a specific module or option. Default value ''.
- --labels_file (-l) [string]
- A file containing labels for the training set. Default value ''.
- --output (-o) [string]
- The file in which the output of the test would be written, defaults to 'output.csv') Default value 'output.csv'.
- --verbose (-v)
- Display informational messages and the full list of parameters and timers at the end of execution.
Additional Information
For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of MLPACK.