Machine Learning (ML) MCQ Quiz Hub

Machine Learning (ML) MCQ Set 07

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

Identify the various approaches for machine learning.





✅ Correct Answer: 4

what is the function of Unsupervised Learning?





✅ Correct Answer: 4

What are the two methods used for the calibration in Supervised Learning?





✅ Correct Answer: 1

Which of the following are several models for feature extraction





✅ 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

Which of the following assumptions do we make while deriving linear regression parameters?1. The true relationship between dependent y and predictor x is linear2. The model errors are statistically independent3. The errors are normally distributed with a 0 mean and constant standard deviation4. The predictor x is non-stochastic and is measured error-free





✅ Correct Answer: 4

Generally, which of the following method(s) is used for predicting continuous dependent variable?1. Linear Regression2. Logistic Regression





✅ Correct Answer: 2

Suppose you are training a linear regression model. Now consider these points.1. Overfitting is more likely if we have less data2. Overfitting is more likely when the hypothesis space is small.Which of the above statement(s) are correct?





✅ Correct Answer: 3

Suppose we fit Lasso Regression to a data set, which has 100 features (X1,X2X100). 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 aboutRidge or Lasso regression methods in case of feature selection?





✅ Correct Answer: 2

Which of the following statement(s) can





✅ Correct Answer: 1

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 dont 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

When the C parameter is set to infinite, which of the following holds true?





✅ Correct Answer: 1

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 its 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 isnotsupervised 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





✅ 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

there's a growing interest in pattern recognition and associative memories whose structure and functioning are similar to what happens in the neocortex. Such an approach also allows simpler algorithms called





✅ Correct Answer: 3

showed better performance than other approaches, even without a context- based model





✅ 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

Suppose you are training a linear regression model. Now consider these points.1. Overfitting is more likely if we have less data2. Overfitting is more likely when the hypothesis space is small. Which of the above statement(s) are correct?





✅ Correct Answer: 3

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





✅ Correct Answer: 4

How many coefficients do you need to estimate in a simple linear regression model (One independent variable)?





✅ Correct Answer: 2

For the given weather data, Calculate probability of playing





✅ Correct Answer: 2

In reinforcement learning, this feedback is usually called as .





✅ Correct Answer: 3

Reinforcement learning is particularly





✅ Correct Answer: 4

Lets 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 of the following sentence is FALSE regarding regression?





✅ Correct Answer: 4

Which of the following method is used to find the optimal features for cluster analysis





✅ Correct Answer: 4

scikit-learn also provides functions for creatingdummy datasets from scratch:





✅ 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 atleast valid options





✅ Correct Answer: 2

In which of the following each categorical label is first turned into a positive integer and then transformed into a vector where only one feature is 1 while all the others are 0





✅ Correct Answer: 3

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

When it is necessary to allow the model to develop a generalization ability and avoid a common problemcalled





✅ Correct Answer: 1

What does learning exactly mean?





✅ Correct Answer: 3

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





✅ Correct Answer: 1

In reinforcement learning, this feedback is usually called as .





✅ Correct Answer: 3

can be adopted when it's necessary to categorize a large amount of data with a fewcomplete examples or when there's the need to





✅ Correct Answer: 2

100 people are at party. Given data gives information about how many wear pink or not, and if a man or not. Imagine a pink wearing guest leaves, what is the probability of being a man





✅ Correct Answer: 2

For the given weather data, what is the probability that players will play if weather is sunny





✅ Correct Answer: 4

If I am using all features of my dataset and I achieve 100% accuracy on my training set, but ~70% on validation set, what should I look out for?





✅ Correct Answer: 3

What is the purpose of performing cross- validation?





✅ Correct Answer: 3

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

What do you mean by generalization error in terms of the SVM?





✅ Correct Answer: 2

The minimum time complexity for training an SVM is O(n2). According to this fact, what sizes of datasets are not best suited for SVMs?





✅ Correct Answer: 1

Suppose you have trained an SVM with linear decision boundary after training SVM, you correctly infer that your SVM model is under fitting.Which of the following option would you more likely to consider iterating SVM next time?





✅ Correct Answer: 3

For the given weather data, Calculate probability of not playing





✅ Correct Answer: 3

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 have been given a dataset with n records in which we have input attribute as x and output attribute as y. Suppose we use a linear regression method to model this data. To test our linear regressor, we split the data in training set and test set randomly. What do you expect will happen with bias and variance as you increase the size of training data?





✅ Correct Answer: 4

We have been given a dataset with n records in which we have input attribute as x and output attribute as y. Suppose we use a linear regression method to model this data. To test our linear regressor, we split the data in training set and test set randomly. Now we increase the training set size gradually. As the training set size increases, what do you expect will happen with the mean training error?





✅ Correct Answer: 4

Suppose that we have N independent variables (X1,X2 Xn) and dependent variable is Y. Now Imagine that you are applying linear regression by fitting the best fit line using least square error on this data. You found that correlation coefficient for one of its variable(Say X1) with Y is -0.95.Which of the following is true for X1?





✅ Correct Answer: 3

there's a growing interest in pattern recognition and associative memories whose structure and functioningare similar to what happens in the neocortex. Such an





✅ Correct Answer: 3