fix LASSO (#346)

* fix lasso doc typo
* fix lasso optimizer bug
This commit is contained in:
Georeth Chow
2025-12-05 16:49:07 +08:00
committed by GitHub
parent 58a8624fa9
commit 78f18505b1
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ pub struct LassoSearchParameters {
/// The maximum number of iterations
pub max_iter: Vec<usize>,
#[cfg_attr(feature = "serde", serde(default))]
/// The maximum number of iterations
/// If false, force the intercept parameter (beta_0) to be zero.
pub fit_intercept: Vec<bool>,
}