neataptic icon indicating copy to clipboard operation
neataptic copied to clipboard

Feature request: multi threading in node

Open Mcilie opened this issue 6 years ago • 2 comments

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?

Mcilie avatar Aug 14 '18 20:08 Mcilie

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

Not sure about training.

jmbartho avatar Aug 25 '18 16:08 jmbartho

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 ..

ghost avatar Aug 26 '18 10:08 ghost