Skip to content

Coding Linear Regression from scratch using Python and its libraries, without relying on specialized ML libraries (e.g. Scikit-learn, TensorFlow, Keras, PyTorch). Gain a deeper understanding of fundamental ML algorithms, including gradient descent and linear regression.

Notifications You must be signed in to change notification settings

rmaacario/Linear-Regression-with-NumPy-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Linear-Regression-with-NumPy-and-Python

This repository contains an implementation of the linear regression algorithm using only the Numpy library, without the use of specialized machine learning libraries such as Scikit-learn or TensorFlow. The aim of this project is to provide a hands-on approach for those looking to understand the basics of linear regression algorithm.

The project includes step-by-step coding in a Jupyter notebook, covering the following topics:

  • Data and Library Loading
  • Data Visualization
  • Cost Function Computation
  • Gradient Descent
  • Cost Function Visualization
  • Convergence Plotting
  • Linear Regression Fit with Training Data
  • Inference using Optimized Theta Values

This project is based on a guided project from Coursera's Linear Regression with NumPy and Python course https://www.coursera.org/projects/linear-regression-numpy-python.

About

Coding Linear Regression from scratch using Python and its libraries, without relying on specialized ML libraries (e.g. Scikit-learn, TensorFlow, Keras, PyTorch). Gain a deeper understanding of fundamental ML algorithms, including gradient descent and linear regression.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published