pybrain

PyBrain in Anaconda – ImportError: No module named 'structure'

PyBrain in Anaconda – ImportError: No module named 'structure' Question: I’m looking for a way to use numpy, scipy and pybrain in python. If I try to install those I get the error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat). I have installed visual studio but it still doesn’t work. I have …

Total answers: 2

ImportError: No module named scipy

ImportError: No module named scipy Question: I am using Python 2.7 and trying to get PyBrain to work. But I get this error even though scipy is installed – Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “/usr/local/lib/python2.7/site-packages/PyBrain-0.3.1- py2.7.egg/pybrain/__init__.py”, line 1, in <module> from pybrain.structure.__init__ import * File “/usr/local/lib/python2.7/site-packages/PyBrain-0.3.1-py2.7.egg/pybrain/structure/__init__.py”, line 1, …

Total answers: 17

Request for example: Recurrent neural network for predicting next value in a sequence

Request for example: Recurrent neural network for predicting next value in a sequence Question: Can anyone give me a practicale example of a recurrent neural network in (pybrain) python in order to predict the next value of a sequence ? (I’ve read the pybrain documentation and there is no clear example for it I think.) …

Total answers: 2

Neural Network training with PyBrain won't converge

Neural Network training with PyBrain won't converge Question: I have the following code, from the PyBrain tutorial: from pybrain.datasets import SupervisedDataSet from pybrain.supervised.trainers import BackpropTrainer from pybrain.tools.shortcuts import buildNetwork from pybrain.structure.modules import TanhLayer ds = SupervisedDataSet(2, 1) ds.addSample((0,0), (0,)) ds.addSample((0,1), (1,)) ds.addSample((1,0), (1,)) ds.addSample((1,1), (0,)) net = buildNetwork(2, 3, 1, bias=True, hiddenclass=TanhLayer) trainer = BackpropTrainer(net, …

Total answers: 4