3 ms·
How much of the book requires Erlang or focuses on that language's features, and how much can be generalized to other languages?
by hellofunk 8y ago
How much of the book requires Erlang or focuses on that language's features, and how much can be generalized to other languages?
- fractallyte 8y agoThe book relies on Erlang's unique features. In Sher's words: "Erlang was created to develop distributed, process based, message passing paradigm oriented, robust, fault tolerant, concurrent systems. All of these features are exactly what a programming language created specifically for developing neural network based systems would have." If another language can do that (Go, perhaps?), I suppose the code can be made to work adequately.
- eggy 8y agoI have worked through it in Erlang, but others have tried to translate it to LFE (Lisp Flavoured Erlang) and Elixir. It's still relying on the Erlang ecosystem.
- guskel 8y agoModeling each neuron in an NN as a process is incredibly computationally wasteful, and we often see this in Neuroevolution implementations where neurons are represented as objects. It's clear from advances in DL that neurons and weights should be represented by matrices. I've never given much credence to Sher's book because of this. Switching to Erlang just isn't necessary given current techniques.
- plainOldText 8y agoHow about using Erlang because it provides fault tolerance, and any faults resulting during the neuroevolutionary process will be contained and won't bring down the whole system? Or evolving groups of neurons in parallel, and across a distributed cluster? These things are much easier in Erlang.