Skip to content

AlbaraSabbagh/Simple-Linear-Regression-Cost-Function-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple-Linear-Regression-Cost-Function-Analysis

This repository provides a step-by-step implementation and visualization of the cost function used in simple linear regression. It aims to help beginners understand how the cost function behaves with respect to model parameters (slope and intercept) and how it guides the optimization process.

🔍 Features:

Manual implementation of simple linear regression using Python

Calculation of Mean Squared Error (MSE) as the cost function

2D and 3D visualizations of the cost surface

Gradient descent intuition and cost landscape exploration

About

Cost Function Analysis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published