Skip to content

A simple linear regression project from 42 School. This project involves implementing a linear regression model using Python and NumPy, optimizing it with gradient descent, and visualizing the results.

Notifications You must be signed in to change notification settings

usmanUA/ft_linear_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_linear_regression

This repository contains the ft_linear_regression project from 42 School, which focuses on implementing a simple linear regression model from scratch using Python and NumPy. The primary goal is to understand and apply the fundamentals of linear regression, including data preprocessing, cost function formulation, and optimization using gradient descent.

Features

  • Implementation of a cost function for linear regression.
  • Use of gradient descent to optimize model parameters.
  • Data reading, processing, and handling using NumPy.
  • Visualization of data and the regression line to evaluate model performance.

Skills Developed

  • Basic understanding of linear regression.
  • Application of numerical optimization techniques.
  • Data handling and manipulation using Python and NumPy.

About

This project is part of the curriculum at 42 School, designed to introduce students to key concepts in machine learning.

About

A simple linear regression project from 42 School. This project involves implementing a linear regression model using Python and NumPy, optimizing it with gradient descent, and visualizing the results.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages