Gradient Descent Algorithm with Linear Regression on single variable

A useful Machine Learning Algorithm
944 Downloads
Updated 13 Apr 2016

View License

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

Cite As

Sleeba Paul (2024). 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 .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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