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
+2 -1
View File
@@ -249,7 +249,8 @@ impl<T: RealNumber> BernoulliNBDistribution<T> {
}
}
/// BernoulliNB implements the categorical naive Bayes algorithm for categorically distributed data.
/// BernoulliNB implements the naive Bayes algorithm for data that follows the Bernoulli
/// distribution.
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, PartialEq)]
pub struct BernoulliNB<T: RealNumber, M: Matrix<T>> {