Crates.io | rustic_ml |
lib.rs | rustic_ml |
version | 0.0.3 |
source | src |
created_at | 2024-05-25 18:09:29.621762 |
updated_at | 2024-10-03 19:13:55.664917 |
description | A machine learning library created from scratch with Rust. |
homepage | |
repository | https://github.com/KjetilIN/rustic_ml |
max_upload_size | |
id | 1252113 |
size | 208,081 |
A machine learning library created from scratch
Created by Kjetil Indrehus
rustic_ml
is a machine learning library designed to be easy to use, and give the developer a flexible API to work with.
This library is built of first principles, and the goal is to avoid any dependencies.
⚠️ This library is in the prototype stage. Breaking changes can happen.
The library includes the following key features:
Matrix
implementationDataframe
implementationPerceptron
binary classifierrustic_ml
has documentation on docs.rs. It will be very useful to read it through
https://docs.rs/rustic_ml/latest/rustic_ml/
Run the following Cargo command in your project directory:
cargo add rustic_ml
Or add it to the Cargo manifest. Make sure to pick the newest version:
[dependencies]
rustic_ml = "0.0.2"
Also see the ./examples/ folder for different examples. See also the specific use cases in the next section of the README file.
rustic_ml
has implemented the Perceptron
. It works well when you know your data is linearly separable.
In the example below, we use a Jupyter Notebook with Rust kernel. This makes it easy to build up models with Rust:
(See the full demo examples/notebook_binary_classification.ipynb
Coming soon!
Coming soon!
Coming soon!