Skip to content

Commit 06eb432

Browse files
authored
Release version 0.8.0 (#398)
* Update changelog * cargo release version 0.8.0 --workspace * Add news
1 parent e3f082b commit 06eb432

File tree

21 files changed

+125
-68
lines changed

21 files changed

+125
-68
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
Version 0.8.0 - 2025-09-30
2+
==========================
3+
New Algorithms
4+
--------------
5+
* Bernouilli naive bayes in [linfa-bayes] by [@wildart]
6+
* Bootstrap aggregation (aka Bagging) in new ensemble methods crate [linfa-ensemble] by [@jk1015]
7+
8+
Changes
9+
-------
10+
* add `max_features` and `tokenizer_function` to `CountVectorizer` in `linfa-preprocessing`
11+
* add `predict_proba()` to `Gaussian mixture model` in `linfa-clustering`
12+
* add `predict_proba()` and `predict_log_proba()` to algorithms in `linfa-bayes`
13+
* add target names to `dataset`
14+
* fix SVR parameterization in `linfa-svm`
15+
* fix serde support for algorithms in `linfa-pls`
16+
* fix confusion matrix: use predicted and ground thruth labels, make it reproducible
17+
* fix dataset names after shuffling
18+
* bump `ndarray` to 0.16, `argmin` to 0.11.0, `kdtree` to 0.7.0, statrs to `0.18`, sprs to `0.11`
19+
* bump MSRV to 1.87.0
20+
121
Version 0.7.1 - 2025-01-14
222
==========================
323
New Algorithms

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "linfa"
3-
version = "0.7.1"
3+
version = "0.8.0"
44
authors = [
55
"Luca Palmieri <[email protected]>",
66
"Lorenz Schmidt <[email protected]>",

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.1"
3+
version = "0.8.0"
44
authors = ["VasanthakumarV <[email protected]>"]
55
description = "Collection of Naive Bayes Algorithms"
66
edition = "2018"
@@ -25,10 +25,10 @@ ndarray = { version = "0.16", features = ["approx"] }
2525
ndarray-stats = "0.6"
2626
thiserror = "2.0"
2727

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

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

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.1"
3+
version = "0.8.0"
44
edition = "2018"
55
authors = [
66
"Luca Palmieri <[email protected]>",
@@ -45,20 +45,20 @@ rand_xoshiro = "0.6"
4545
space = "0.12"
4646
thiserror = "2.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.1", path = "../.." }
49-
linfa-nn = { version = "0.7.2", path = "../linfa-nn" }
48+
linfa = { version = "0.8.0", path = "../.." }
49+
linfa-nn = { version = "0.8.0", path = "../linfa-nn" }
5050
noisy_float = "0.2.0"
5151

5252
[dev-dependencies]
5353
ndarray-npy = { version = "0.9", default-features = false }
54-
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
54+
linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [
5555
"generate",
5656
] }
5757
criterion = "0.5"
5858
serde_json = "1"
5959
approx = "0.5"
6060
lax = "0.17.0"
61-
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
61+
linfa = { version = "0.8.0", 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.1"
3+
version = "0.8.0"
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.5"
3838
thiserror = "2.0"
3939

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

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

algorithms/linfa-ensemble/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-ensemble"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition = "2018"
55
authors = [
66
"James Knight <[email protected]>",
@@ -31,10 +31,10 @@ ndarray = { version = "0.16", features = ["rayon", "approx"] }
3131
ndarray-rand = "0.15"
3232
rand = "0.8.5"
3333

34-
linfa = { version = "0.7.1", path = "../.." }
35-
linfa-trees = { version = "0.7.1", path = "../linfa-trees" }
34+
linfa = { version = "0.8.0", path = "../.." }
35+
linfa-trees = { version = "0.8.0", path = "../linfa-trees" }
3636

3737
[dev-dependencies]
38-
linfa-datasets = { version = "0.7.1", path = "../../datasets/", features = [
38+
linfa-datasets = { version = "0.8.0", path = "../../datasets/", features = [
3939
"iris",
4040
] }

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.1"
3+
version = "0.8.0"
44
authors = ["Liudmyla Kyrashchuk <[email protected]>"]
55

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

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

3737
[dev-dependencies]
3838
criterion = "0.5"
3939
approx = "0.5"
40-
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
40+
linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [
4141
"winequality",
4242
] }
43-
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
43+
linfa = { version = "0.8.0", 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.1"
3+
version = "0.8.0"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
edition = "2018"
66

@@ -24,12 +24,12 @@ ndarray = { version = "0.16" }
2424
kodama = "0.2"
2525
thiserror = "1.0.25"
2626

27-
linfa = { version = "0.7.1", path = "../.." }
28-
linfa-kernel = { version = "0.7.1", path = "../linfa-kernel" }
27+
linfa = { version = "0.8.0", path = "../.." }
28+
linfa-kernel = { version = "0.8.0", path = "../linfa-kernel" }
2929

3030
[dev-dependencies]
3131
rand = "0.8"
3232
ndarray-rand = "0.15"
33-
linfa-datasets = { version = "0.7.1", path = "../../datasets", features = [
33+
linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [
3434
"iris",
3535
] }

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.1"
3+
version = "0.8.0"
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 = "2.0"
3636

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

3939
[dev-dependencies]
4040
ndarray-npy = { version = "0.9", default-features = false }
4141
paste = "1.0"
4242
criterion = "0.5"
43-
linfa = { version = "0.7.1", path = "../..", features = ["benchmarks"] }
43+
linfa = { version = "0.8.0", 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.1"
3+
version = "0.8.0"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
description = "Kernel methods for non-linear algorithms"
66
edition = "2018"
@@ -28,5 +28,5 @@ ndarray = "0.16"
2828
num-traits = "0.2"
2929
sprs = { version = "0.11", default-features = false }
3030

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

0 commit comments

Comments
 (0)