Python 神经原库
我正在尝试用Python创建自回归神经网络(NARX)。我只能找到一个图书馆的肾素。但是我找不到任何使用它的示例程序。使用网络对时间序列进行训练和预测。如果有人可以分享如何使用网络训练和预测时间序列。或者如果NARX还有其他好的库。请查看教程: 您可以在这里找到testcase:Python 神经原库,python,neural-network,time-series,Python,Neural Network,Time Series,我正在尝试用Python创建自回归神经网络(NARX)。我只能找到一个图书馆的肾素。但是我找不到任何使用它的示例程序。使用网络对时间序列进行训练和预测。如果有人可以分享如何使用网络训练和预测时间序列。或者如果NARX还有其他好的库。请查看教程: 您可以在这里找到testcase: 您能否提供一个如何使用NARX训练和推断数据的示例? ... from pyneurgen.recurrent import NARXRecurrent ... # NARXRecurrent input_nod
您能否提供一个如何使用NARX训练和推断数据的示例?
...
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()