An open API service indexing awesome lists of open source software.

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

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
![Results](pred.png)