Gradient Descent Algorithm with Linear Regression on single variable

A useful Machine Learning Algorithm

You are now following this Submission

Refer Cousera : Machine Learning by Andrew Ng, Stanford University for reference.
Learning rate alpha = 0.01

Cite As

Sleeba Paul (2026). Gradient Descent Algorithm with Linear Regression on single variable (https://www.mathworks.com/matlabcentral/fileexchange/56297-gradient-descent-algorithm-with-linear-regression-on-single-variable), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

1. Taken more samples to show the convex characteristics of cost function
2. Taken more iteration for best fit
3. Mesh plot is used instead of meshc
4. Best fix values are displayed

1.0.0.0