我使用神经网络来预测使用java和encog库的时间序列值。当我将此代码添加到我的程序时
int epoch = 1;
do {
train.iteration();
System.out.println("Epoch #" + epoch + " Error:" + train.getError());
epoch++;
} while (train.getError() > 0.01);
train.finishTraining();
我有这个错误报告:
线程中的异常" main" org.encog.EncogError:java.lang.NoSuchMethodError:org.encog.engine.network.activation.ActivationFunction.derivativeFunction(DD)D at org.encog.neural.networks.training.propagation.Propagation.iteration(Propagation.java: 227)atot.encog.neural.networks.training.propagation.Propagation.iteration(Propagation.java:178)at iot.IoT.main(IoT.java:127)引起:java.lang.NoSuchMethodError:org.encog位于org.encog.neural.networks.training.propagation的org.encog.neural.networks.training.propagation.GradientWorker.process(GradientWorker.java:210)中的.engine.network.activation.ActivationFunction.derivativeFunction(DD)D。 GradientWorker.run(GradientWorker.java:266)位于org.encog.neural上的org.encog.neural.networks.training.propagation.Propagation.calculateGradients(Propagation.java:302)。(adag.encog.neural.networks.training.propagation.Propagation.iteration) Propagation.java:206)..2 more
Iam坚持了大约一个星期而且我无法克服它。请问我需要帮助,但是我的方式也是如此。请,我需要帮助