SlideShare a Scribd company logo
Logistic Regression
An Introduction for Students
Why Logistic Regression?
• Used for binary classification problems
• Predicts probability of outcome between 0
and 1
• Unlike linear regression, output is bounded
• Common in medical diagnosis, spam
detection, fraud detection
Sigmoid Function
• Maps any real value to (0, 1)
• Formula: σ(z) = 1 / (1 + e^(-z))
• S-shaped curve for probability mapping
Mathematical Form
• Linear predictor: z = β0 + β1x1 + β2x2 + ... +
βnxn
• Probability: p = σ(z)
• Logit form: log(p/(1-p)) = β0 + β1x1 + ... + βnxn
Odds and Log-Odds
• Odds: p / (1-p)
• Log-Odds (logit): log(p/(1-p))
• Coefficients represent change in log-odds per
unit change in predictor
Example
• Predicting disease based on age and BMI
• Model outputs probability of disease
• Threshold (e.g., 0.5) used for classification
Decision Boundary
• Separates classes in feature space
• Probability threshold defines boundary
• Can be visualized in 2D for two features
Key Assumptions
• Binary dependent variable
• Linearity of independent variables and log-
odds
• No or little multicollinearity
• Independent observations
Summary
• Logistic regression models probability
• Uses sigmoid to bound predictions
• Interpretable through odds ratios
• Widely used for classification tasks

More Related Content

PPTX
Logistic Regression in machine learning ppt
PDF
Module -6.pdf Machine Learning Types and examples
PPTX
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
PDF
3ml.pdf
PPTX
lec+5+_part+1 cloud .pptx
PDF
Logistic regression in Machine Learning
PPTX
Predictive analytics and Type of Predictive Analytics
PPT
Logistic regression.ppt
Logistic Regression in machine learning ppt
Module -6.pdf Machine Learning Types and examples
Logistic Regression | Logistic Regression In Python | Machine Learning Algori...
3ml.pdf
lec+5+_part+1 cloud .pptx
Logistic regression in Machine Learning
Predictive analytics and Type of Predictive Analytics
Logistic regression.ppt

Similar to logistic_regression_intro_simple_lang.pptx (20)

PPTX
Group 20_Logistic Regression devara.pptx
PDF
Logistic regression, machine learning algorithms
PDF
7_logistic-regression presentation sur la regression logistique.pdf
PPTX
Linear Regression and Logistic Regression in ML
PPTX
Logistic Regression power point presentation.pptx
PDF
Machine Learning-Lec5.pdf_explain of logistic regression
PPTX
Supervised Machine Learning Algorithms
PDF
Machine Learning Algorithm - Logistic Regression
PPTX
Logistic regression is a data analysis technique that uses mathematics to fin...
PPTX
Logistic regression is a data analysis technique that uses mathematics to fin...
PDF
Logistic regression : Use Case | Background | Advantages | Disadvantages
PDF
logisticregression-190726150723.pdf
PPTX
LOGISTIC_REGRESSION for AI and ML Beginners
PPTX
logistic regression in Data science Presentation
PPTX
Classification Algortyhm of Machine Learning
PPTX
Logistic regression
PPTX
Logistic Regression.pptx
PPTX
Logistic Regression - Intro to Data Analytics
PDF
Logistic regression
PDF
Logistic Regression : classification algorithm
Group 20_Logistic Regression devara.pptx
Logistic regression, machine learning algorithms
7_logistic-regression presentation sur la regression logistique.pdf
Linear Regression and Logistic Regression in ML
Logistic Regression power point presentation.pptx
Machine Learning-Lec5.pdf_explain of logistic regression
Supervised Machine Learning Algorithms
Machine Learning Algorithm - Logistic Regression
Logistic regression is a data analysis technique that uses mathematics to fin...
Logistic regression is a data analysis technique that uses mathematics to fin...
Logistic regression : Use Case | Background | Advantages | Disadvantages
logisticregression-190726150723.pdf
LOGISTIC_REGRESSION for AI and ML Beginners
logistic regression in Data science Presentation
Classification Algortyhm of Machine Learning
Logistic regression
Logistic Regression.pptx
Logistic Regression - Intro to Data Analytics
Logistic regression
Logistic Regression : classification algorithm
Ad

Recently uploaded (20)

PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PPTX
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
PDF
Transcultural that can help you someday.
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
CYBER SECURITY the Next Warefare Tactics
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
 
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Optimise Shopper Experiences with a Strong Data Estate.pdf
PPTX
Introduction to Inferential Statistics.pptx
PDF
Introduction to the R Programming Language
PDF
Microsoft 365 products and services descrption
PPT
Predictive modeling basics in data cleaning process
PPTX
A Complete Guide to Streamlining Business Processes
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PDF
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
PPTX
Steganography Project Steganography Project .pptx
 
DOCX
Factor Analysis Word Document Presentation
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
Transcultural that can help you someday.
STERILIZATION AND DISINFECTION-1.ppthhhbx
CYBER SECURITY the Next Warefare Tactics
Capcut Pro Crack For PC Latest Version {Fully Unlocked 2025}
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
 
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Optimise Shopper Experiences with a Strong Data Estate.pdf
Introduction to Inferential Statistics.pptx
Introduction to the R Programming Language
Microsoft 365 products and services descrption
Predictive modeling basics in data cleaning process
A Complete Guide to Streamlining Business Processes
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
Steganography Project Steganography Project .pptx
 
Factor Analysis Word Document Presentation
Ad

logistic_regression_intro_simple_lang.pptx

  • 2. Why Logistic Regression? • Used for binary classification problems • Predicts probability of outcome between 0 and 1 • Unlike linear regression, output is bounded • Common in medical diagnosis, spam detection, fraud detection
  • 3. Sigmoid Function • Maps any real value to (0, 1) • Formula: σ(z) = 1 / (1 + e^(-z)) • S-shaped curve for probability mapping
  • 4. Mathematical Form • Linear predictor: z = β0 + β1x1 + β2x2 + ... + βnxn • Probability: p = σ(z) • Logit form: log(p/(1-p)) = β0 + β1x1 + ... + βnxn
  • 5. Odds and Log-Odds • Odds: p / (1-p) • Log-Odds (logit): log(p/(1-p)) • Coefficients represent change in log-odds per unit change in predictor
  • 6. Example • Predicting disease based on age and BMI • Model outputs probability of disease • Threshold (e.g., 0.5) used for classification
  • 7. Decision Boundary • Separates classes in feature space • Probability threshold defines boundary • Can be visualized in 2D for two features
  • 8. Key Assumptions • Binary dependent variable • Linearity of independent variables and log- odds • No or little multicollinearity • Independent observations
  • 9. Summary • Logistic regression models probability • Uses sigmoid to bound predictions • Interpretable through odds ratios • Widely used for classification tasks