https://github.com/kaustubholpadkar/linear_regression-gradient_descent
Linear Regression with Gradient Descent in Octave
https://github.com/kaustubholpadkar/linear_regression-gradient_descent
gradient-descent linear-models linear-regression machine-learning matlab octave regression-algorithms regression-analysis supervised-machine-learning
Last synced: 7 months ago
JSON representation
Linear Regression with Gradient Descent in Octave
- Host: GitHub
- URL: https://github.com/kaustubholpadkar/linear_regression-gradient_descent
- Owner: kaustubholpadkar
- License: mit
- Created: 2017-12-23T17:16:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T14:45:43.000Z (over 7 years ago)
- Last Synced: 2025-02-09T12:32:05.372Z (8 months ago)
- Topics: gradient-descent, linear-models, linear-regression, machine-learning, matlab, octave, regression-algorithms, regression-analysis, supervised-machine-learning
- Language: Jupyter Notebook
- Size: 104 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linear Regression - Gradient Descent - Octave
[Linear regression](http://en.wikipedia.org/wiki/Linear_regression) with One variable using [Gradient descent](http://en.wikipedia.org/wiki/Gradient_descent) in Octave## Description
This project demonstrates how the gradient descent algorithm may be used to solve a linear regression problem.
A small dataset of student test scores and the amount of hours they studied is utilized. Intuitively, there must be a relationship between the scores and the hours studied. The more one studies, the better one's test scores should be. The linear regression is used to uncover this relationship.
There are several numerical optimization techniques amongst which the Gradient Descent method is examined to minimize the cost function of Linear Regression.## Usage
Run the jupyter notebook `linear_regression.ipynb`## Results
