Skip to content

Commit

Permalink
release v0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
azmyrajab committed Aug 25, 2024
1 parent 87c9c8c commit de9c672
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["profile-rustflags"]

[package]
name = "polars_ols"
version = "0.3.4"
version = "0.3.5"
edition = "2021"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions src/least_squares.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,8 @@ fn soft_threshold(x: &f64, alpha: f64, positive: bool) -> f64 {

/// Solves an elastic net regression problem of the form: 1 / (2 * n_samples) * ||y - Xw||_2
/// + alpha * l1_ratio * ||w||_1 + 0.5 * alpha * (1 - l1_ratio) * ||w||_2.
/// Uses cyclic coordinate descent with efficient 'naive updates' and a
/// general soft thresholding function.
/// Uses cyclic coordinate descent with efficient 'naive updates' and a
/// general soft thresholding function.
#[allow(clippy::too_many_arguments)]
pub fn solve_elastic_net(
y: &Array1<f64>,
Expand Down

0 comments on commit de9c672

Please sign in to comment.