1 #ifndef _theplu_yat_classifier_nbc_ 2 #define _theplu_yat_classifier_nbc_ 27 #include "SupervisedClassifier.h" 28 #include "yat/utility/Matrix.h" 32 namespace classifier {
35 class MatrixLookupWeighted;
142 double sum_logsigma(
size_t i)
const;
General view into utility::Matrix.
Definition: MatrixLookup.h:70
Class for containing sample labels.
Definition: Target.h:47
The Department of Theoretical Physics namespace as we define it.
void predict(const MatrixLookup &data, utility::Matrix &result) const
Predict samples using unweighted data.
void train(const MatrixLookup &, const Target &)
Train the NBC using training data and targets.
Interface class for supervised classifiers that use data in a matrix format.
Definition: SupervisedClassifier.h:56
NBC * make_classifier(void) const
Create an untrained copy of the classifier.
General view into utility::MatrixWeighted.
Definition: MatrixLookupWeighted.h:63
virtual ~NBC()
Destructor.
Interface to GSL matrix.
Definition: Matrix.h:74
Naive Bayesian Classifier.
Definition: NBC.h:46