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?
In Encog 3.3, you can use the setThreadCount method like this
Propagation train = new Propagation(network,data);
train.setThreadCount(1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With