From ba0a1e9ac35b58797f9d583abb75444ffc431c2d Mon Sep 17 00:00:00 2001 From: relf Date: Fri, 10 Jan 2025 08:40:34 +0100 Subject: [PATCH] Fix doc --- algorithms/linfa-bayes/README.md | 4 ++-- algorithms/linfa-elasticnet/src/lib.rs | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/algorithms/linfa-bayes/README.md b/algorithms/linfa-bayes/README.md index 17003a0db..2fc57679d 100644 --- a/algorithms/linfa-bayes/README.md +++ b/algorithms/linfa-bayes/README.md @@ -10,8 +10,8 @@ `linfa-bayes` currently provides an implementation of the following methods: -- Gaussian Naive Bayes ([`GaussianNb`](crate::GaussianNb)) -- Multinomial Naive Nayes ([`MultinomialNb`](crate::MultinomialNb)) +- Gaussian Naive Bayes ([`GaussianNb`]) +- Multinomial Naive Nayes ([`MultinomialNb`])) ## Examples diff --git a/algorithms/linfa-elasticnet/src/lib.rs b/algorithms/linfa-elasticnet/src/lib.rs index 97c981510..057e6aa33 100644 --- a/algorithms/linfa-elasticnet/src/lib.rs +++ b/algorithms/linfa-elasticnet/src/lib.rs @@ -35,8 +35,7 @@ pub use hyperparams::{ /// /// See also: /// * [Talk on Fast Regularization Paths](https://web.stanford.edu/~hastie/TALKS/glmnet.pdf) -/// * [Regularization Paths for Generalized Linear Models via Coordinate Descent] -/// (http://www.jstatsoft.org/v33/i01/paper) +/// * [Regularization Paths for Generalized Linear Models via Coordinate Descent](http://www.jstatsoft.org/v33/i01/paper) #[derive(Debug, Clone)] pub struct ElasticNet { hyperplane: Array1,