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
2
votes
0 answers

neural network to train a image so as to get its unicode as output- python

I have an image of a character. I wanted to make a neural network so that it takes the linear array of pixels as input and generate the Unicode of character so that i can compare it with the actual Unicode of that character. I tried it using pybrain…
user1593134
  • 19
  • 1
  • 4
2
votes
1 answer

PyBrain Reinforcement Learning - Maze and Graph

I was trying to implement in PyBrain something similar to a Maze problem. However, it's more similar to a room with an emergency exit, where you leave an agent in one of the rooms to find the exit. To convert this to a computer method a…
gbc921
  • 316
  • 2
  • 6
  • 22
1
vote
1 answer

Pybrain: Completely linear network

I am currently trying to create a Neural Network with pybrain for stock price forecasting. Up to now I have only used Networks with a binary output. For those Networks sigmoid inner layers were sufficient but I don't think this would be the right…
Momo
  • 73
  • 1
  • 4
1
vote
1 answer

Machine learning to understand website structure in Python

I have been working on crawling webpages and extracting the elements of the website. Ex: Given a website - The crawler should return the following sections: Header, Menu, Footer, content etc. I was thinking that it would be great if I could use…
Jamal
  • 287
  • 1
  • 4
  • 15
1
vote
0 answers

How to exploit logical symmetry of input neurons to train a supervised neural network?

Introduction As it will be clear I am not a machine learning expert, but I work in a management position in data science and I am studying ML to understand the potential. Mostly as an exercise, I am training a neural network to predict resulting…
bobon123
  • 11
  • 2
1
vote
0 answers

How to fit cubic equation on pybrain

I am trying to fit a Neural Network on a cubic Equation, but after many tries changing the number of the neurons on the hidden layer and increasing the number of epochs I could only get this: Could you guys help me on this? from pybrain.datasets…
1
vote
1 answer

Neural Network Error Rate Does Not Progress

Neural networking noob here. I am using PyBrain to try and create a network that learns music. My dataset consists of about a hundred songs where the input for the network is two notes and the target is the next two notes. Each note is represented…
1
vote
1 answer

Float error python neural network

I a new to python and neural networks. I tried using a sample code i found online on stack but i get errors. I have no idea why this is occurring. The following is the code i used. from pybrain.tools.shortcuts import buildNetwork from…
1
vote
1 answer

Pybrain- How to Use ds_train.setField Correctly

I'm new to the Pybrain package and I tried to classify "polished_data" which is a list of 12 objects that I need to classify to 2 different groups by 10 given parameters and one integer which is 0 or 1 which symbolize the groups a and b. import…
Gon Eyal
  • 11
  • 1
1
vote
0 answers

Pybrain slice indices must be integers or None or have an __index__ method with numpy 1.11.0

I'm following evolino tutorial for PyBrain and run to this (slice indices must be integers or None or have an index method) error. I've googled this error and found there are some compatibility issue between PyBrain and Numpy above version 1.12.…
Erland Devona
  • 183
  • 3
  • 13
1
vote
1 answer

Pattern recognition with Pybrain

Is there a method for training pybrain to recognize multiple patterns within a single neural net? For example, I've added several permutations of two different patterns: First pattern: (200[1-9], 200[1-9]),(400[1-9],400[1-9]) Second…
Chris Hall
  • 871
  • 6
  • 13
  • 21
1
vote
2 answers

Seeking a basic example of neural network with Pybrain ( trading algorithm )

I'm very new in Pybrain and neural network and I am having difficulties in implementing a simple example of supervised Classification. I have a dataFrame called datanew containing 9 different columns of data ( Date, mean etc. ) and a last column,…
1
vote
2 answers

Python/Pybrain: How can I fix weights of a neural network during training?

I am quite new to neural networks and trying to use pybrain to build and train a network. I am building my network manually with full connections between all layers (input, two hidden layers, output) and then set some weights to zero using…
Fiona
  • 13
  • 5
1
vote
0 answers

PyBrain QTable (ActionValueTable) not changing

I followed a blog post (here) where the author wrote a program with PyBrain to learn how to play Blackjack. He outlines that he is using a Q-Table that was initialized with zeros. At the very end he shows his results (the final Q-Table) after the…
Patrick Cook
  • 458
  • 12
  • 27
1
vote
0 answers

Google Tensorflow LSTMCell Variables Mapping to Hochreiter97_lstm.pdf paper

The python implementation of google tensor flow (program) states: The default non-peephole implementation is based on: http://deeplearning.cs.cmu.edu/pdfs/Hochreiter97_lstm.pdf S. Hochreiter and J. Schmidhuber. "Long Short-Term Memory". Neural…