Skip to content

Commit

Permalink
Release version 0.7.1 (#369)
Browse files Browse the repository at this point in the history
* Update changelog

* Add news entry

* Bump to version 0.7.1

* Add MSRV info

* Pin sprs 0.11.1 to avoid several ndarray versions

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* cargo release version 0.7.1

* Add "more" directive in release pages

* Add code snippet for random projection
  • Loading branch information
relf authored Jan 17, 2025
1 parent dff3811 commit 646c58d
Show file tree
Hide file tree
Showing 24 changed files with 135 additions and 70 deletions.
22 changes: 19 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
Version 0.7.1 - 2025-01-14
==========================
New Algorithms
--------------
* Random Projection added to `linfa-reduction` by [@GBathie]

Changes
-------
* add `serde` support to `linfa-clustering`
* add accessors for classes in `linfa-logistics`
* add accessors for `Pca` attributes in `linfa-reduction`
* add `wasm-bindgen`feature to use linfa in the browser
* fix covariance update for `GaussianMixtureModel` in `linfa-clustering`
* bump `ndarray-linalg` to 0.16 and `argmin` to 0.9.0
* bump MSRV to 1.71.1

Version 0.7.0 - 2023-10-15
========================
==========================
Changes
-----------
* add `array_from_gz_csv` and `array_from_csv` in `linfa-datasets`
Expand Down Expand Up @@ -178,8 +194,8 @@ New algorithms
Version 0.1.2 (2019-11-25)
===========================

New algorithms
------------
New algorithms
--------------

- First release of `linfa-clustering:v0.1.0` with the `KMeans` algorithm (by [@LukeMathWalker])
- First (real) release of `linfa`, re-exporting `linfa-clustering` (by [@LukeMathWalker])
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa"
version = "0.7.0"
version = "0.7.1"
authors = [
"Luca Palmieri <[email protected]>",
"Lorenz Schmidt <[email protected]>",
Expand Down Expand Up @@ -42,7 +42,7 @@ approx = "0.4"

ndarray = { version = "0.15", features = ["approx"] }
ndarray-linalg = { version = "0.16", optional = true }
sprs = { version = "0.11", default-features = false }
sprs = { version = "=0.11.1", default-features = false }

thiserror = "1.0"

Expand Down
6 changes: 3 additions & 3 deletions algorithms/linfa-bayes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-bayes"
version = "0.7.0"
version = "0.7.1"
authors = ["VasanthakumarV <[email protected]>"]
description = "Collection of Naive Bayes Algorithms"
edition = "2018"
Expand All @@ -25,8 +25,8 @@ ndarray = { version = "0.15" , features = ["approx"]}
ndarray-stats = "0.5"
thiserror = "1.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
approx = "0.4"
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["winequality"] }
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = ["winequality"] }
10 changes: 5 additions & 5 deletions algorithms/linfa-clustering/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-clustering"
version = "0.7.0"
version = "0.7.1"
edition = "2018"
authors = [
"Luca Palmieri <[email protected]>",
Expand Down Expand Up @@ -45,20 +45,20 @@ rand_xoshiro = "0.6"
space = "0.12"
thiserror = "1.0"
#partitions = "0.2.4" This one will break in a future version of Rust and has no replacement
linfa = { version = "0.7.0", path = "../.." }
linfa-nn = { version = "0.7.0", path = "../linfa-nn" }
linfa = { version = "0.7.1", path = "../.." }
linfa-nn = { version = "0.7.1", path = "../linfa-nn" }
noisy_float = "0.2.0"

[dev-dependencies]
ndarray-npy = { version = "0.8", default-features = false }
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"generate",
] }
criterion = "0.4.0"
serde_json = "1"
approx = "0.4"
lax = "0.15.0"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }

[[bench]]
name = "k_means"
Expand Down
6 changes: 3 additions & 3 deletions algorithms/linfa-elasticnet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-elasticnet"
version = "0.7.0"
version = "0.7.1"
authors = [
"Paul Körbitz / Google <[email protected]>",
"Lorenz Schmidt <[email protected]>",
Expand Down Expand Up @@ -37,10 +37,10 @@ num-traits = "0.2"
approx = "0.4"
thiserror = "1.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"diabetes",
"linnerud",
] }
Expand Down
8 changes: 4 additions & 4 deletions algorithms/linfa-ftrl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-ftrl"
version = "0.7.0"
version = "0.7.1"
authors = ["Liudmyla Kyrashchuk <[email protected]>"]

description = "A Machine Learning framework for Rust"
Expand Down Expand Up @@ -32,15 +32,15 @@ thiserror = "1.0"
rand = "0.8.5"
rand_xoshiro = "0.6.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
criterion = "0.4.0"
approx = "0.4"
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"winequality",
] }
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }

[[bench]]
name = "ftrl"
Expand Down
8 changes: 4 additions & 4 deletions algorithms/linfa-hierarchical/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-hierarchical"
version = "0.7.0"
version = "0.7.1"
authors = ["Lorenz Schmidt <[email protected]>"]
edition = "2018"

Expand All @@ -18,10 +18,10 @@ ndarray = { version = "0.15" }
kodama = "0.2"
thiserror = "1.0.25"

linfa = { version = "0.7.0", path = "../.." }
linfa-kernel = { version = "0.7.0", path = "../linfa-kernel" }
linfa = { version = "0.7.1", path = "../.." }
linfa-kernel = { version = "0.7.1", path = "../linfa-kernel" }

[dev-dependencies]
rand = "0.8"
ndarray-rand = "0.14"
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["iris"] }
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = ["iris"] }
6 changes: 3 additions & 3 deletions algorithms/linfa-ica/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-ica"
version = "0.7.0"
version = "0.7.1"
authors = ["VasanthakumarV <[email protected]>"]
description = "A collection of Independent Component Analysis (ICA) algorithms"
edition = "2018"
Expand Down Expand Up @@ -34,13 +34,13 @@ num-traits = "0.2"
rand_xoshiro = "0.6"
thiserror = "1.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
ndarray-npy = { version = "0.8", default-features = false }
paste = "1.0"
criterion = "0.4.0"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }

[[bench]]
name = "fast_ica"
Expand Down
6 changes: 3 additions & 3 deletions algorithms/linfa-kernel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-kernel"
version = "0.7.0"
version = "0.7.1"
authors = ["Lorenz Schmidt <[email protected]>"]
description = "Kernel methods for non-linear algorithms"
edition = "2018"
Expand Down Expand Up @@ -28,5 +28,5 @@ ndarray = "0.15"
num-traits = "0.2"
sprs = { version = "=0.11.1", default-features = false }

linfa = { version = "0.7.0", path = "../.." }
linfa-nn = { version = "0.7.0", path = "../linfa-nn" }
linfa = { version = "0.7.1", path = "../.." }
linfa-nn = { version = "0.7.1", path = "../linfa-nn" }
8 changes: 4 additions & 4 deletions algorithms/linfa-linear/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-linear"
version = "0.7.0"
version = "0.7.1"
authors = [
"Paul Körbitz / Google <[email protected]>",
"VasanthakumarV <[email protected]>",
Expand Down Expand Up @@ -37,16 +37,16 @@ argmin = { version = "0.9.0", default-features = false }
argmin-math = { version = "0.3", features = ["ndarray_v0_15-nolinalg"] }
thiserror = "1.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"diabetes",
] }
approx = "0.4"
criterion = "0.4.0"
statrs = "0.16.0"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }

[[bench]]
name = "ols_bench"
Expand Down
6 changes: 3 additions & 3 deletions algorithms/linfa-logistic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-logistic"
version = "0.7.0"
version = "0.7.1"
authors = ["Paul Körbitz / Google <[email protected]>"]

description = "A Machine Learning framework for Rust"
Expand Down Expand Up @@ -31,11 +31,11 @@ argmin-math = { version = "0.3", features = ["ndarray_v0_15-nolinalg"] }
thiserror = "1.0"


linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
approx = "0.4"
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"winequality",
] }
rmp-serde = "1"
6 changes: 3 additions & 3 deletions algorithms/linfa-nn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-nn"
version = "0.7.0"
version = "0.7.1"
authors = ["YuhanLiin <[email protected]>"]
edition = "2018"
description = "A collection of nearest neighbour algorithms"
Expand Down Expand Up @@ -33,14 +33,14 @@ thiserror = "1.0"

kdtree = "0.6.0"

linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
approx = "0.4"
criterion = "0.4.0"
rand_xoshiro = "0.6"
ndarray-rand = "0.14"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }

[[bench]]
name = "nn"
Expand Down
8 changes: 4 additions & 4 deletions algorithms/linfa-pls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-pls"
version = "0.7.0"
version = "0.7.1"
edition = "2018"
authors = ["relf <[email protected]>"]
description = "Partial Least Squares family methods"
Expand Down Expand Up @@ -33,11 +33,11 @@ ndarray-rand = "0.14"
num-traits = "0.2"
paste = "1.0"
thiserror = "1.0"
linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }

[dev-dependencies]
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"linnerud",
] }
approx = "0.4"
Expand Down
12 changes: 6 additions & 6 deletions algorithms/linfa-preprocessing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-preprocessing"
version = "0.7.0"
version = "0.7.1"
authors = ["Sauro98 <[email protected]>"]

description = "A Machine Learning framework for Rust"
Expand All @@ -18,7 +18,7 @@ blas = ["ndarray-linalg", "linfa/ndarray-linalg"]
serde = ["serde_crate", "ndarray/serde", "serde_regex"]

[dependencies]
linfa = { version = "0.7.0", path = "../.." }
linfa = { version = "0.7.1", path = "../.." }
ndarray = { version = "0.15", features = ["approx"] }
ndarray-linalg = { version = "0.16", optional = true }
linfa-linalg = { version = "0.1", default-features = false }
Expand All @@ -29,7 +29,7 @@ ndarray-rand = { version = "0.14" }
unicode-normalization = "0.1.8"
regex = "1.4.5"
encoding = "0.2"
sprs = { version = "0.11.0", default-features = false }
sprs = { version = "=0.11.1", default-features = false }

serde_regex = { version = "1.1", optional = true }

Expand All @@ -41,16 +41,16 @@ default-features = false
features = ["std", "derive"]

[dev-dependencies]
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"diabetes",
"winequality",
] }
linfa-bayes = { version = "0.7.0", path = "../linfa-bayes" }
linfa-bayes = { version = "0.7.1", path = "../linfa-bayes" }
iai = "0.1"
curl = "0.4.35"
flate2 = "1.0.20"
tar = "0.4.33"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
criterion = "0.4.0"
statrs = "0.16.0"

Expand Down
12 changes: 6 additions & 6 deletions algorithms/linfa-reduction/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "linfa-reduction"
version = "0.7.0"
version = "0.7.1"
authors = [
"Lorenz Schmidt <[email protected]>",
"Gabriel Bathie <[email protected]>",
Expand Down Expand Up @@ -42,17 +42,17 @@ num-traits = "0.2"
thiserror = "1.0"
rand = { version = "0.8", features = ["small_rng"] }

linfa = { version = "0.7.0", path = "../.." }
linfa-kernel = { version = "0.7.0", path = "../linfa-kernel" }
sprs = "0.11.1"
linfa = { version = "0.7.1", path = "../.." }
linfa-kernel = { version = "0.7.1", path = "../linfa-kernel" }
sprs = "=0.11.1"
rand_xoshiro = "0.6.0"

[dev-dependencies]
ndarray-npy = { version = "0.8", default-features = false }
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
"iris",
"generate",
] }
approx = { version = "0.4" }
mnist = { version = "0.6.0", features = ["download"] }
linfa-trees = { version = "0.7.0", path = "../linfa-trees"}
linfa-trees = { version = "0.7.1", path = "../linfa-trees" }
Loading

0 comments on commit 646c58d

Please sign in to comment.