4 ms·
Ask HN: Can the following algorithm (written in Elixir) have applications in ML?
- djaouen 3y agoThe algorithm I programmed is basically a "shortest path from source to sink through layers" algorithm. I originally coded it in LFE, but Elixir has a Parallel Stream library I was able to leverage. I know that Machine Learning uses neural layers in its training methods, so does this algorithm potentially have uses in ML? Thanks!
- janalsncm 3y agoI’m not familiar with Elixir but I am an ML engineer. In a neural network training, the goal is to optimize the parameters such that the result is closest to what we want them to be. For example, we might want a model which can predict a continuous variable (like the price of a house) given a set of input variables. When we actually compute the values of the neural network, it amounts to a large number of matrix multiplications. In fact we do parallelize this on a GPU. The thing we are trying to optimize is to minimize the loss, but it has less to do with finding a short path through the neural network layers.
- djaouen 3y agoThanks, that clarifies things for me. Oh well. It was fun to program, though!