dendritic

Crates.iodendritic
lib.rsdendritic
version2.2.0
created_at2024-10-28 12:39:11.920739+00
updated_at2025-08-31 23:07:14.752757+00
descriptionIterative Optimization Library
homepagehttps://github.com/shaysingh818/Dendritic
repositoryhttps://github.com/shaysingh818/Dendritic
max_upload_size
id1425578
size219,179
Shay (shaysingh818)

documentation

https://docs.rs/dendritic

README

Dendritic

Downloads Build Status dependency status codecov Latest Version Docs

Dendritic is a lightweight and extensible optimization library built with flexibility in mind. Contains utilities for first order optimization with multi variate/vector valued functions using ndarray. This crate aims to contain extensible interfaces for common abstractions in optimization & machine learning problems.

🚀 Features

  • 📐 Auto-Differentiation: Reverse-mode autodiff for computing gradients using ndarray.
  • ⚙️ Optimizers: Built-in optimizers like SGD, Adam etc.
  • 📈 Regression Models: Traditional regression models (Linear, Logistic)
  • 🔣 Preprocessing: Lightweight utilities for common preprocessing tasks (e.g., one-hot encoding).
  • 🧱 Modular: Designed to be flexible and easy to extend for research or custom pipelines.

Future Enhancements

There are more features on the roadmap for this crate, v2 of this crate was a redesign of the crate structure and honing in on features that are more aligned with common abstractions in optimization theory. Down below are some ideas for future features that will be incorporated into this crate.

Feature Description
Second Order Optimization Using newton/secant methods that leverage the second derivative for faster convergence.
Population Methods Algorithms that involve a "population" of design points to iterate on and converge towards. Genetic algorithms etc.
Zero Order Methods Optimization methods that don't rely on the first or second derivative for finding the local max or minimum.
Commit count: 245

cargo fmt