a scalable c++ machine learning library
mlpack: src/mlpack/methods/naive_bayes/naive_bayes_classifier.hpp File Reference

naive_bayes_classifier.hpp File Reference

Include dependency graph for naive_bayes_classifier.hpp:

Go to the source code of this file.


class  mlpack::naive_bayes::NaiveBayesClassifier< MatType >
 The simple Naive Bayes classifier. More...


namespace  mlpack

Linear algebra utility functions, generally performed on matrices or vectors.

namespace  mlpack::naive_bayes

The Naive Bayes Classifier.

Detailed Description

Parikshit Ram (

A Naive Bayes Classifier which parametrically estimates the distribution of the features. It is assumed that the features have been sampled from a Gaussian PDF.

This file is part of mlpack 1.0.11.

mlpack is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

mlpack is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details (LICENSE.txt).

You should have received a copy of the GNU General Public License along with mlpack. If not, see <>.

Definition in file naive_bayes_classifier.hpp.