You are on page 1of 4

BHARATI VIDYAPEETH

COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
ACADEMIC YEAR: 2021-2022

COURSE NAME: DS using Python Lab


COURSE CODE ITL605

PRACTICAL NO. 5

PRACTICAL TITLE Regression Analysis

NAME OF STUDENT Neha Vilas Chogale

ROLL NO. 13

CLASS TE-IT

SEMESTER VI

GIVEN DATE 22/02/2022

SUBMISSION DATE 08/03/2022

CORRECTION DATE

REMARK
TIMELY TOTAL
PRESENTATION UNDERSTANDING
SUBMISSION MARKS

04 04 07 15
NAME& SIGN.
Prof.B.S.Dakhare
OF FACULTY
EXPERIMENT 04

AIM:To implement regression analysis

THEORY:

What is Regression Analysis?


Regression analysis is a set of statistical methods used for the estimation of
relationships between a dependent variable and one or more independent
variables. It can be utilised to assess the strength of the relationship between
variables and for modelling the future relationship between them.

Logistic Regression

Logistic regression becomes a classification technique only when a decision


threshold is brought into the picture. The setting of the threshold value is a very
important aspect of Logistic regression and is dependent on the classification
problem itself.

The decision for the value of the threshold value is majorly affected by the
values of precision and recall. Ideally, we want both precision and recall to be 1,
but this seldom is the case

a. Perform Logistic Regression to find out relation between variables.


b. Apply regression Model techniques to predict the data on above dataset

colab link:
https://colab.research.google.com/drive/1Tjb5LroRPzTK54SCl2hectjM_jXL1q
cz?usp=sharing

CONCLUSION: Thus, We can conclude that,

● The logistic regression model accuracy score is 0.754. So, the model does
a very good job in predicting weather
● The model shows no signs of overfitting.
● Increasing the threshold level results in increased accuracy.
● ROC AUC of our model approaches towards 1. So, we can conclude that
our classifier does a good job in predicting weather.

You might also like