Matlab Code for single layer perceptron model

I am looking for a matlab code for a single layer perceptron model. The code should be able to cater for the following:
// Load sample input patterns // Load sample output patterns // Initialise weights // Set learning rate // Calculate output // Calculate error // Update weights // Convert error to absolute value // Display network generalisation // Calculate output
Any assistance would be greatly appreciated.

2 Kommentare

zahra
zahra am 13 Apr. 2012
I am looking for a matlab code for a single layer perceptron model. The code should be able to cater for the following:
// Load sample input patterns // Load sample output patterns // Initialise weights // Set learning rate // Calculate output // Calculate error // Update weights // Convert error to absolute value // Display network generalisation // Calculate output
zahra
zahra am 13 Apr. 2012
Any assistance would be greatly appreciated.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Greg Heath
Greg Heath am 15 Apr. 2012

0 Stimmen

If you do not have access to the Neural Network Toolbox. Try searching the Newsgroup archives and FEX. If you know the weight updating formula, you can program the rest your self.
Greg

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Aug. 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by