Simon Kuang
Simon Kuang

Reputation: 3940

Force single-threaded ANN training

I have a BasicNetwork that I will use in ensemble learning. I appreciate Encog's multithreaded training that it uses by default for neural networks, but how can I configure the network or the trainer to train on a single thread only?

Upvotes: 3

Views: 179

Answers (1)

Ortomala Lokni
Ortomala Lokni

Reputation: 62496

In Encog 3.3, you can use the setThreadCount method like this

Propagation train = new Propagation(network,data);
train.setThreadCount(1);

Upvotes: 2

Related Questions