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

https://github.com/shuygena/linear_regression

:arrow_lower_right: Basic machine learning algorithm
https://github.com/shuygena/linear_regression

42 42projects gradient-descent linear-regression machine-learning

Last synced: 3 months ago
JSON representation

:arrow_lower_right: Basic machine learning algorithm

Awesome Lists containing this project

README

        

# linear_regression

The aim of this project is introdution to the basic concept behind machine learning.
Program predicts the price of a car by using a linear function train with a gradient descent algorithm.

![](https://github.com/shuygena/linear_regression/blob/main/result.png)

## :mortar_board: Tutorial
[Look at my own wiki-guide (Ru)](https://github.com/shuygena/linear_regression/wiki)

## :toolbox: Requirements:

I used python 3 and pip installer.

## :link: Download & Install requirements
Clone repository:
```
git clone https://github.com/shuygena/linear_regression lin_reg
```
Go to directory:
```
cd lin_reg
```
Install requirments:
```
pip install -r requirements.txt
```

## :pager: How to use
For predict run:
```
python3 predict.py
```
> Price will 0 before training.

For train the model run:
```
python3 training_model.py
```
## :clipboard: Task
The task is available in the [subject (En)](https://github.com/shuygena/linear_regression/blob/main/en.subject.pdf)