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

1. Identify the various approaches for machine learning.




2. what is the function of Unsupervised Learning?




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




4. Which of the following are several models for feature extraction




5. 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?




6. 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




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




8. 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?




9. 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?




10. Which of the following is true aboutRidge or Lasso regression methods in case of feature selection?




11. Which of the following statement(s) can




12. 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




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




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




15. 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)?




16. Hyperplanes are boundaries that help classify the data points.




17. The of the hyperplane depends upon the number of features.




18. What is the purpose of performing cross- validation?




19. Which of the following is true about Naive Bayes ?




20. Which of the following isnotsupervised learning?




21. 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.




22. In reinforcement learning, this feedback is




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




24. 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




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




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




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




28. 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?




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




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




31. For the given weather data, Calculate probability of playing




32. In reinforcement learning, this feedback is usually called as .




33. Reinforcement learning is particularly




34. 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?




35. Which of the following sentence is FALSE regarding regression?




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




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




38. which can accept a NumPy RandomState generator or an integer seed.




39. 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




40. 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




41. 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.




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




43. What does learning exactly mean?




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




45. In reinforcement learning, this feedback is usually called as .




46. 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




47. 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




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




49. 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?




50. What is the purpose of performing cross- validation?




51. 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




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




53. 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?




54. 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?




55. For the given weather data, Calculate probability of not playing




56. 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




57. 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?




58. 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?




59. 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?




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