Matlab Code for single layer perceptron model
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
zahra
2012-4-13
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
回答(1 个)
Greg Heath
2012-4-15
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!