Linear Regression Implementation using HoldOut CV
Version 1.0.0.0 (1.14 KB) by
earth science learner
Univariate Linear regression
Linear Regression models a linear relation between independent variables and a target variable by fitting a straight line through the data points. The equation of which is given by Y=M*x+C where M is independent variable, C is intercept and Y is target value. The following code implements the regression problem through Direct equation and Gradient Descent Technique.
Cite As
earth science learner (2026). Linear Regression Implementation using HoldOut CV (https://www.mathworks.com/matlabcentral/fileexchange/66127-linear-regression-implementation-using-holdout-cv), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Linear Regression in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
