Skip to content

A simple python program that implements a very basic Linear Regression model

Notifications You must be signed in to change notification settings

mahesh147/Simple-Linear-Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Simple-Linear-Regression

A simple python program that implements Linear Regression on a sample dataset. The programuses sklearn.linear_model from the scikit-learn library to import the class LinearRegression. The object of the class is declared and is fitted with the X_Train and Y_Train data.

Y_Pred stores the predicted values of X_Test

A graph is plotted using the matplotlib.pyplot to visually represent the Linear Regression model.

Releases

No releases published

Packages

No packages published

Languages