wagenaartje / neataptic

:rocket: Blazing fast neuro-evolution & backpropagation for the browser and Node.js
https://wagenaartje.github.io/neataptic/
Other
1.18k stars 278 forks source link

Feature request: multi threading in node #140

Open Mcilie opened 6 years ago

Mcilie commented 6 years ago

for more complex AI's and now that node.js is slowly starting to support multi-threading and parallel processing, is there any plan in the future for neataptic to parallelize and use these features to speed up training?

jmbartho commented 6 years ago

Multi-threading is supported for evolve(). Mine's running on 16 threads right now.

Not sure about training.

ghost commented 6 years ago

You may want to run your AI in a swarm, which means to run several instances of your AI in parallel and average their result to get a better prediction rate. Usually a swarm of 8 gives much better results and you already use 8 cores that way ..