Skip to content

Commit 646c58d

Browse files
authored
Release version 0.7.1 (#369)
* 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
1 parent dff3811 commit 646c58d

File tree

24 files changed

+135
-70
lines changed

24 files changed

+135
-70
lines changed

CHANGELOG.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1+
Version 0.7.1 - 2025-01-14
2+
==========================
3+
New Algorithms
4+
--------------
5+
* Random Projection added to `linfa-reduction` by [@GBathie]
6+
7+
Changes
8+
-------
9+
* add `serde` support to `linfa-clustering`
10+
* add accessors for classes in `linfa-logistics`
11+
* add accessors for `Pca` attributes in `linfa-reduction`
12+
* add `wasm-bindgen`feature to use linfa in the browser
13+
* fix covariance update for `GaussianMixtureModel` in `linfa-clustering`
14+
* bump `ndarray-linalg` to 0.16 and `argmin` to 0.9.0
15+
* bump MSRV to 1.71.1
16+
117
Version 0.7.0 - 2023-10-15
2-
========================
18+
==========================
319
Changes
420
-----------
521
* add `array_from_gz_csv` and `array_from_csv` in `linfa-datasets`
@@ -178,8 +194,8 @@ New algorithms
178194
Version 0.1.2 (2019-11-25)
179195
===========================
180196

181-
New algorithms
182-
------------
197+
New algorithms
198+
--------------
183199

184200
- First release of `linfa-clustering:v0.1.0` with the `KMeans` algorithm (by [@LukeMathWalker])
185201
- First (real) release of `linfa`, re-exporting `linfa-clustering` (by [@LukeMathWalker])

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = [
55
"Luca Palmieri <[email protected]>",
66
"Lorenz Schmidt <[email protected]>",
@@ -42,7 +42,7 @@ approx = "0.4"
4242

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

4747
thiserror = "1.0"
4848

algorithms/linfa-bayes/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-bayes"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["VasanthakumarV <[email protected]>"]
55
description = "Collection of Naive Bayes Algorithms"
66
edition = "2018"
@@ -25,8 +25,8 @@ ndarray = { version = "0.15" , features = ["approx"]}
2525
ndarray-stats = "0.5"
2626
thiserror = "1.0"
2727

28-
linfa = { version = "0.7.0", path = "../.." }
28+
linfa = { version = "0.7.1", path = "../.." }
2929

3030
[dev-dependencies]
3131
approx = "0.4"
32-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["winequality"] }
32+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = ["winequality"] }

algorithms/linfa-clustering/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-clustering"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
edition = "2018"
55
authors = [
66
"Luca Palmieri <[email protected]>",
@@ -45,20 +45,20 @@ rand_xoshiro = "0.6"
4545
space = "0.12"
4646
thiserror = "1.0"
4747
#partitions = "0.2.4" This one will break in a future version of Rust and has no replacement
48-
linfa = { version = "0.7.0", path = "../.." }
49-
linfa-nn = { version = "0.7.0", path = "../linfa-nn" }
48+
linfa = { version = "0.7.1", path = "../.." }
49+
linfa-nn = { version = "0.7.1", path = "../linfa-nn" }
5050
noisy_float = "0.2.0"
5151

5252
[dev-dependencies]
5353
ndarray-npy = { version = "0.8", default-features = false }
54-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
54+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
5555
"generate",
5656
] }
5757
criterion = "0.4.0"
5858
serde_json = "1"
5959
approx = "0.4"
6060
lax = "0.15.0"
61-
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
61+
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
6262

6363
[[bench]]
6464
name = "k_means"

algorithms/linfa-elasticnet/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-elasticnet"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = [
55
"Paul Körbitz / Google <[email protected]>",
66
"Lorenz Schmidt <[email protected]>",
@@ -37,10 +37,10 @@ num-traits = "0.2"
3737
approx = "0.4"
3838
thiserror = "1.0"
3939

40-
linfa = { version = "0.7.0", path = "../.." }
40+
linfa = { version = "0.7.1", path = "../.." }
4141

4242
[dev-dependencies]
43-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
43+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
4444
"diabetes",
4545
"linnerud",
4646
] }

algorithms/linfa-ftrl/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-ftrl"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["Liudmyla Kyrashchuk <[email protected]>"]
55

66
description = "A Machine Learning framework for Rust"
@@ -32,15 +32,15 @@ thiserror = "1.0"
3232
rand = "0.8.5"
3333
rand_xoshiro = "0.6.0"
3434

35-
linfa = { version = "0.7.0", path = "../.." }
35+
linfa = { version = "0.7.1", path = "../.." }
3636

3737
[dev-dependencies]
3838
criterion = "0.4.0"
3939
approx = "0.4"
40-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
40+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
4141
"winequality",
4242
] }
43-
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
43+
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
4444

4545
[[bench]]
4646
name = "ftrl"

algorithms/linfa-hierarchical/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-hierarchical"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
edition = "2018"
66

@@ -18,10 +18,10 @@ ndarray = { version = "0.15" }
1818
kodama = "0.2"
1919
thiserror = "1.0.25"
2020

21-
linfa = { version = "0.7.0", path = "../.." }
22-
linfa-kernel = { version = "0.7.0", path = "../linfa-kernel" }
21+
linfa = { version = "0.7.1", path = "../.." }
22+
linfa-kernel = { version = "0.7.1", path = "../linfa-kernel" }
2323

2424
[dev-dependencies]
2525
rand = "0.8"
2626
ndarray-rand = "0.14"
27-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["iris"] }
27+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = ["iris"] }

algorithms/linfa-ica/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-ica"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["VasanthakumarV <[email protected]>"]
55
description = "A collection of Independent Component Analysis (ICA) algorithms"
66
edition = "2018"
@@ -34,13 +34,13 @@ num-traits = "0.2"
3434
rand_xoshiro = "0.6"
3535
thiserror = "1.0"
3636

37-
linfa = { version = "0.7.0", path = "../.." }
37+
linfa = { version = "0.7.1", path = "../.." }
3838

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

4545
[[bench]]
4646
name = "fast_ica"

algorithms/linfa-kernel/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-kernel"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
description = "Kernel methods for non-linear algorithms"
66
edition = "2018"
@@ -28,5 +28,5 @@ ndarray = "0.15"
2828
num-traits = "0.2"
2929
sprs = { version = "=0.11.1", default-features = false }
3030

31-
linfa = { version = "0.7.0", path = "../.." }
32-
linfa-nn = { version = "0.7.0", path = "../linfa-nn" }
31+
linfa = { version = "0.7.1", path = "../.." }
32+
linfa-nn = { version = "0.7.1", path = "../linfa-nn" }

algorithms/linfa-linear/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa-linear"
3-
version = "0.7.0"
3+
version = "0.7.1"
44
authors = [
55
"Paul Körbitz / Google <[email protected]>",
66
"VasanthakumarV <[email protected]>",
@@ -37,16 +37,16 @@ argmin = { version = "0.9.0", default-features = false }
3737
argmin-math = { version = "0.3", features = ["ndarray_v0_15-nolinalg"] }
3838
thiserror = "1.0"
3939

40-
linfa = { version = "0.7.0", path = "../.." }
40+
linfa = { version = "0.7.1", path = "../.." }
4141

4242
[dev-dependencies]
43-
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [
43+
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
4444
"diabetes",
4545
] }
4646
approx = "0.4"
4747
criterion = "0.4.0"
4848
statrs = "0.16.0"
49-
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
49+
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
5050

5151
[[bench]]
5252
name = "ols_bench"

0 commit comments

Comments
 (0)