rust-ndarray
nshare
Our great sponsors
rust-ndarray | nshare | |
---|---|---|
9 | 1 | |
2,212 | 15 | |
3.1% | - | |
7.7 | 5.4 | |
11 days ago | 4 months ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rust-ndarray
-
Rust or C/C++ to learn as a secondary language?
ndarray and numpy crates provide good way to operate on numpy ndarrays from python
-
Enzyme: Towards state-of-the-art AutoDiff in Rust
I don't think any of the major ML projects have GPU acceleration because ndarray doesn't support it.
-
Announcing Rust CUDA 0.2
Not sure about ndarray: https://github.com/rust-ndarray/ndarray/issues/840
-
Signal processing library
I used basic_dsp a while back and found it lacking. I was hoping to find something that uses the ndarray datatype but i'm not seeing this yet. If you're primarily trying to learn though it might not really matter which library you contribute to. As for myself, I just picked the one that was most used and actively worked on at the time. However I keep an eye out on other libraries; if I see something take off, I might switch over. Either way you'll learn and can point to it as work accomplished.
-
Searching help for Rust Image Manipulation
Most libraries use either an older C/C++ dynamically or statically. I was looking into maybe rewriting some image manipulation functions in Rust using ndarray (which would then allow for both hardware, gpu and multithreading acceleration), but it would take a very long to get fully into the subject.
-
Dumb question: I want to overload operators like add on structs, what is the name for what I'm trying to do?
The best way would to use a crate for this, such as ndarray, which provides some good ways to do this.
-
Making Maintaining Easier
First, let me explain a crate, where old dependencies do matter. There is one very handy crate called nshare. It's used for converting images into ndarrays. The libraries between nshare converts are regularly updated, for example to support new formats or to make the usage more convenient. If one writes a new software there could be conflicts in versions of ndarray (for example), so we make sure, that nshare is always up-to-date and works with the newest versions in order to build the best code on it. Another example could be everything cryptographic. If there would be a security issue with ring we really want every dependent to be updated.
-
Linfa has a website now!
well you can represent categorical values in `ndarray` for sure (even structured arrays [here](https://github.com/rust-ndarray/ndarray/issues/32)), but the memory has to be contiguous for BLAS/LAPACK and therefore it is impossible to mix continuous and categorical values. I was thinking that we could emulate categorical values with a descriptor field for the type of each feature and then just use floats to represent them.
-
ndarray: Apply along axis
ndarray Readme links to matrix https://github.com/rust-ndarray/ndarray
nshare
-
Making Maintaining Easier
First, let me explain a crate, where old dependencies do matter. There is one very handy crate called nshare. It's used for converting images into ndarrays. The libraries between nshare converts are regularly updated, for example to support new formats or to make the usage more convenient. If one writes a new software there could be conflicts in versions of ndarray (for example), so we make sure, that nshare is always up-to-date and works with the newest versions in order to build the best code on it. Another example could be everything cryptographic. If there would be a security issue with ring we really want every dependent to be updated.
What are some alternatives?
nalgebra - Linear algebra library for Rust.
image - Encoding and decoding images in Rust
neuronika - Tensors and dynamic neural networks in pure Rust.
dasp - The fundamentals for Digital Audio Signal Processing. Formerly `sample`.
utah - Dataframe structure and operations in Rust
linfa - A Rust machine learning framework.
Rust-CUDA - Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
rust-dsp - A library for sound Digital Signal Processing, written in Rust
PySCIPOpt - Python interface for the SCIP Optimization Suite
traceroute - Rust traceroute
fundsp - Audio DSP library featuring an inline graph notation for audio processing
ndarray-dsp - Digital Signal Processing algorithms on ndarray types