Skip to content

Implementation of a simple linear regression with single feature

Notifications You must be signed in to change notification settings

Eutienne/linear_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linear_regression

An Algo Project at Codam Advanced (42) - Linear Regression
An introduction to machine learning

Project Discription

The aim of this project is an introduction to the basic concept behind machine learning.
This project having a program that predicts the price of a car by using a linear function trained with a gradient descent algorithm.
There is an implementation of a simple linear regression with a single feature - in this case, the mileage of the car.
The trainer will make a Linear Regression from the data that is comming in and set the data in a graph.
train.py functions with csv files with , as separator

Usage

python3 train.py
python3 predict.py
python3 precision.py

Befor you use the predictor or precision, the trainer needs to be run.
Otherwise there is no trainingdata to predict and to check the position.

About

Implementation of a simple linear regression with single feature

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages