我试图在Python中创建自回归神经网络(NARX)。我只能找到一个图书馆的PyNeurgen。但我无法找到任何示例程序来使用它。利用网络对时间序列进行训练和预测。如果有人可以分享如何使用网络训练和预测时间序列。或者是否还有任何其他好的NARX库。
发布于 2016-12-19 11:15:39
查看教程:nn.html,您可以在这里找到testcase:graphs.py
...
from pyneurgen.recurrent import NARXRecurrent
...
# NARXRecurrent
input_nodes = 2
hidden_nodes = 2
output_nodes = 2
output_order = 3
incoming_weight_from_output = .6
input_order = 2
incoming_weight_from_input = .4
net = NeuralNet()
net.init_layers(input_nodes, [hidden_nodes], output_nodes,
NARXRecurrent(
output_order,
incoming_weight_from_output,
input_order,
incoming_weight_from_input))
net.randomize_network()https://stackoverflow.com/questions/40757117
复制相似问题