An example for linear classifier by MSE(Mean Square Error) and Perceptron calssifier

This program separate 2 different classes with 2 features by the methods of MSE and Perceptron.

You are now following this Submission

This program separate 2 different classes with 2 features by the methods of MSE and Perceptron. Tow different way for Perceptron classifier was used one by MATLAB command (perceptron) and train the one layer perceptron net, and other the program i wrote based on perceptron theory and gradient descent formula. (The presentation file also added).
All the classification lines are plotted. In program if max iteration reached a line with minimum wrong classified object also plotted.

Cite As

mmazloumi (2026). An example for linear classifier by MSE(Mean Square Error) and Perceptron calssifier (https://www.mathworks.com/matlabcentral/fileexchange/67346-an-example-for-linear-classifier-by-mse-mean-square-error-and-perceptron-calssifier), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

No. changes