Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Implementation of a simple linear regression model, as part of the 42 School ft_linear_regression project.

Notifications You must be signed in to change notification settings

lucas-ht/ft_linear_regression

Repository files navigation

Test

ft_linear_regression

An introduction to machine learning.

Summary

The main objective of this project is to develop a model that can predict car prices based on mileage.

To achieve this goal, I have employed the widely used linear regression technique, which involves fitting a straight line through the data points to identify the relationship between the two variables.

The model has been trained using a gradient descent algorithm, a popular optimization technique used in machine learning.

ft_linear_regression preview


Subject

The subject can be found here.

Usage

  1. Install the required Python packages:
pip install -r requirements.txt
  1. Train the model:
python training.py
  1. Make predictions:
python prediction.py

Testing

Run the tests with:

python -m unittest discover tests

About

Implementation of a simple linear regression model, as part of the 42 School ft_linear_regression project.

Topics

Resources

Stars

Watchers

Forks

Languages