3

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?

Ortomala Lokni
  • 56,620
  • 24
  • 188
  • 240
Simon Kuang
  • 3,870
  • 4
  • 27
  • 53

1 Answers1

2

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

Propagation train = new Propagation(network,data);
train.setThreadCount(1);
Ortomala Lokni
  • 56,620
  • 24
  • 188
  • 240