diff --git a/Cargo.toml b/Cargo.toml index 7d5bcebde..c5552775e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Luca Palmieri ", "Lorenz Schmidt ", "Paul Körbitz ", - "Yuhan Lin " + "Yuhan Lin ", ] 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 diff --git a/algorithms/linfa-clustering/Cargo.toml b/algorithms/linfa-clustering/Cargo.toml index bd55815c6..c01d71211 100644 --- a/algorithms/linfa-clustering/Cargo.toml +++ b/algorithms/linfa-clustering/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" authors = [ "Luca Palmieri ", "xd009642 ", - "Rémi Lafage " + "Rémi Lafage ", ] description = "A collection of clustering algorithms" license = "MIT OR Apache-2.0" @@ -13,7 +13,13 @@ 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" diff --git a/algorithms/linfa-elasticnet/Cargo.toml b/algorithms/linfa-elasticnet/Cargo.toml index 948fa1d75..923dd7c7e 100644 --- a/algorithms/linfa-elasticnet/Cargo.toml +++ b/algorithms/linfa-elasticnet/Cargo.toml @@ -3,7 +3,7 @@ name = "linfa-elasticnet" version = "0.7.0" authors = [ "Paul Körbitz / Google ", - "Lorenz Schmidt " + "Lorenz Schmidt ", ] 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" diff --git a/algorithms/linfa-ftrl/Cargo.toml b/algorithms/linfa-ftrl/Cargo.toml index c065bbeb3..1b8abbb87 100644 --- a/algorithms/linfa-ftrl/Cargo.toml +++ b/algorithms/linfa-ftrl/Cargo.toml @@ -24,20 +24,22 @@ version = "1.0" features = ["derive"] [dependencies] -ndarray = { version = "0.15.4", features = ["serde"]} +ndarray = { version = "0.15.4", features = ["serde"] } ndarray-rand = "0.14.0" -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" rand = "0.8.5" rand_xoshiro = "0.6.0" -linfa = { version = "0.7.0", path = "../.."} +linfa = { version = "0.7.0", path = "../.." } [dev-dependencies] criterion = "0.4.0" approx = "0.4" -linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["winequality"] } +linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ + "winequality", +] } linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] } [[bench]] diff --git a/algorithms/linfa-ica/Cargo.toml b/algorithms/linfa-ica/Cargo.toml index 64d0ccc81..8ff7bf194 100644 --- a/algorithms/linfa-ica/Cargo.toml +++ b/algorithms/linfa-ica/Cargo.toml @@ -27,7 +27,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.15" } 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" diff --git a/algorithms/linfa-linear/Cargo.toml b/algorithms/linfa-linear/Cargo.toml index e4c285720..0dff35144 100644 --- a/algorithms/linfa-linear/Cargo.toml +++ b/algorithms/linfa-linear/Cargo.toml @@ -3,7 +3,7 @@ name = "linfa-linear" version = "0.7.0" authors = [ "Paul Körbitz / Google ", - "VasanthakumarV " + "VasanthakumarV ", ] 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"] } diff --git a/algorithms/linfa-logistic/Cargo.toml b/algorithms/linfa-logistic/Cargo.toml index a207676c3..faf81bab5 100644 --- a/algorithms/linfa-logistic/Cargo.toml +++ b/algorithms/linfa-logistic/Cargo.toml @@ -26,7 +26,7 @@ version = "1.0" ndarray = { version = "0.15", features = ["approx"] } ndarray-stats = "0.5.0" 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" @@ -35,5 +35,7 @@ linfa = { version = "0.7.0", path = "../.." } [dev-dependencies] approx = "0.4" -linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["winequality"] } +linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ + "winequality", +] } rmp-serde = "1" diff --git a/algorithms/linfa-pls/Cargo.toml b/algorithms/linfa-pls/Cargo.toml index 4cf09001c..d582eb79a 100644 --- a/algorithms/linfa-pls/Cargo.toml +++ b/algorithms/linfa-pls/Cargo.toml @@ -27,7 +27,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.15" } linfa-linalg = { version = "0.1", default-features = false } -ndarray-linalg = { version = "0.15", optional = true } +ndarray-linalg = { version = "0.16", optional = true } ndarray-stats = "0.5" ndarray-rand = "0.14" num-traits = "0.2" @@ -37,7 +37,9 @@ linfa = { version = "0.7.0", path = "../.." } [dev-dependencies] linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] } -linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["linnerud"] } +linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ + "linnerud", +] } approx = "0.4" rand_xoshiro = "0.6" criterion = "0.4.0" diff --git a/algorithms/linfa-preprocessing/Cargo.toml b/algorithms/linfa-preprocessing/Cargo.toml index c2e6aa152..6f9687aa8 100644 --- a/algorithms/linfa-preprocessing/Cargo.toml +++ b/algorithms/linfa-preprocessing/Cargo.toml @@ -20,7 +20,7 @@ serde = ["serde_crate", "ndarray/serde", "serde_regex"] [dependencies] linfa = { version = "0.7.0", path = "../.." } ndarray = { version = "0.15", features = ["approx"] } -ndarray-linalg = { version = "0.15", optional = true } +ndarray-linalg = { version = "0.16", optional = true } linfa-linalg = { version = "0.1", default-features = false } ndarray-stats = "0.5" thiserror = "1.0" @@ -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.0", default-features = false } serde_regex = { version = "1.1", optional = true } @@ -41,9 +41,12 @@ default-features = false features = ["std", "derive"] [dev-dependencies] -linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["diabetes", "winequality"] } +linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ + "diabetes", + "winequality", +] } linfa-bayes = { version = "0.7.0", path = "../linfa-bayes" } -iai = "0.1" +iai = "0.1" curl = "0.4.35" flate2 = "1.0.20" tar = "0.4.33" @@ -65,4 +68,4 @@ harness = false [[bench]] name = "norm_scaler_bench" -harness = false \ No newline at end of file +harness = false diff --git a/algorithms/linfa-reduction/Cargo.toml b/algorithms/linfa-reduction/Cargo.toml index de78f1f83..9e99889c5 100644 --- a/algorithms/linfa-reduction/Cargo.toml +++ b/algorithms/linfa-reduction/Cargo.toml @@ -9,7 +9,13 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/rust-ml/linfa" readme = "README.md" -keywords = ["reduction", "machine-learning", "linfa", "spectral", "unsupervised"] +keywords = [ + "reduction", + "machine-learning", + "linfa", + "spectral", + "unsupervised", +] categories = ["algorithms", "mathematics", "science"] [features] @@ -27,7 +33,7 @@ features = ["std", "derive"] [dependencies] ndarray = { version = "0.15", features = ["approx"] } linfa-linalg = { version = "0.1" } -ndarray-linalg = { version = "0.15", optional = true } +ndarray-linalg = { version = "0.16", optional = true } ndarray-rand = "0.14" num-traits = "0.2" thiserror = "1.0" @@ -38,5 +44,8 @@ linfa-kernel = { version = "0.7.0", path = "../linfa-kernel" } [dev-dependencies] ndarray-npy = { version = "0.8", default-features = false } -linfa-datasets = { version = "0.7.0", path = "../../datasets", features = ["iris", "generate"] } +linfa-datasets = { version = "0.7.0", path = "../../datasets", features = [ + "iris", + "generate", +] } approx = { version = "0.4" }