Rust для машинного обучения - библиотека

Материал из support.qbpro.ru

ВВЕДЕНИЕ

Эта статья содержит список библиотек машинного обучения, написанных на Rust.
Представляет собой сборник репозиториев GitHub, блогов, книг, уроков, форумов, статей.
Статья разбита на несколько основных категорий библиотек и алгоритмов. В статье нет библиотек, которые больше не поддерживаются, а так же почти нет небольших библиотек, которые давно не обновлялись.

ЛИНЕЙНАЯ АЛГЕБРА

  • Большинство пакетов в списке используют ndarray или std::vec.

ИНСТРУМЕНТЫ ПОДДЕРЖКИ

Jupyter Notebook

evcxr может обрабатывать как Jupyter Kernel или REPL. Эти библиотеки нужны для обучения алгоритмов и проверки гипотез машинного обучения.

google/evcxr - оценки моделей для Rust. emakryo/rustdef - Jupyter расширение для rust. murarth/rusti - REPL библиотека для Rust

РАБОТА С ВИЗУАЛИЗАЦИЕЙ

Список полезных ресурсов для визуализации данных.

38/plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely igiagkiozis/plotly - Plotly for Rust milliams/plotlib - Data plotting library for Rust tiby312/poloto - A simple 2D plotting library that outputs graphs to SVG that can be styled using CSS. askanium/rustplotlib - A pure Rust visualization library inspired by D3.js SiegeLord/RustGnuplot - A Rust library for drawing plots, powered by Gnuplot. saona-raimundo/preexplorer - Externalize easily the plotting process from Rust to gnuplot. procyon-rs/vega_lite_4.rs - rust api for vega-lite v4procyon-rs/showata - A library of to show data (in browser, evcxr_jupyter) as table, chart... coder543/dataplotlib - Scientific plotting library for Rust shahinrostami/chord_rs - Rust crate for creating beautiful interactive Chord Diagrams. Pro version available at https://m8.fyi/chord ASCII line graph:

loony-bean/textplots-rs Terminal plotting library for Rust orhanbalci/rasciigraph Zero dependency Rust crate to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. jakobhellermann/piechart a rust crate for drawing fancy pie charts in the terminal milliams/plot Command-line plotting tool written in Rust

  • Examples:

Plotters Developer's Guide - Plotter Developer's Guide https://plotters-rs.github.io/book/intro/introduction.html Plotly.rs - Plotly.rs Book https://igiagkiozis.github.io/plotly/content/plotly_rs.html petgraph_review https://timothy.hobbs.cz/rust-play/petgraph_review.html evcxr-jupyter-integration https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html Rust for Data Science: Tutorial 1 - DEV Community https://dev.to/davidedelpapa/rust-for-data-science-tutorial-1-4g5j Preface | Data Crayon https://datacrayon.com/posts/programming/rust-notebooks/preface/

  • Датафреймы:

ritchie46/polars - Rust датафреймы library apache/arrow - In-memory columnar format, in Rust. apache/arrow-datafusion - Apache Arrow DataFusion and Ballista query engines milesgranger/black-jack - DataFrame / Series data processing in Rust nevi-me/rust-dataframe - A Rust DataFrame implementation, built on Apache Arrow kernelmachine/utah - Dataframe structure and operations in Rust sinhrks/brassfibre - Provides multiple-dtype columner storage, known as DataFrame in pandas/R

ОБРАБОТКА ИЗОБРАЖЕНИЙ

Для обработка изображений вам стоит попробовать либу image-rs. Здесь приведены Такие алгоритмы, как линейные преобразования, реализованы и в других библиотеках.

image-rs/image - Encoding and dec

ИСТОЧНИКИ