rustler_precompiled
scholar
rustler_precompiled | scholar | |
---|---|---|
3 | 5 | |
169 | 345 | |
- | 2.0% | |
5.8 | 8.7 | |
2 months ago | 12 days ago | |
Elixir | Elixir | |
- | Apache License 2.0 |
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.
rustler_precompiled
-
Write Elixir NIFs in Rust
It's not a pain because of
https://github.com/philss/rustler_precompiled
The users of your library doesn't have to install anything. The library will seem like any Elixir library when they use it.
-
PasswordRs 0.1.0 released (Rust NIF for password hashing)
I created a elixir (wrapper) library to generate password hashes. Other Elixir libraries use a C NIF to generate password hashes. This libary uses a Rust NIF (using Rustler) and the Rust libraries the generate the different hashes. Additionally this library uses RustlerPrecompiled so you don't need to have a Rust compiler installed to use this library. It supports argon2, scrypt, brypt and pbkdf2.
-
Data wrangling in Elixir with Explorer, the power of Rust, the elegance of R
We use the excellent Rustler Precompiled [1] library now so prebuilt binaries ship with the Elixir package. No Rust toolchain needed. :)
[1] https://github.com/philss/rustler_precompiled
scholar
-
Data wrangling in Elixir with Explorer, the power of Rust, the elegance of R
José from the Livebook team. I don't think I can make a pitch because I have limited Python/R experience to use as reference.
My suggestion is for you to give it a try for a day or two and see what you think. I am pretty sure you will find weak spots and I would be very happy to hear any feedback you may have. You can find my email on my GitHub profile (same username).
In general we have grown a lot since the Numerical Elixir effort started two years ago. Here are the main building blocks:
* Nx (https://github.com/elixir-nx/nx/tree/main/nx#readme): equivalent to Numpy, deeply inspired by JAX. Runs on both CPU and GPU via Google XLA (also used by JAX/Tensorflow) and supports tensor serving out of the box
* Axon (https://github.com/elixir-nx/axon): Nx-powered neural networks
* Bumblebee (https://github.com/elixir-nx/bumblebee): Equivalent to HuggingFace Transformers. We have implemented several models and that's what powers the Machine Learning integration in Livebook (see the announcement for more info: https://news.livebook.dev/announcing-bumblebee-gpt2-stable-d...)
* Explorer (https://github.com/elixir-nx/explorer): Series and DataFrames, as per this thread.
* Scholar (https://github.com/elixir-nx/scholar): Nx-based traditional Machine Learning. This one is the most recent effort of them all. We are treading the same path as scikit-learn but quite early on. However, because we are built on Nx, everything is derivable, GPU-ready, distributable, etc.
Regarding visualization, we have "smart cells" for VegaLite and MapLibre, similar to how we did "Data Transformations" in the video above. They help you get started with your visualizations and you can jump deep into the code if necessary.
I hope this helps!
- Scholar: Traditional machine learning for Elixir on top of Nx
- Does Elixir have an alternative to Scikit Learn?
- Bumblebee: GPT2, Stable Diffusion, and More in Elixir
-
XL-ML: Native ML Algorithms for Elixir
We have recently started a similar effort on the Scholar package inside the Elixir Nx. Our goal is to fill in the gap of sklearn. For instance, here is a PR for KNN: https://github.com/elixir-nx/scholar/pull/21
What are some alternatives?
bumblebee - Pre-trained Neural Network models in Axon (+ 🤗 Models integration)
nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir
axon - Nx-powered Neural Networks
zigler - zig nifs in elixir
nx_signal - DSP with Elixir Nx
password-hashes - Password hashing functions / KDFs
explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir
ractor - Rust actor framework
livebook - Automate code & data workflows with interactive Elixir notebooks