As in the convolutional neural network, implement the method of back propagation of error on python. The PyBrain library is used.
- pybrain.org/docs/quickstart/training.html - MaxU
- Thank you very much - user285551
|
1 answer
Example :
>>> from pybrain.supervised.trainers import BackpropTrainer >>> net = buildNetwork(2, 3, 1, bias=True, hiddenclass=TanhLayer) >>> trainer = BackpropTrainer(net, ds) >>> trainer.train() 0.31516384514375834 >>> trainer.trainUntilConvergence() ... |