You should have no hope that this will be useful to you.
But you are free to try if you wish.
$ cargo build --release
$ ./target/release/knn data/test1.knn 5 data/test1-k5.knn
- remove the call to
viz.sort_by
insidepredict
, use a simple round of insertion sort instead - improve naming