Skip to content

[K-means] Upgrade dependencies in Cargo.toml, add README.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Oct 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ee83e62
Scaffolding
LukeMathWalker Aug 6, 2019
4e4692a
Started the implementation. Blocked by ndarray-stats issue on data ow…
LukeMathWalker Aug 6, 2019
0215456
Point to fork of ndarray-stats to make code compile
LukeMathWalker Aug 6, 2019
1165390
Drop unneeded dependencies
LukeMathWalker Aug 6, 2019
1a45837
Initialisation complete
LukeMathWalker Aug 6, 2019
1def653
Add input check, clean iterator code
LukeMathWalker Aug 6, 2019
e8240ed
Merge branch 'master' into k-means
LukeMathWalker Aug 12, 2019
4a51979
Fix compilation errors
LukeMathWalker Sep 21, 2019
d2ce037
Update docs
LukeMathWalker Sep 21, 2019
c3b80a0
Add training loop and naive convergence condition
LukeMathWalker Sep 21, 2019
698ae8e
Put together somethings that can be run
LukeMathWalker Sep 21, 2019
0ec1f3e
It works, more or less
LukeMathWalker Sep 21, 2019
2da2b25
Working!
LukeMathWalker Sep 21, 2019
f4e0bd3
Add comments
LukeMathWalker Sep 21, 2019
dca79a0
Make it fast for the CI run
LukeMathWalker Sep 21, 2019
938522c
Fmt
LukeMathWalker Sep 21, 2019
bd9db67
Adding comments
LukeMathWalker Sep 21, 2019
c6b2e22
Add comments
LukeMathWalker Sep 21, 2019
cc7de5d
Add comments
LukeMathWalker Sep 21, 2019
0f9c482
Refactor to get a simpler function, update rand
LukeMathWalker Sep 21, 2019
20e109f
Avoid deprecation warning
LukeMathWalker Sep 21, 2019
0f96255
Use master branch of ndarray-rand
LukeMathWalker Sep 21, 2019
4735174
Add to README
LukeMathWalker Sep 21, 2019
e279f4c
Add micro README
LukeMathWalker Sep 22, 2019
34691a8
Update dependencies
LukeMathWalker Oct 6, 2019
74c31eb
Merge
LukeMathWalker Oct 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions k_means/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
workspace = ".."

[dependencies]
ndarray = {version = "0.12"}
ndarray-stats = {git = "https://github.com/LukeMathWalker/ndarray-stats", branch = "master"}
ndarray-rand = "0.10"
ndarray = {version = "0.13"}
ndarray-stats = "0.3"
ndarray-rand = "0.11"
rand = "0.7"
9 changes: 9 additions & 0 deletions k_means/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
K-Means
=======

An implementation of K-Means clustering using the [standard algorithm](https://en.wikipedia.org/wiki/K-means_clustering).

You can run the example using
```sh
cargo run
```