Machine Learning (ML) MCQ Quiz Hub

Machine Learning (ML) MCQ Set 10

Choose a topic to test your knowledge and improve your Machine Learning (ML) skills

A supervised scenario is characterized by the concept of a _____.





✅ Correct Answer: 2

overlearning causes due to an excessive ______.





✅ Correct Answer: 1

Which of the following are several models for feature extraction





✅ Correct Answer: 4

_ provides some built-in datasets that can be used for testing purposes.





✅ Correct Answer: 1

While using _____ all labels areturned into sequential numbers.





✅ Correct Answer: 1

___produce sparse matrices of real numbers that can be fed into any machine learning model.





✅ Correct Answer: 3

scikit-learn offers the class______, which is responsible for filling the holes using a strategy based on the mean, median, or frequency





✅ Correct Answer: 4

scikit-learn also provides a class for per-sample normalization,_____





✅ Correct Answer: 1

_____dataset with many features contains information proportional to the independence of all features and their variance.





✅ Correct Answer: 2

In order to assess how much information is brought by each component, and the correlation among them, a useful tool is the_____.





✅ Correct Answer: 4

The_____ parameter can assume different values which determine how the data matrix is initially processed.





✅ Correct Answer: 3

Which of the following statement is true about outliers in Linear regression?





✅ Correct Answer: 1

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





✅ Correct Answer: 4

In a linear regression problem, we are using “R-squared” to measure goodness-of-fit. We add a feature in linear regression model and retrain the same model.Which of the following option is true?





✅ Correct Answer: 3

To test linear relationship of y(dependent) and x(independent) continuous variables, which of the following plot best suited?





✅ Correct Answer: 1

which of the following step / assumption in regression modeling impacts the trade-off between under-fitting and over-fitting the most.





✅ Correct Answer: 1

Which of the following is true about “Ridge” or “Lasso” regression methods in case of feature selection?





✅ Correct Answer: 2

Which of the following statement(s) can be true post adding a variable in a linear regression model?1. R-Squared and Adjusted R-squared both increase2. R-Squared increases and Adjusted R-squared decreases3. R-Squared decreases and Adjusted R-squared decreases4. R-Squared decreases and Adjusted R-squared increases





✅ Correct Answer: 1

What is/are true about kernel in SVM?1. Kernel function map low dimensional data to high dimensional space2. It’s a similarity function





✅ Correct Answer: 3

Suppose you are building a SVM model on data X. The data X can be error prone which means that you should not trust any specific data point too much. Now think that you want to build a SVM model which has quadratic kernel function of polynomial degree 2 that uses Slack variable C as one of it’s hyper parameter.What would happen when you use very small C (C~0)?





✅ Correct Answer: 1

The cost parameter in the SVM means:





✅ Correct Answer: 3

How do you handle missing or corrupted data in a dataset?





✅ Correct Answer: 4

Which of the following statements about Naive Bayes is incorrect?





✅ Correct Answer: 2

The SVM’s are less effective when:





✅ Correct Answer: 3

If there is only a discrete number of possible outcomes called _____.





✅ Correct Answer: 2

Some people are using the term ___ instead of prediction only to avoid the weird idea that machine learning is a sort of modern magic.





✅ Correct Answer: 1

The term _____ can be freely used, but with the same meaning adopted in physics or system theory.





✅ Correct Answer: 4

Common deep learning applications / problems can also be solved using____





✅ Correct Answer: 2

what is the function of ‘Unsupervised Learning’?





✅ Correct Answer: 4

In a linear regression problem, we are using “R-squared” to measure goodness-of-fit. We add a feature in linear regression model and retrain the same model.Which of the following option is true?





✅ Correct Answer: 3

Suppose we fit “Lasso Regression” to a data set, which has 100 features (X1,X2…X100). Now, we rescale one of these feature by multiplying with 10 (say that feature is X1), and then refit Lasso regression with the same regularization parameter.Now, which of the following option will be correct?





✅ Correct Answer: 2

Which of the following is true about “Ridge” or “Lasso” regression methods in case of feature selection?





✅ Correct Answer: 2

We can also compute the coefficient of linear regression with the help of an analytical method called “Normal Equation”. Which of the following is/are true about “Normal Equation”?1. We don’t have to choose the learning rate2. It becomes slow when number of features is very large3. No need to iterate





✅ Correct Answer: 4

Which of the following option is true regarding “Regression” and “Correlation” ?Note: y is dependent variable and x is independent variable.





✅ Correct Answer: 4

Suppose you are building a SVM model on data X. The data X can be error prone which means that you should not trust any specific data point too much. Now think that you want to build a SVM model which has quadratic kernel function of polynomial degree 2 that uses Slack variable C as one of it’s hyper parameter.What would happen when you use very large value of C(C->infinity)?





✅ Correct Answer: 1

Hyperplanes are _____________boundaries that help classify the data points.





✅ Correct Answer: 2

The _____of the hyperplane depends upon the number of features.





✅ Correct Answer: 1

What is the purpose of performing cross-validation?





✅ Correct Answer: 3

Which of the following is true about Naive Bayes ?





✅ Correct Answer: 3

Which of the following is not supervised learning?





✅ Correct Answer: 1

___can be adopted when it's necessary to categorize a large amount of data with a few complete examples or when there's the need to impose some constraints to a clustering algorithm.





✅ Correct Answer: 2

In reinforcement learning, this feedback is usually called as___.





✅ Correct Answer: 3

In the last decade, many researchers started training bigger and bigger models, built with several different layers that's why this approach is called_____.





✅ Correct Answer: 1

Suppose we fit “Lasso Regression” to a data set, which has 100 features (X1,X2…X100). Now, we rescale one of these feature by multiplying with 10 (say that feature is X1), and then refit Lasso regression with the same regularization parameter.Now, which of the following option will be correct?





✅ Correct Answer: 2

. If Linear regression model perfectly first i.e., train error is zero, then ____________





✅ Correct Answer: 3

In syntax of linear model lm(formula,data,..), data refers to ______





✅ Correct Answer: 2

Which of the following option is true regarding “Regression” and “Correlation” ?Note: y is dependent variable and x is independent variable.





✅ Correct Answer: 4

Let’s say, you are working with categorical feature(s) and you have not looked at the distribution of the categorical variable in the test data. You want to apply one hot encoding (OHE) on the categorical feature(s). What challenges you may face if you have applied OHE on a categorical variable of train dataset?





✅ Correct Answer: 4

__which can accept a NumPy RandomState generator or an integer seed.





✅ Correct Answer: 2

. In many classification problems, the target dataset is made up of categorical labels which cannot immediately be processed by any algorithm. An encoding is needed and scikit-learn offers at least_____valid options





✅ Correct Answer: 2

_is the most drastic one and should be considered only when the dataset is quite large, the number of missing features is high, and any prediction could be risky.





✅ Correct Answer: 1

Suppose you have fitted a complex regression model on a dataset. Now, you are using Ridge regression with tuning parameter lambda to reduce its complexity. Choose the option(s) below which describes relationship of bias and variance with lambda.





✅ Correct Answer: 3

Function used for linear regression in R is __________





✅ Correct Answer: 1

Suppose, you got a situation where you find that your linear regression model is under fitting the data. In such situation which of the following options would you consider?1. I will add more variables2. I will start introducing polynomial degree variables3. I will remove some variables





✅ Correct Answer: 1

We usually use feature normalization before using the Gaussian kernel in SVM. What is true about feature normalization? 1. We do feature normalization so that new feature will dominate other 2. Some times, feature normalization is not feasible in case of categorical variables3. Feature normalization always helps when we use Gaussian kernel in SVM





✅ Correct Answer: 2