Part-A Assignment No. 5
Part-A Assignment No. 5
Coding Timely
Answers Viva Dated Sign of
Efficiency Completion Total
(25%) (25%) Subject Teacher
(25 %) (25%)
5 5 5 5 20
Group A
Assignment No: 5
----------------------------------------------------------------------------------------------------------------
Title of the Assignment:
1. Implement logistic regression using Python/R to perform classification on
Social_Network_Ads.csv dataset.
2. Compute Confusion matrix to find TP, FP, TN, FN, Accuracy, Error rate, Precision,
Recall on the given dataset..
----------------------------------------------------------------------------------------------------------------
Objective of the Assignment: Students should be able to data analysis using logistic
regression using Python for any open source dataset
---------------------------------------------------------------------------------------------------------------
Prerequisite:
1. Basic of Python Programming
2.Concept of Regression.
---------------------------------------------------------------------------------------------------------------
Contents for Theory:
1. Logistic Regression
2. Differentiate between Linear and Logistic Regression
3. Sigmoid Function
4. Types of LogisticRegression
2) Comment on whether the model is best fit or not based on the calculated values.
3) Write python code for the preprocessing mentioned in step 4. and Explain every
step in detail.