Questions tagged [pybrain]

PyBrain is an open source machine-learning library for python. It supports a wide range of optimisation techniques, neural networks, reinforcement learning and more.

PyBrain is a machine learning library that can be used by entry-level students but offers the flexibility and algorithms for state-of-the-art research.

For more information, see the PyBrain homepage

310 questions
1
vote
1 answer

Pybrain reinforcement learning; dimension of state

I am working on a project to combine reinforcement learning with traffic light simulations using the package Pybrain. I have read the tutorial and implemented my own subclasses of Environment and Task. I am using an ActionValueNetwork as controller…
1
vote
1 answer

install pybrains on miniconda

How can I install pybrain into miniconda? Here is what I try with clean miniconda install: C:\Miniconda3_64\Scripts>conda install -c ideas pybrain Fetching package metadata ........... Solving package specifications: .... The following…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
1
vote
0 answers

Exact repeatability of PyBrain experiments

What parameters in pybrain should be set to ensure exact replication of results when using the neural network modules as shown in the code below? For each new run, the outputs differ although the random seed is set to the same value. The weights and…
aslan
  • 780
  • 1
  • 7
  • 16
1
vote
2 answers

Prediction of sinusoidal function using pybrain

In an attempt to understand neural networks and pybrain, I tried to predict a sinusoidal function in noise using only the time index as input. The premise therefore is that a simple NN structure can mimic y(t) = sin(t). The design is: 1 input layer…
aslan
  • 780
  • 1
  • 7
  • 16
1
vote
0 answers

Neural Network implementation using Pybrain

I am new to Python and I want to implement a simple Neural Network in Python and I am using Pycharm. I explore which library is used for this purpose and I found that Pybrain can be used. Successfully installed it on my system and configured with…
Hammad Hassan
  • 1,192
  • 17
  • 29
1
vote
1 answer

Install pybrain in ubuntu 16.04 "ImportError: No module named pybrain.structure"

I'm getting that error: ImportError: No module named pybrain.structure When executing: from pybrain.pybrain.structure import FeedForwardNetwork From the pybrain tutorial. I installed pybrain running: sudo python setup.py install
hhaamm
  • 398
  • 1
  • 2
  • 13
1
vote
0 answers

Training a network to identify X^2 + Y^2 + Z^2 <= 25

I'm trying to get a Neural Network to predict whether or not a point falls on or within the sphere formed by the equation X^2 + Y^2 + Z^2 <= 25. I'm doing this using Pybrain and python, however, no matter how I configure the thing, I can't get an…
Kyle
  • 7
  • 3
1
vote
0 answers

Using Torch for Time Series prediction using LSTMs

My main problem is how should I pre-process my dataset that is basically a 60 minutely sequenced numbers inputs that will result in a 1 hourly output. Knowing that each input vector every minute is producing some output, but unfortunately this…
Leb_Broth
  • 1,081
  • 1
  • 15
  • 32
1
vote
0 answers

pybrain training neural network, total error very low, percent error very high, why?

what does it mean if i get a total error of like 0.02 as the training epochs are run, but then percenterror on trainer.testOnClassData() is like 95% ?
1
vote
0 answers

Pybrain:Run Time Error

I am trying to create a Neural Network using pybrain. The following is my code. Number of input neurons would be 2500. Number of output neurons is 212. Number of hidden neurons is (2500+212)/2 = 1356. My Code : #for training using the data…
1_0
  • 15
  • 1
  • 7
1
vote
1 answer

Machine learning in Python: scikit-learn / Pybrain

I read some tutorials and introductions but I'm not sure I'm getting the hang of it and, most of all, I'm not sure I understand ML vs NN completely. Suppose that I want to instruct a program (like with scikit-learn) so that it has some language…
pistacchio
  • 56,889
  • 107
  • 278
  • 420
1
vote
1 answer

cannot import pybrain module in python 2.7

I followed the exact documentation in here but after that importing produces the following error. I am using windows 7 and python 2.7. I have already installed scipy and matplotlib. The error that I get is as follows: >>> import pybrain Traceback…
Akhil Mohan
  • 105
  • 2
  • 11
1
vote
0 answers

ImportError with pybrain on IPython Notebook, how does Importing work?

I'm trying to use pybrain in an IPython Notebook, and when I pip installed, I could import pybrain from the command line python interpreter, but not from iPython or an iPython Notebook. I then downloaded manually to…
mgs
  • 57
  • 7
1
vote
0 answers

ValueError: The truth value of a DataFrame is ambiguous when using PyBrain

I'm aware that there's numerous neural networks packages available for Python, so I'm not sure where to start. I started off with Pybrain, but its documentation isn't clear to follow. I'm working on a training set with 100000 rows and 6 features…
user5739619
  • 1,748
  • 5
  • 26
  • 40
1
vote
1 answer

Slightly differing output from Pybrain neural network despite consistent initialisation?

I am working on a feed forward network in PyBrain. To allow me to compare the effects of varying certain parameters I have initialised the network weights myself. I have done this under the assumption that if the weights are always the same then the…
Philip O'Brien
  • 4,146
  • 10
  • 46
  • 96