Noc20-Cs28 Week 07 Assignment 02

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)

[email protected]

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Data Science for Engineers (course)

Announcements (announcements) About the Course (https://swayam.gov.in/nd1_noc20_cs28/preview)

Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

Unit 9 - Week 7

Course
outline Assignment 7
How does an The due date for submitting this assignment has passed. Due on 2020-03-18, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?

Week 0 Click here (https://drive.google.com/open?id=1zOrZNhZUk1W7az9KSYIw1uSiMmomZJCS) to


download the Data sets
Week 1
1) The method used to estimate the parameters of logistic regression is 1 point
Week 2
ordinary least squares
Week 3 maximum likelihood estimation
poisson distribution
Week 4
negative binomial distribution

Week 5 No, the answer is incorrect.


Score: 0
Accepted Answers:
Week 6
maximum likelihood estimation

Week 7 2) The value of the sigmoid function when x = +∞ is 1 point

Cross Validation +∞
(unit?
-∞
unit=55&lesson=54)
0
Multiple Linear
1
Regression
Modelling No, the answer is incorrect.
Building and Score: 0
Selection (unit? Accepted Answers:
unit=55&lesson=56) 1

3) Which of the following measures cannot be used to calculate specificity? 1 point

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 1/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

Classification False Positive


(unit?
False Negative
unit=55&lesson=57)
True Negative
Logisitic
None of the above
Regression
(unit? No, the answer is incorrect.
unit=55&lesson=58) Score: 0
Accepted Answers:
Logisitic False Negative
Regression (
Continued ) 4) ROC curve is a plot of 1 point
(unit?
unit=55&lesson=59) Precision vs recall

Performance Accuracy vs misclassification rate


Measures (unit? Specificity vs Sensitivity
unit=55&lesson=60)
True Positive Rate vs False Positive Rate
Logisitic No, the answer is incorrect.
Regression Score: 0
Implementation Accepted Answers:
in R (unit? True Positive Rate vs False Positive Rate
unit=55&lesson=61)

Dataset (unit?
unit=55&lesson=62)
Based on the information given below answer the questions from 5 to 7.
FAQ (unit? Read the given dataset ‘auto_mpg.csv’ in Rstudio.
unit=55&lesson=63)
The data is about vehicle performance. The objective is to predict the miles per gallon given the other
Quiz : Practice
Assignment 7 attributes.
(assessment?
name=96)

Quiz :
Assignment 7
(assessment?
name=124)

Week 7
Feedback (unit?
unit=55&lesson=126)

Solution -
Assignment 7
(unit?
unit=55&lesson=130)

Week 8

Text Transcripts Build the linear regression model ‘model_1’ using the above variables

5) The intercept of the full model is (rounded off to two decimal places) 1 point
Download Videos
1.43
0.15
7.12
4.98
No, the answer is incorrect.
Score: 0
Accepted Answers:
7.12

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 2/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

6) The coefficient of the variable model_year is (rounded off to three decimal places) 1 point

0.459
-0.041
0.005
7.123
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.459

7) Which of the following variables are significant at 1% level of significance? 1 point

weight and cylinder


weight and model_year
model_year and acceleration
model_year and horsepower
No, the answer is incorrect.
Score: 0
Accepted Answers:
weight and model_year

Based on the question 7, answer questions 8 and 9.

After identifying the significant variables from question 7, build the new model ‘model_2’ using the
same.

8) The coefficient of determination for model_2 is 1 point

0.802
0.782
0.79
0.814
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.814

9) The standard error corresponding to the coefficient of model_year for model_2 is (rounded 1 point
off to three decimal places)

0.057
0.001
0.470
4.342
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.057

Build the linear regression model ‘model_3’ using all the variables except displacement and
acceleration.
Answer questions 10 to 11 based on this model.

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 3/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

10)The adjusted R2 of model_3 is 1 point

0.801
0.791
0.813
0.816
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.813

11)The t value corresponding to the coefficient for the variable horsepower is 1 point

1.335
-1.373
-0.336
-0.002
No, the answer is incorrect.
Score: 0
Accepted Answers:
-0.336

12)Which of the following performance measures cannot be used for regression? 1 point

R-Squared
RMSE
Accuracy
Durbin-Watson
No, the answer is incorrect.
Score: 0
Accepted Answers:
Accuracy

Based on the information given below answer the questions from 14 to 20.
Given the datasets “Titanic_Train.csv” & “Titanic_Test.csv" read them as two separate data frames -
Train_Data and Test_Data.

The data provides information on the fate of passengers on the fatal maiden voyage of the ocean liner
‘Titanic’, and the description
of variables are given below. Build a logistic regression model using the “Train_Data” after identifying
the output class label. Predict the model on the “Test_Data” and answer the questions from 14 to
19.

13)The estimate value of intercept is (rounded off to two decimal places) 1 point

3.95
4.69

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 4/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

5.83
6.69
No, the answer is incorrect.
Score: 0
Accepted Answers:
4.69

14)The standard error for the coefficient of variable Pclass is (rounded off to two decimal places) 1 point

0.86
0.36
0.16
0.57
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.16

15)The accuracy score of the model is 1 point

0.74
0.86
0.69
0.79
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.79

16)Number of misclassified samples are 1 point

63
24
43
19
No, the answer is incorrect.
Score: 0
Accepted Answers:
43

17)The proportion of positive cases that were correctly identified is 1 point

0.768
0.782
0.724
0.791
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.768

18)Balanced accuracy of the model is (rounded off to three decimal places) 1 point

0.791
0.782
0.729

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 5/6
02/07/2020 Data Science for Engineers - - Unit 9 - Week 7

0.7241
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.782

19)Misclassification rate of the model is 1 point

0.79
0.21
1
0.78
No, the answer is incorrect.
Score: 0
Accepted Answers:
0.21

https://onlinecourses.nptel.ac.in/noc20_cs28/unit?unit=55&assessment=124 6/6

You might also like