[英]Force single-threaded ANN training
I have a BasicNetwork
that I will use in ensemble learning. 我有一个
BasicNetwork
,我将用于整体学习。 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? 我很欣赏Encog默认用于神经网络的多线程培训,但是如何配置网络或培训师仅在单个线程上进行培训?
In Encog 3.3, you can use the setThreadCount
method like this 在Encog 3.3中,您可以像这样使用
setThreadCount
方法
Propagation train = new Propagation(network,data);
train.setThreadCount(1);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.