Skip to content

Learned how to implement linear regression in code without libraries

Notifications You must be signed in to change notification settings

djFloyd25/Linear-Regression-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Linear-Regression-Model

Learned how to implement linear regression in code without libraries

In this project, I used my knowledge of linear regression to implement the math for the model. I made a loss function and a gradient descent function that utilized partial derivatives. I then ran through this loop which is necessary for the actual linear regression. I got to learn about adjusting my learning rate because the x values were so high I had to set a very low learning rate so the model could run. I found that 300 epochs was a good number for the model.

About

Learned how to implement linear regression in code without libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published