0% found this document useful (0 votes)
35 views3 pages

Linear Logistic Individual Assignment - Answers

Linear logistics regression
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views3 pages

Linear Logistic Individual Assignment - Answers

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

Logistic Regression Assignment

1. How many types of occupations do we have?

Ans : b. 14

2. How many people are working as tech support and have an annual
income
greater than 50k?

Ans : a. 278

3. How many total missing values are present in the dataset?

Ans : a. 4262

4. If there are missing values in the Marital Status column, which option
among
the following should be used for replacing the missing values:

Ans : c. Mode

5. How many people are having private work classes and are not from the
United States of America?

Ans : a. 2151

6. How many people are either having Annual Income(last column) less
than or
equal to 50k or their working hours is greater than or equal to 40 hrs:

Ans : c. 29505

7. Which of the following methods can you use for handling outliers?

Ans : c. Both of the above methods


8. Chi-square is used to analyze:

Ans : c. both a and b

9. What is VIF?

Ans : a. It can detect multicollinearity

10.What predict_proba will tell you?

Ans : a. It will predict the class probabilities

11.Logistic regression is useful for regression problems:

Ans : b. False

12.In logistic regression, if the predicted logit is 0, what’s the


transformed probability?

Ans : c. Both of the above

13.Which variant of logistic regression is recommended when you have


a categorical dependent variable with more than two values?

Ans : b. Multinomial logistic regression

14.What is the accuracy score of the above model?

Ans : c. 0.70 to 0.85 (Refer the Jupyter notebook work file)

15.What is the specificity of the above model?

Ans : d. None of the above

16.What is the model’s precision when the target is False?

Ans : c. 0.70 to 0.80

17.What is the total support value from the above model?

Ans a. 9049
18.What is the f1 score of the above model when the target is
True?
Ans a. 0.30 to 0.40

19.How many records are correctly classified by the


model?

Ans d. None of the above

You might also like