Skip to content

Commit 0822fa4

Browse files
committed
Bump version
1 parent f0eca13 commit 0822fa4

File tree

18 files changed

+136
-41
lines changed

18 files changed

+136
-41
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ poetry.lock
3535

3636
# Generated artifacts of website (with Zola)
3737
docs/website/public/*
38+
docs/website/static/rustdocs/

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
Version 0.3.1 - 2021-03-11
2+
========================
3+
4+
In this release of Linfa the documentation is extended, new examples are added and the functionality of datasets improved. No new algorithms were added.
5+
6+
The meta-issue [#82](https://github.com/rust-ml/linfa/issues/82) gives a good overview of the necessary documentation improvements and testing/documentation/examples were considerably extended in this release.
7+
8+
Further new functionality was added to datasets and multi-target datasets are introduced. Bootstrapping is now possible for features and samples and you can cross-validate your model with k-folding. We polished various bits in the kernel machines and simplified the interface there.
9+
10+
The trait structure of regression metrics are simplified and the silhouette score introduced for easier testing of K-Means and other algorithms.
11+
12+
Changes
13+
-----------
14+
* improve documentation in all algorithms, various commits
15+
* add a website to the infrastructure (c8acc785b)
16+
* add k-folding with and without copying (b0af80546f8)
17+
* add feature naming and pearson's cross correlation (71989627f)
18+
* improve ergonomics when handling kernels (1a7982b973)
19+
* improve TikZ generator in `linfa-trees` (9d71f603bbe)
20+
* introduce multi-target datasets (b231118629)
21+
* simplify regression metrics and add cluster metrics (d0363a1fa8ef)
22+
23+
Version 0.3.0 - 2021-01-21
24+
=========================
25+
26+
New Algorithms
27+
-----------
28+
29+
* Approximated DBSCAN has been added to `linfa-clustering` by [@Sauro98]
30+
* Gaussian Naive Bayes has been added to `linfa-bayes` by [@VasanthakumarV]
31+
* Elastic Net linear regression has been added to `linfa-elasticnet` by [@paulkoerbitz] and [@bytesnake]
32+
33+
Changes
34+
----------
35+
36+
* Added benchmark to gaussian mixture models (a3eede55)
37+
* Fixed bugs in linear decision trees, added generator for TiKZ trees (bfa5aebe7)
38+
* Implemented serde for all crates behind feature flag (4f0b63bb)
39+
* Implemented new backend features (7296c9ec4)
40+
* Introduced `linfa-datasets` for easier testing (3cec12b4f)
41+
* Rename `Dataset` to `DatasetBase` and introduce `Dataset` and `DatasetView` (21dd579cf)
42+
* Improve kernel tests and documentation (8e81a6d)
43+
144
Version 0.2.0 - 2020-11-26
245
==========================
346

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.3.0"
3+
version = "0.3.1"
44
authors = [
55
"Luca Palmieri <[email protected]>",
66
"Lorenz Schmidt <[email protected]>",
@@ -60,7 +60,7 @@ features = ["cblas"]
6060
ndarray-rand = "0.11"
6161
approx = { version = "0.3", default-features = false, features = ["std"] }
6262

63-
linfa-datasets = { version = "0.3.0", path = "datasets", features = ["winequality", "iris", "diabetes", "linnerud"] }
63+
linfa-datasets = { path = "datasets", features = ["winequality", "iris", "diabetes"] }
6464

6565
[workspace]
6666
members = [

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.3.0"
3+
version = "0.3.1"
44
authors = ["VasanthakumarV <[email protected]>"]
55
description = "Collection of Naive Bayes Algorithms"
66
edition = "2018"
@@ -15,8 +15,8 @@ ndarray = { version = "0.13" , features = ["blas", "approx"]}
1515
ndarray-stats = "0.3"
1616
thiserror = "1"
1717

18-
linfa = { version = "0.3.0", path = "../.." }
18+
linfa = { version = "0.3.1", path = "../.." }
1919

2020
[dev-dependencies]
2121
approx = "0.3"
22-
linfa-datasets = { version = "0.3.0", path = "../../datasets", features = ["winequality"] }
22+
linfa-datasets = { version = "0.3.1", path = "../../datasets", features = ["winequality"] }

algorithms/linfa-clustering/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-clustering"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
edition = "2018"
55
authors = [
66
"Luca Palmieri <[email protected]>",
@@ -36,7 +36,7 @@ sprs = "0.7"
3636
num-traits = "0.1.32"
3737
rand_isaac = "0.2.0"
3838

39-
linfa = { version = "0.3.0", path = "../.." }
39+
linfa = { version = "0.3.1", path = "../.." }
4040
partitions = "0.2.4"
4141

4242
[dev-dependencies]

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.3.0"
3+
version = "0.3.1"
44
authors = [
55
"Paul Körbitz / Google <[email protected]>",
66
"Lorenz Schmidt <[email protected]>"
@@ -35,9 +35,9 @@ num-traits = "0.2"
3535
approx = "0.3.2"
3636
thiserror = "1"
3737

38-
linfa = { version = "0.3.0", path = "../.." }
38+
linfa = { version = "0.3.1", path = "../.." }
3939

4040
[dev-dependencies]
41-
linfa-datasets = { version = "0.3.0", path = "../../datasets", features = ["diabetes"] }
41+
linfa-datasets = { version = "0.3.1", path = "../../datasets", features = ["diabetes"] }
4242
ndarray-rand = "0.11"
4343
rand_isaac = "0.2"

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.3.0"
3+
version = "0.3.1"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
edition = "2018"
66

@@ -17,10 +17,10 @@ categories = ["algorithms", "mathematics", "science"]
1717
ndarray = { version = "0.13", default-features = false }
1818
kodama = "0.2"
1919

20-
linfa = { version = "0.3.0", path = "../.." }
21-
linfa-kernel = { version = "0.3.0", path = "../linfa-kernel" }
20+
linfa = { version = "0.3.1", path = "../.." }
21+
linfa-kernel = { version = "0.3.1", path = "../linfa-kernel" }
2222

2323
[dev-dependencies]
2424
rand = "0.7"
2525
ndarray-rand = "0.11"
26-
linfa-datasets = { version = "0.3.0", path = "../../datasets", features = ["iris"] }
26+
linfa-datasets = { version = "0.3.1", path = "../../datasets", features = ["iris"] }

algorithms/linfa-ica/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-ica"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["VasanthakumarV <[email protected]>"]
55
description = "A collection of Independent Component Analysis (ICA) algorithms"
66
edition = "2018"
@@ -31,7 +31,7 @@ ndarray-stats = "0.3"
3131
num-traits = "0.2"
3232
rand_isaac = "0.2.0"
3333

34-
linfa = { version = "0.3.0", path = "../.." }
34+
linfa = { version = "0.3.1", path = "../.." }
3535

3636
[dev-dependencies]
3737
ndarray-npy = { version = "0.5", default-features = false }

algorithms/linfa-kernel/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-kernel"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["Lorenz Schmidt <[email protected]>"]
55
description = "Kernel methods for non-linear algorithms"
66
edition = "2018"
@@ -29,4 +29,4 @@ sprs = { version = "0.9.3", default-features = false }
2929
hnsw = "0.6"
3030
space = "0.10"
3131

32-
linfa = { version = "0.3.0", path = "../.." }
32+
linfa = { version = "0.3.1", path = "../.." }

algorithms/linfa-linear/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-linear"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = [
55
"Paul Körbitz / Google <[email protected]>",
66
"VasanthakumarV <[email protected]>"
@@ -25,8 +25,8 @@ argmin = {version="0.3.1", features=["ndarrayl"]}
2525
serde = { version = "1.0", default-features = false, features = ["derive"] }
2626
thiserror = "1"
2727

28-
linfa = { version = "0.3.0", path = "../.." }
28+
linfa = { version = "0.3.1", path = "../.." }
2929

3030
[dev-dependencies]
31-
linfa-datasets = { version = "0.3.0", path = "../../datasets", features = ["diabetes"] }
31+
linfa-datasets = { version = "0.3.1", path = "../../datasets", features = ["diabetes"] }
3232
approx = "0.3.2"

0 commit comments

Comments
 (0)