如何使用Encog预测时间序列之前的两个值?

时间:2017-10-27 21:02:57

标签: neural-network time-series encog

如何使用Encog预测时间序列之前的两个值? 使用NN(Encog)预测两个值。是否正确创建具有2个神经元的outpute层?

BasicNetwork network = new BasicNetwork();
network.addLayer(new BasicLayer(null, true, 12));
network.addLayer(new BasicLayer(new ActivationSigmoid(),true,  numNeuOcultos));
network.addLayer(new BasicLayer(new ActivationSigmoid(),false,2)); <-HERE
network.getStructure().finalizeStructure();
network.reset();

0 个答案:

没有答案