The Rust ecosystem is full of a data structure implementations that may be useful in machine learning. You can find multi-dimensional arrays, matrices, graphs, and a large list of tree libraries.
num has emerged as a de facto choice for numerical types, and a few other crates listed here show promise, but most ML frameworks have opted to implement their own data structures, so it’s too early to answer affirmatively to “Are we numpy yet?”
The list below is still lacking, so for more specific data structures don’t forget to search crates.io.
A bioinformatics library for Rust. This library provides implementations of many algorithms and data structures that are useful for bioinformatics, but also in other fields.
An N-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting.
Graph data structure library. Provides graph types and graph algorithms.
A collection of numeric types and traits for Rust, including bigint, complex, rational, range iterators, generic integers, and more!
A sparse matrix library
A directed acyclic graph data structure library. It is Implemented on top of petgraph's Graph data structure and attempts to follow similar conventions where suitable.
dataframe structure and operations
N-dimensional matrix class for Rust
Rust Data Science
N-dimensional dense arrays.
A fast BVH using SAH
A roulette wheel selection collection, used in genetic algorithm for fitness proportionate selection.