Dendritic
Dendrite is a general purpose supervised/un-supervised machine learning library written for the rust ecosystem. It contains the required data structures & algorithms needed for general machine learning. It acts as core library with packages for predictive data modeling.
Disclaimer
The dendritic project is a toy machine learning library built for learning and research purposes. It is not advised by the maintainer to use this library as a production ready machine learning library. This is a project that is still very much a work in progress.
Published Packages
| Rust Crate | Description |
|---|---|
dendritic_autodiff |
Autodifferentiation crate for backward and forward operations |
dendritic_bayes |
Bayesian statistics package |
dendritic_clustering |
Clustering package utilizing various distance metrics |
dendritic_datasets |
Combination of lasso and ridge regression |
dendritic_knn |
K Nearest Neighbors for regression and classification |
dendritic_metrics |
Metrics package for measuring loss and activiation functions for non linear boundaries |
dendritic_models |
Pre-trained models for testing dendritic functionality |
dendritic_ndarray |
N Dimensional array library for numerical computing |
dendritic_preprocessing |
Preprocessing library for normalization and encoding of data |
dendritic_regression |
Regression package for linear modeling & multi class classification |
dendritic_trees |
Tree based models using decision trees and random forests |
Building The Dendritic Packages
Dendritic is made up of multiple indepedent packages that can be built separatley.
To install a package, add the following to your Cargo.toml file.
[]
# Assume that version Dendritic version 1.1.0 is used.
= { = "1.1.0", = ["bundled"] }
Example IRIS Flowers Prediction
Down below is an example of using a multi class logstic regression model on the well known iris flowers dataset.
For more examples, refer to the dendritic-models/src/main.rs file.
use *;
use *;
use *;
use *;
use *;