Search Header Logo

Stats+Python ISA Test - Quiz 2

Authored by Riti Bera

Instructional Technology, Computers, Business

University - Professional Development

Used 7+ times

Stats+Python ISA Test - Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Q: Which of the following clustering algorithm is the most sensitive to outliers?

K-medians clustering algorithm

K-modes clustering algorithm

K-means clustering algorithm

K-medoids clustering algorithm

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Q: Consider the image attached and write the code in python needed to create a dataframe that looks as this one?

DepartmentData=DataFrame({'DOJ': ['12-Mar-2020','2-Feb-2020','15-Jan-2020','23-Apr-2019','14-Sep-2019'],

'Dep': ['BI','QA','DEV','DEV','QA'],

'id': [101,102,103,104,105],

})

DepartmentData=pd.DataFrame({'DOJ': ['12-Mar-2020','2-Feb-2020','15-Jan-2020','23-Apr-2019','14-Sep-2019'],

'Dep': ['BI','QA','DEV','DEV','QA'],

'id': [101,102,103,104,105]

})

DepartmentData=pd.DataFrame({DOJ== ['12-Mar-2020','2-Feb-2020','15-Jan-2020','23-Apr-2019','14-Sep-2019'],

Dep==['BI','QA','DEV','DEV','QA'],

id== [101,102,103,104,105]

})

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q: Which of the following should be imported from sklearn to measure the classification or model performance and accuracy?

metrics

Pandas

Numpy

MASS

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Q: Consider the following image depicting association between price and age variable. What would you conclude from the output?

Positive correlation between variables

Negative correlation between variables

Zero correlation between variables

Cannot say

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Q: Which of the following code computes or executes the best fit of the Linear regression model as listed below?

LREG.predict

plt.plot.fit

LREG.fit

RegModel.fit

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q: Let’s say, a “Linear regression” model perfectly fits the training data (train error is zero). Now, Which of the following statement is true?

You will always have test error zero

You can not have test error zero

Error may be zero, if there is no noise in the test data.

None of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Q: What is bootstrap sampling in statistics and machine learning?

It is a power option to reboot your final model

A library used to improve model accuracy in python

Drawing of sample data repeatedly with replacement, to estimate population parameter

Drawing of random samples into the population to estimate the best sample

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?