-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade ndarray-linalg 0.16, argmin 0.9.0 (#331)
- Loading branch information
Showing
10 changed files
with
76 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = [ | |
"Luca Palmieri <[email protected]>", | ||
"Lorenz Schmidt <[email protected]>", | ||
"Paul Körbitz <[email protected]>", | ||
"Yuhan Lin <[email protected]>" | ||
"Yuhan Lin <[email protected]>", | ||
] | ||
description = "A Machine Learning framework for Rust" | ||
edition = "2018" | ||
|
@@ -41,12 +41,12 @@ rand = { version = "0.8", features = ["small_rng"] } | |
approx = "0.4" | ||
|
||
ndarray = { version = "0.15", features = ["approx"] } | ||
ndarray-linalg = { version = "0.15", optional = true } | ||
ndarray-linalg = { version = "0.16", optional = true } | ||
sprs = { version = "0.11", default-features = false } | ||
|
||
thiserror = "1.0" | ||
|
||
criterion = { version = "0.4.0", optional = true} | ||
criterion = { version = "0.4.0", optional = true } | ||
|
||
[dependencies.serde_crate] | ||
package = "serde" | ||
|
@@ -57,17 +57,22 @@ features = ["std", "derive"] | |
|
||
[dev-dependencies] | ||
ndarray-rand = "0.14" | ||
linfa-datasets = { path = "datasets", features = ["winequality", "iris", "diabetes", "generate"] } | ||
linfa-datasets = { path = "datasets", features = [ | ||
"winequality", | ||
"iris", | ||
"diabetes", | ||
"generate", | ||
] } | ||
statrs = "0.16.0" | ||
|
||
[target.'cfg(not(windows))'.dependencies] | ||
pprof = { version = "0.11.0", features = ["flamegraph", "criterion"], optional = true} | ||
pprof = { version = "0.11.0", features = [ | ||
"flamegraph", | ||
"criterion", | ||
], optional = true } | ||
|
||
[workspace] | ||
members = [ | ||
"algorithms/*", | ||
"datasets", | ||
] | ||
members = ["algorithms/*", "datasets"] | ||
|
||
[profile.release] | ||
opt-level = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,21 @@ edition = "2018" | |
authors = [ | ||
"Luca Palmieri <[email protected]>", | ||
"xd009642 <[email protected]>", | ||
"Rémi Lafage <[email protected]>" | ||
"Rémi Lafage <[email protected]>", | ||
] | ||
description = "A collection of clustering algorithms" | ||
license = "MIT OR Apache-2.0" | ||
|
||
repository = "https://github.com/rust-ml/linfa/" | ||
readme = "README.md" | ||
|
||
keywords = ["clustering", "machine-learning", "linfa", "k-means", "unsupervised"] | ||
keywords = [ | ||
"clustering", | ||
"machine-learning", | ||
"linfa", | ||
"k-means", | ||
"unsupervised", | ||
] | ||
categories = ["algorithms", "mathematics", "science"] | ||
|
||
[features] | ||
|
@@ -28,9 +34,9 @@ default-features = false | |
features = ["std", "derive"] | ||
|
||
[dependencies] | ||
ndarray = { version = "0.15", features = ["rayon", "approx"]} | ||
ndarray = { version = "0.15", features = ["rayon", "approx"] } | ||
linfa-linalg = { version = "0.1", default-features = false } | ||
ndarray-linalg = { version = "0.15", optional = true } | ||
ndarray-linalg = { version = "0.16", optional = true } | ||
ndarray-rand = "0.14" | ||
ndarray-stats = "0.5" | ||
num-traits = "0.2" | ||
|
@@ -44,7 +50,9 @@ noisy_float = "0.2.0" | |
|
||
[dev-dependencies] | ||
ndarray-npy = { version = "0.8", default-features = false } | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["generate"] } | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ | ||
"generate", | ||
] } | ||
criterion = "0.4.0" | ||
serde_json = "1" | ||
approx = "0.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "linfa-elasticnet" | |
version = "0.7.0" | ||
authors = [ | ||
"Paul Körbitz / Google <[email protected]>", | ||
"Lorenz Schmidt <[email protected]>" | ||
"Lorenz Schmidt <[email protected]>", | ||
] | ||
|
||
description = "A Machine Learning framework for Rust" | ||
|
@@ -29,9 +29,9 @@ default-features = false | |
features = ["std", "derive"] | ||
|
||
[dependencies] | ||
ndarray = { version = "0.15", features = ["approx"]} | ||
ndarray = { version = "0.15", features = ["approx"] } | ||
linfa-linalg = { version = "0.1", default-features = false } | ||
ndarray-linalg = { version = "0.15", optional = true } | ||
ndarray-linalg = { version = "0.16", optional = true } | ||
|
||
num-traits = "0.2" | ||
approx = "0.4" | ||
|
@@ -40,6 +40,9 @@ thiserror = "1.0" | |
linfa = { version = "0.7.0", path = "../.." } | ||
|
||
[dev-dependencies] | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["diabetes", "linnerud"] } | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ | ||
"diabetes", | ||
"linnerud", | ||
] } | ||
ndarray-rand = "0.14" | ||
rand_xoshiro = "0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "linfa-linear" | |
version = "0.7.0" | ||
authors = [ | ||
"Paul Körbitz / Google <[email protected]>", | ||
"VasanthakumarV <[email protected]>" | ||
"VasanthakumarV <[email protected]>", | ||
] | ||
|
||
description = "A Machine Learning framework for Rust" | ||
|
@@ -31,18 +31,20 @@ features = ["std", "derive"] | |
[dependencies] | ||
ndarray = { version = "0.15", features = ["approx"] } | ||
linfa-linalg = { version = "0.1", default-features = false } | ||
ndarray-linalg = { version = "0.15", optional = true } | ||
ndarray-linalg = { version = "0.16", optional = true } | ||
num-traits = "0.2" | ||
argmin = { version = "0.8.1", default-features = false } | ||
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 = "../.." } | ||
|
||
[dev-dependencies] | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["diabetes"] } | ||
linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ | ||
"diabetes", | ||
] } | ||
approx = "0.4" | ||
criterion = "0.4.0" | ||
criterion = "0.4.0" | ||
statrs = "0.16.0" | ||
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters