Skip to content

Commit 0749f53

Browse files
committed
update ndarray to 0.17
1 parent 7fe5c86 commit 0749f53

21 files changed

Lines changed: 131 additions & 115 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ rand = { version = "0.8", features = ["small_rng"] }
4242
approx = "0.5"
4343
getrandom = { version = "0.2", optional = true, features = ["js"] }
4444

45-
ndarray = { version = "0.16", features = ["approx"] }
46-
ndarray-linalg = { version = "0.17", optional = true }
47-
sprs = { version = "=0.11.2", default-features = false }
45+
ndarray = { version = "0.17", features = ["approx"] }
46+
ndarray-linalg = { version = "0.18", optional = true }
47+
sprs = { version = "0.11.4", default-features = false }
4848

4949
thiserror = "2.0"
5050

@@ -58,7 +58,7 @@ default-features = false
5858
features = ["std", "derive"]
5959

6060
[dev-dependencies]
61-
ndarray-rand = "0.15"
61+
ndarray-rand = "0.16"
6262
linfa-datasets = { path = "datasets", features = [
6363
"winequality",
6464
"iris",

algorithms/linfa-bayes/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ default-features = false
2121
features = ["std", "derive"]
2222

2323
[dependencies]
24-
ndarray = { version = "0.16", features = ["approx"] }
25-
ndarray-stats = "0.6"
24+
ndarray = { version = "0.17", features = ["approx"] }
25+
ndarray-stats = "0.7"
2626
thiserror = "2.0"
2727

2828
linfa = { version = "0.8.1", path = "../.." }

algorithms/linfa-clustering/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ default-features = false
3535
features = ["std", "derive"]
3636

3737
[dependencies]
38-
ndarray = { version = "0.16", features = ["rayon", "approx"] }
38+
ndarray = { version = "0.17", features = ["rayon", "approx"] }
3939
linfa-linalg = { version = "0.2", default-features = false }
40-
ndarray-linalg = { version = "0.17", optional = true }
41-
ndarray-rand = "0.15"
42-
ndarray-stats = "0.6"
40+
ndarray-linalg = { version = "0.18", optional = true }
41+
ndarray-rand = "0.16"
42+
ndarray-stats = "0.7"
4343
num-traits = "0.2"
44-
rand_xoshiro = "0.6"
44+
rand_xoshiro = "0.8"
4545
space = "0.19"
4646
thiserror = "2.0"
4747
linfa = { version = "0.8.1", path = "../.." }
4848
linfa-nn = { version = "0.8.1", path = "../linfa-nn" }
49-
noisy_float = "0.2.0"
49+
noisy_float = "0.2.1"
5050

5151
[dev-dependencies]
52-
ndarray-npy = { version = "0.9", default-features = false }
52+
ndarray-npy = { version = "0.10", default-features = false }
5353
linfa-datasets = { version = "0.8.1", path = "../../datasets", features = [
5454
"generate",
5555
] }

algorithms/linfa-elasticnet/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ default-features = false
2929
features = ["std", "derive"]
3030

3131
[dependencies]
32-
ndarray = { version = "0.16", features = ["approx"] }
32+
ndarray = { version = "0.17", features = ["approx"] }
3333
linfa-linalg = { version = "0.2", default-features = false }
34-
ndarray-linalg = { version = "0.17", optional = true }
34+
ndarray-linalg = { version = "0.18", optional = true }
3535

3636
num-traits = "0.2"
3737
approx = "0.5"
@@ -44,5 +44,5 @@ linfa-datasets = { version = "0.8.1", path = "../../datasets", features = [
4444
"diabetes",
4545
"linnerud",
4646
] }
47-
ndarray-rand = "0.15"
47+
ndarray-rand = "0.16"
4848
rand_xoshiro = "0.6"

algorithms/linfa-ensemble/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ default-features = false
2727
features = ["std", "derive"]
2828

2929
[dependencies]
30-
ndarray = { version = "0.16", features = ["rayon", "approx"] }
31-
ndarray-rand = "0.15"
30+
ndarray = { version = "0.17", features = ["rayon", "approx"] }
31+
ndarray-rand = "0.16"
3232
rand = "0.8.5"
3333

3434
linfa = { version = "0.8.1", path = "../.." }

algorithms/linfa-ftrl/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ version = "1.0"
2424
features = ["derive"]
2525

2626
[dependencies]
27-
ndarray = { version = "0.16", features = ["serde"] }
28-
ndarray-rand = "0.15.0"
27+
ndarray = { version = "0.17", features = ["serde"] }
28+
ndarray-rand = "0.16.0"
2929
argmin = { version = "0.11.0", default-features = false }
3030
argmin-math = { version = "0.5", features = ["ndarray_v0_16-nolinalg"] }
3131
thiserror = "2.0"

algorithms/linfa-hierarchical/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ keywords = [
2020
categories = ["algorithms", "mathematics", "science"]
2121

2222
[dependencies]
23-
ndarray = { version = "0.16" }
23+
ndarray = { version = "0.17" }
2424
kodama = "0.2"
2525
thiserror = "2"
2626

@@ -29,7 +29,7 @@ linfa-kernel = { version = "0.8.1", path = "../linfa-kernel" }
2929

3030
[dev-dependencies]
3131
rand = "0.8"
32-
ndarray-rand = "0.15"
32+
ndarray-rand = "0.16"
3333
linfa-datasets = { version = "0.8.1", path = "../../datasets", features = [
3434
"iris",
3535
] }

algorithms/linfa-ica/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ default-features = false
2525
features = ["std", "derive"]
2626

2727
[dependencies]
28-
ndarray = { version = "0.16" }
28+
ndarray = { version = "0.17" }
2929
linfa-linalg = { version = "0.2", default-features = false }
30-
ndarray-linalg = { version = "0.17", optional = true }
31-
ndarray-rand = "0.15"
32-
ndarray-stats = "0.6"
30+
ndarray-linalg = { version = "0.18", optional = true }
31+
ndarray-rand = "0.16"
32+
ndarray-stats = "0.7"
3333
num-traits = "0.2"
3434
rand_xoshiro = "0.6"
3535
thiserror = "2.0"
3636

3737
linfa = { version = "0.8.1", path = "../.." }
3838

3939
[dev-dependencies]
40-
ndarray-npy = { version = "0.9", default-features = false }
40+
ndarray-npy = { version = "0.10", default-features = false }
4141
paste = "1.0"
4242
criterion = "0.5"
4343
linfa = { version = "0.8.1", path = "../..", features = ["benchmarks"] }

algorithms/linfa-kernel/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ default-features = false
2424
features = ["std", "derive"]
2525

2626
[dependencies]
27-
ndarray = "0.16"
27+
ndarray = "0.17"
2828
num-traits = "0.2"
29-
sprs = { version = "=0.11.2", default-features = false }
29+
sprs = { version = "0.11.4", default-features = false }
3030

3131
linfa = { version = "0.8.1", path = "../.." }
3232
linfa-nn = { version = "0.8.1", path = "../linfa-nn" }

algorithms/linfa-lars/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ features = ["std", "derive"]
2828
linfa = { version = "0.8.1", path = "../.." }
2929
linfa-linalg = { version = "0.2", default-features = false }
3030
linfa-preprocessing = { version = "0.8.1", path = "../linfa-preprocessing"}
31-
ndarray = { version = "0.16", features = ["approx"] }
32-
ndarray-linalg = { version = "0.17", optional = true }
33-
ndarray-stats = "0.6"
31+
ndarray = { version = "0.17", features = ["approx"] }
32+
ndarray-linalg = { version = "0.18", optional = true }
33+
ndarray-stats = "0.7"
3434
thiserror = "2.0"
3535

3636
[dev-dependencies]
3737
linfa-datasets = { version = "0.8.1", path = "../../datasets", features = [
3838
"diabetes",
3939
] }
4040
approx = "0.5"
41-
ndarray-rand = "0.15"
41+
ndarray-rand = "0.16"
4242
rand_xoshiro = "0.6"

0 commit comments

Comments
 (0)