0% found this document useful (0 votes)
11 views1 page

Experiment 5B - Minor

This document outlines an experiment on implementing Logistic Regression for predicting binary outcomes in a Data Science lab. It covers the theory behind Logistic Regression, its application in binary classification, and the evaluation metrics such as Precision, Recall, and the Confusion Matrix. The conclusion emphasizes the learning objective of using Logistic Regression to make predictions.

Uploaded by

Swapnil Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Experiment 5B - Minor

This document outlines an experiment on implementing Logistic Regression for predicting binary outcomes in a Data Science lab. It covers the theory behind Logistic Regression, its application in binary classification, and the evaluation metrics such as Precision, Recall, and the Confusion Matrix. The conclusion emphasizes the learning objective of using Logistic Regression to make predictions.

Uploaded by

Swapnil Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Semester: VI

Academic Year: 2022-23 Subject: DS skill based lab


Class / Branch: TE IT

Experiment No.5B

Aim: Aim: To implement Logistic Regression to predicts output

Prerequisites: python.

Theory:

Logistic Regression is one of the most simple and commonly used Machine Learning algorithms
for two-class classification. It is easy to implement and can be used as the baseline for any
binary classification problem. Its basic fundamental concepts are also constructive in deep
learning. Logistic regression describes and estimates the relationship between one dependent
binary variable and independent variables.

Logistic regression is a statistical method for predicting binary classes. The outcome or target
variable is dichotomous in nature. Dichotomous means there are only two possible classes. For
example, it can be used for cancer detection problems. It computes the probability of an event
occurrence.

It is a special case of linear regression where the target variable is categorical in nature. It uses a
log of odds as the dependent variable. Logistic Regression predicts the probability of occurrence
of a binary event utilizing a logit function.

Classification Report:

The classification report displays the Precision, Recall , F1 and Support scores for the model.

Precision score means the the level up-to which the prediction made by the model is precise.

Recall is the amount up-to which the model can predict the outcome.

Confusion matrix:

Confusion matrix is a table which describes the performance of a prediction model. A confusion
matrix contains the actual values and predicted values. we can use these values to calculate the
accuracy score of the model.

Conclusion: -
In this experiment, we studied how to use logistic Regression to predicts output.

You might also like