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
10
votes
6 answers

What are some packages that implement semi-supervised (constrained) clustering?

I want to run some experiments on semi-supervised (constrained) clustering, in particular with background knowledge provided as instance level pairwise constraints (Must-Link or Cannot-Link constraints). I would like to know if there are any good…
user1271286
  • 333
  • 5
  • 14
10
votes
1 answer

How to do supervised deepbelief training in PyBrain?

I have trouble getting the DeepBeliefTrainer to work on my data in PyBrain/Python. Since I can't find any examples other than unsupervised on how to use the deep learning in PyBrain, I hope that someone can give examples that would show a basic…
user822448
  • 673
  • 2
  • 8
  • 18
9
votes
2 answers

How can I calculate or monitor the training of a neural network in pybrain?

I have a neural network n pybrain,with two inputs,a hidden layer and a output layer.I use the following to train: trainer = BackpropTrainer(net,ds) trainer.trainUntilConvergence() net is the neural network and ds is the train data. My question is…
IordanouGiannis
  • 4,149
  • 16
  • 65
  • 99
9
votes
4 answers

neural networks regression using pybrain

I need to solve a regression problem with a feed forward network and I've been trying to use PyBrain to do it. Since there are no examples of regression on pybrain's reference, I tried to adapt it's classification example for regression instead, but…
Alberto A
  • 1,160
  • 4
  • 17
  • 35
9
votes
2 answers

Install pybrain on python 3.2

I'm trying to install pybrain on python 3.2. It says here: https://github.com/pybrain/pybrain/pull/85 that it should work. However it does not for me. I tried: $export…
Luis
  • 3,327
  • 6
  • 35
  • 62
8
votes
1 answer

PyBrain:How can I put specific weights in a neural network?

I am trying to recreate a neural network based on given facts.It has 3 inputs,a hidden layer and an output.My problem is that the weights are also given,so I don't need to train. I was thinking maybe I could save the trainning of a similar in…
IordanouGiannis
  • 4,149
  • 16
  • 65
  • 99
8
votes
2 answers

Genetic algorithm example/tutorial for PyBrain?

I have recently started using pyBrain to conduct some machine learning research. I am interested in GAs as well as ANNs - however despit the fact that the pyBrain homepage lists GA as one of the features of the library, there does not seem to be…
8
votes
2 answers

How to load training data in PyBrain?

I am trying to use PyBrain for some simple NN training. What I don't know how to do is to load the training data from a file. It is not explained in their website anywhere. I don't care about the format because I can build it now, but I need to do…
Dr Sokoban
  • 1,638
  • 4
  • 20
  • 34
8
votes
1 answer

Forecasting time series data with PyBrain Neural Networks

Problem I am trying to use 5 years of consecutive, historical data to forecast values for the following year. Data Structure My input data input_04_08 looks like this where the first column is the day of the year (1 to 365) and the second column is…
Philip O'Brien
  • 4,146
  • 10
  • 46
  • 96
8
votes
1 answer

how to give input to a trained and tested PyBrain network and how to get the result

I am predicting a value, I have 2 input layer and an output layer. Here is my code in which I have trained a PyBrain network and then tested it, I am missing how should I give a set of input to the network and how do I get the result. Please help me…
soupso
  • 592
  • 1
  • 4
  • 20
7
votes
3 answers

_convertToOneOfMany in PyBrain

I follow the PyBrain tutorial Classification with Feed-Forward Neural Networks and want to build my own classifier. I do not understand how _convertToOneOfMany modifies outputs. Why would initial operation alldata.addSample(input, [klass]) create…
user425720
  • 3,578
  • 1
  • 21
  • 23
7
votes
1 answer

I'm having troubles getting pybrain working through anaconda

Here is my problem: After I managed to install anaconda (having python 3.4), I apparently managed to install pybrain too. But when i use 'import pybrain' from anaconda or from the terminal too I get this error: >>> import pybrain Traceback (most…
nskywalker
  • 81
  • 1
  • 4
7
votes
1 answer

Getting output of pybrain prediction as array

I am making use of pybrain to build a network that has 6 input dimensions and one real valued output dimension. The code I use is shown below: network = buildNetwork(train.indim, 4, train.outdim) trainer = BackpropTrainer( network,…
viper
  • 2,220
  • 5
  • 27
  • 33
7
votes
1 answer

activation values for all nodes in a PyBrain network

I feel like this should be trivial, but I've struggled to find anything useful in the PyBrain documentation, on here, or elsewhere. The problem is this : I have a three layer (input, hidden, output) feedforward network built and trained in PyBrain. …
dylanross
  • 73
  • 4
6
votes
1 answer

How to create simple 3-layer neural network and teach it using supervised learning?

Based on PyBrain's tutorials I managed to knock together the following code: #!/usr/bin/env python2 # coding: utf-8 from pybrain.structure import FeedForwardNetwork, LinearLayer, SigmoidLayer, FullConnection from pybrain.datasets import…
Luke
  • 1,369
  • 1
  • 13
  • 37
1
2
3
20 21