Skip to content

AmazingGrace-D/ML-Logistic-regression-algorithm-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Olutomilayo Amazing-Grace Logistics_Regression_from_Scratch

Implementing standard logistic regression from scratch

Logistic Regression is a generalized Linear Regression in which we do not output the weighted sum of inputs directly, but is passed through a function (sigmoid) that can map any real value between 0 and 1.

In the Logistic regression class; the hypothesis (sigmoid, net_input, probability functions), the cost function, gradient descent, train (fit, predict funtions) and accuracy were written.

The created model was tested on marks.txt data The numpy module was used for mathematical calculations The matplotlib module was used for plotting generated data The scipy module was used to compute the minimum value in relation to the gradient descent

About

ML-Logistic-regression-algorithm-challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%