Practice Library

All MCQs

Browse exam-wise, subject-wise, and country-wise MCQs with explanations.

Medium

Why should numerical features often be standardized before using k-NN?

Choose an option to check your answer.

Medium

What is a likely effect of choosing an excessively large k in k-NN?

Choose an option to check your answer.

Medium

Why can choosing k = 1 make a k-NN classifier sensitive to noise?

Choose an option to check your answer.

Easy

In k-NN, what does the hyperparameter k specify?

Choose an option to check your answer.

Easy

Which distance is commonly used by basic k-NN for numerical features?

Choose an option to check your answer.

Easy

k-nearest neighbors used with labeled training examples is a form of:

Choose an option to check your answer.

Medium

A regression coefficient for temperature is negative. What does this sign indicate, holding other predictors fixed?

Choose an option to check your answer.

Medium

A regression model must include a nominal variable with categories red, blue, and green. What is a suitable approach?

Choose an option to check your answer.

Medium

Why is predicting a house price for 1,000 square meters risky when training areas ranged only from 50 to 300?

Choose an option to check your answer.

Hard

Two predictors in a regression are almost linear combinations of each other. What problem can result?

Choose an option to check your answer.

Medium

What is the main interpretive advantage of root mean squared error over mean squared error?

Choose an option to check your answer.

Easy

Which regression metric averages squared prediction errors?

Choose an option to check your answer.