-
-
Notifications
You must be signed in to change notification settings - Fork 256
/
Cargo.toml
72 lines (63 loc) · 1.69 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "linfa-clustering"
version = "0.7.0"
edition = "2018"
authors = [
"Luca Palmieri <[email protected]>",
"xd009642 <[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",
]
categories = ["algorithms", "mathematics", "science"]
[features]
default = []
serde = ["serde_crate", "ndarray/serde", "linfa-nn/serde"]
[dependencies.serde_crate]
package = "serde"
optional = true
version = "1.0"
default-features = false
features = ["std", "derive"]
[dependencies]
ndarray = { version = "0.15", features = ["rayon", "approx"] }
linfa-linalg = { version = "0.1", default-features = false }
ndarray-linalg = { version = "0.16", optional = true }
ndarray-rand = "0.14"
ndarray-stats = "0.5"
num-traits = "0.2"
rand_xoshiro = "0.6"
space = "0.12"
thiserror = "1.0"
#partitions = "0.2.4" This one will break in a future version of Rust and has no replacement
linfa = { version = "0.7.0", path = "../.." }
linfa-nn = { version = "0.7.0", path = "../linfa-nn" }
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",
] }
criterion = "0.4.0"
serde_json = "1"
approx = "0.4"
lax = "0.15.0"
linfa = { version = "0.7.0", path = "../..", features = ["benchmarks"] }
[[bench]]
name = "k_means"
harness = false
[[bench]]
name = "dbscan"
harness = false
[[bench]]
name = "gaussian_mixture"
harness = false