Backpropagation implementation in Python for forecasting/regression
Switch branches/tags
Nothing to show
Clone or download
Mihai Maruseac
Mihai Maruseac Added README in English
Latest commit 2539ff1 May 19, 2011
Failed to load latest commit information.
res More images May 1, 2011
src More configs May 1, 2011
test Test 4 May 1, 2011 Readme ro May 1, 2011
README.rst Added README in English May 19, 2011 Initial GUI Apr 27, 2011



A. About

This is a homework for the Machine Learning Course that I am taking right now at my University.

The homework uses backpropagation in order to forecast a value from a given set of values, knowing that one value depends on the values of several of the previous numbers in the series.

The assignment is done in Python.

B. Usage

Run ./ to start the main part of the application. The GUI is pretty simple to use.

It will show a real time graph of the network while learning with edges coloured according to their relevance: a red colour means inhibition while a green color means a bonus.

The application does a logging of all steps in the learning phase.

The input is first normalized to the range of the activation function (-1 to 1 or 0 to 1). In fact, the normalization ensures that points outside the initial range can still be somehow predicted (with a certain error if the data trend is exponential but that is another problem).

At the end of the learning phase, the user sees the predicted value along with an estiamtion of the error and the application saves the network in different formats to disk. Also, a plot of all data (predicted and given) is saved.