feat: add Naive Bayes and CategoricalNB (#15)

* feat: Implement Naive Bayes classifier

* Implement CategoricalNB
This commit is contained in:
morenol
2020-11-09 15:54:27 -04:00
committed by GitHub
parent 4efad85f8a
commit 3d4d5f64f6
3 changed files with 303 additions and 0 deletions
+2
View File
@@ -85,6 +85,8 @@ pub mod math;
/// Functions for assessing prediction error.
pub mod metrics;
pub mod model_selection;
/// Supervised learning algorithms based on applying the Bayes theorem with the independence assumptions between predictors
pub mod naive_bayes;
/// Supervised neighbors-based learning methods
pub mod neighbors;
pub(crate) mod optimization;