docs: fix documentation of naive bayes structs

This commit is contained in:
Luis Moreno
2021-06-05 00:25:34 -04:00
parent 1208051fb5
commit 763a8370eb
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ impl<T: RealNumber> MultinomialNBDistribution<T> {
}
}
/// MultinomialNB implements the categorical naive Bayes algorithm for categorically distributed data.
/// MultinomialNB implements the naive Bayes algorithm for multinomially distributed data.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq)]
pub struct MultinomialNB<T: RealNumber, M: Matrix<T>> {