The use of "turn" pybrain-an open source Python neural network Toolkit

Source: Internet
Author: User

Original Address

Yesterday's main activity is to find a neural network package .... = =
Here, we have to spit out the pybrain before we describe the bag.
First of all, Matlab is the simplest, and very light send you can use a visual tool to learn without brains. However, this is the fool of Matlab, my notebook is 32 bits +2g memory, my input data about 200m, on the memory is not enough, this is obviously a deadly insult to my computer!
Then there are Neurolab, the basic function of this package is the same as MATLAB, but also brought the same problem, still can't bring up, really rubbing force. Also reported section error, this is Python's package ah, you quote a paragraph what is the meaning of the mistake!
Fann,c language written, I want to use the Python interface, I think I can quickly, well, I admit, I am not useless, why, the input data is too big, and there is no Python interface documents! Brother, you are open source software how can this =.
Finally, when I was on the verge of collapse, Pybrain appeared and saved me. In fact, this bag is also very time, normal running is very slow, but can run.

His official homepage is as follows, in fact the basic work process on the homepage is very clear.
Here are a few things to illustrate, where you can customize functions between each layer, such as sigmoid or something.

1. Establish a neural network

The first four numbers are the number of layers, you can define unlimited multilayer, but 1-2 hidden layers are recommended.

2. Set up a data set

The dataset is a specific package, 100 is the number of input units, 24 output units, add addsample to increase, there is no other way. It's actually a two-numpy array.

This is training, the construction of the neural network and data structure at the same time input, other parameters can be adjusted.
The epochs of training is the number of iterations


Return the result, also need to run with NN, then return a numpy result.

It seems to be nothing, if you need to continue to refer to the document.

The use of "turn" pybrain-an open source Python neural network Toolkit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.