Skip to content

AishwaryaN2203/Logistic_Regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Logistic_Regression

Repo having easy to medium Logistic Regression models

The equation of Linear Regression is y' = wx + b

In Logistic Regression the idea is to add a probabilities to the model

            1      
y` = ------------------
      ( 1 + e ^ (-wx+b) )

Error Calculation Method :

Cross Entropy

STEPS

TRAINING

  • Initialize weights as zero
  • Initialize bias as zero

GIVEN DATA POINT:

  • Predict result y`
  • Calculate error
  • Use gradient descent to figure out new weight and bias values
  • Repeat n times

TESTING:

  • Put values from the data point into equation
  • Choose the label based on probability

About

Repo having easy to medium Logistic Regression models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published