Single Layer Perceptron Neural Network
- Define two distributions as two classes.
- Sample 1000 points from two distributions and define their class labels.
- Create a linear classification model. Initialize random weights and plot samples and classification boundary
- Optimize weights using stochastic gradient descent (LMS) learning algorithm for least mean squared error.
- Compare initial classification boundary with final (optimized) classification boundary
- Plot learning curve (MSE vs epochs)
- Plot sigmoid function and it's derivative with-respect to stimulus 'x'
Zitieren als
Shujaat Khan (2026). Single Layer Perceptron Neural Network (https://de.mathworks.com/matlabcentral/fileexchange/75238-single-layer-perceptron-neural-network), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.1 | - Example |
||
| 1.0.0 |