AstonJ

AstonJ

What can Elixir Nx be used for? (split thread)

What do you think Nx can be used for or what the most likely or most used use-cases might be?

Most Liked

polvalente

polvalente

Nx Core Team

Here are a few that I could think of which we already have in the ecosystem:

  1. Classical signal processing, like what NxSignal implements
  2. General numerical calculus, not only matrix math – although @sodapopcan has an example. Integrator is such an example, and you could even use that one to finish off this circuit sim I started porting in early Nx days.
  3. Scholar also has non-ML stuff like interpolation algorithms, and some things which you could say are pre-ML statistics like Linear and Logistic Regression. The latter ones are a bit on the frontier because ML in the end is just statistics with another name.

These are a few areas that came to mind, but my main point is that ML to me is more related to statistics and stochastic processing, but you can use Nx for most use cases that require number crunching.

sodapopcan

sodapopcan

It’s handy for plain ol’ matrix math (I say that like I’m an expert—I’m not :upside_down_face: ). Image uses it in some non-ML ways, like for warp perspective, though it does use it for ML stuff as well.

Where Next?

Popular in Questions Top

joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54921 245
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement