Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| const fx_module_doc | parm_nbc_main_doc |
| const fx_entry_doc | parm_nbc_main_entries [] |
| const fx_submodule_doc | parm_nbc_main_submodules [] |
This program test drives the Simple Naive Bayes Classifier
This classifier does parametric naive bayes classification assuming that the features are sampled from a Gaussian distribution.
PARAMETERS TO BE INPUT:
--train This is the file that contains the training data
--nbc/classes This is the number of classes present in the training data
--test This file contains the data points which the trained classifier would classify
--output This file will contain the classes to which the corresponding data points in the testing data
Definition in file nbc_main.cc.
| const fx_module_doc parm_nbc_main_doc |
{
parm_nbc_main_entries, parm_nbc_main_submodules,
"This program test drives the Parametric Naive Bayes \n"
"Classifier assuming that the features are sampled \n"
"from a Gaussian distribution.\n"
}
Definition at line 79 of file nbc_main.cc.
| const fx_entry_doc parm_nbc_main_entries[] |
{
{"train", FX_REQUIRED, FX_STR, NULL,
" A file containing the training set\n"},
{"test", FX_REQUIRED, FX_STR, NULL,
" A file containing the test set\n"},
{"output", FX_PARAM, FX_STR, NULL,
" The file in which the output of the test would be "
"written (defaults to 'output.csv')\n"},
FX_ENTRY_DOC_DONE
}
Definition at line 61 of file nbc_main.cc.
| const fx_submodule_doc parm_nbc_main_submodules[] |
{
{"nbc", &parm_nbc_doc,
" Trains on a given set and number of classes and "
"tests them on a given set\n"},
FX_SUBMODULE_DOC_DONE
}
Definition at line 72 of file nbc_main.cc.
1.6.3