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
0
votes
1 answer

Pybrain exporting a network

After seeing this answer, I am having some trouble exporting my network. Here is the network generation code: net = buildNetwork(2, 1, 1, bias=False) sol = net.activate([2,3]) print("solution", sol) for mod in net.modules: for conn in…
Chase Roberts
  • 9,082
  • 13
  • 73
  • 131
0
votes
1 answer

PyBrain's ClassificationDataSet is creating extra samples

I'm encountering very strange behaviour using the ClassificationDataSet class of the PyBrain library. It seems to add extra samples to the data, and I cannot understand why! Here is the code: data = [[2, 4, 1], [3, 3, 0], [1, 2,…
alwaysboots
  • 141
  • 1
  • 2
  • 12
0
votes
2 answers

Problems using pybrain for classification

I am using pybrain to classify some data and my input data is a ndarray with 73 features and the output should be 0 and 1. And I have the test data which only have the input of the features but not the output. So I want to use the neural network…
user3019893
  • 27
  • 1
  • 3
0
votes
1 answer

Need help getting dataset usable in pybrain

from pybrain.structure import FeedForwardNetwork from pybrain.structure import LinearLayer, SigmoidLayer from pybrain.structure import FullConnection from pybrain.datasets import SupervisedDataSet import numpy as np X = np.loadtxt('xdatanorm.txt',…
Liam
  • 1
  • 3
0
votes
2 answers

continueEpochs Parameter in pybrain

In pybrain documentation I found the following documentation for trainUntilConvergence as follow, trainUntilConvergence(dataset=None, maxEpochs=None, verbose=None, continueEpochs=10, validationProportion=0.25) Train the module on the dataset until…
user2162652
0
votes
1 answer

PyBrain ANN weights barely changing but working

I use PyBrain with a simple ANN (64)->(40)->(10) to classify 8*8 digit images. I have managed to train the network up to 96% accuracy, however I noticed that the weights - initially randomized - do not change very much. Is it normal/ an issue…
Julien
  • 13
  • 5
0
votes
0 answers

change python version 2.7.3 to 2.7.9 (anaconda)

The default version of python in my linux dist is python 2.7.3, but I usually use spyder for coding which uses 2.7.9. I want to install the PyBrain module so that I can use it in Spyder, so I downloaded the source code. if I run python setup.py…
entropy4money
  • 149
  • 1
  • 1
  • 8
0
votes
0 answers

Output data from PyBrain neural network doesn't show diversity

I'm trying to develop a neural network using PyBrain, with the following specs: 1.) 3 Layers total 2.) 36 input neurons 3.) input neurons are linear 4.) hidden layer is sigmoid 5.) output layer is linear 6.) number of hidden neurons is set…
DrTchocky
  • 515
  • 1
  • 5
  • 14
0
votes
1 answer

Problems with setting up pybrain on Mac through Enthought Canopy

I'm trying to setup Pybrain on my Mac for the past couple of days but to no avail. I downloaded the Enthought Canopy and I have made sure that it is my default python. I also tried the suggestions given on the Pybrain documentary page but I did not…
Mega_Noob
  • 214
  • 4
  • 12
0
votes
1 answer

SupervisedDataSet and Network issue in PyBrain

I've recently discovered PyBrain so I decided to give it a try. After a while testing it I decided to work the following problem to have a clue on what PyBrain does internally. Given a list of 6 elements (each from 1 to 10), determine if there are…
0
votes
1 answer

PyBrain error estimate does not change over time when training the network

I am using PyBrain 0.3 (with python 2.7.9), and when I train my network with the BackpropTrainer, there is no change is the total error, even after some 10 - 20 iterations. Any suggestions? Edit: path =…
0
votes
1 answer

PyBrain: passing empty floats or switching them with neutral values?

Right now, I am trying to pass this for a dataset sample: 7/2/2014,7:30,138.885,138.87,138.923,,,,138.88067,138.91434,138.895,,,,138.89657 14,138.9186042,138.8745387,138.923,138.9046667,138.895,138.8696667 But predictably, it gives me a value error…
0
votes
1 answer

cascade-forward neural network

I understand that we can create a feed forward neural network in pybrain. However, can we also create a cascade forward neural network in pybrain?
meta_warrior
  • 389
  • 1
  • 6
  • 18
0
votes
2 answers

How can I install `scipy` on my pybrain installation?

I am trying to import pybrain to Python on Windows after following installation instructions. So far I've been able to troubleshoot, manage, fix, proceed throughout the process up until this: File…
tyler9097
  • 11
  • 2
0
votes
1 answer

install Pybrain in Windows 7 64 bits

Hi everyone i was new for python, i have a problem for install pybrain in windows 7(64 bit) it show an error while using command mode (run as administrator) Traceback: File "C:\Pybrain-0.2.1\setup.py",line 11 in from setuptools import setup,…
NewUser
  • 27
  • 10