Skip to content
/ rust-knn Public

Classifies irises into one of 3 species: Setosa, Versicolor, Virginica.

License

Notifications You must be signed in to change notification settings

Siiir/rust-knn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

knn

Implementation of k nearest neighbours with use case.

Contest

The library

is an implementation of k nearest neighbours algorithm.

The app

is an iris classifier using the library.

Download

  1. git clone https://github.com/Siiir/rust-knn

Run

  1. cd rust-knn
  2. cat ./data/unclassified_irises.csv | cargo run --release

Above approach requires

  1. cargo that is usually installed with rustup

Help (passing arguments to app)

You can also pass arguments to the app after --, which is cargo's way to separate cargo args from app args.
Try: cargo r -r -- --help

Documentation

Documentation of functions other than main.

About

Classifies irises into one of 3 species: Setosa, Versicolor, Virginica.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages