

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) .
401. |
Which of the following is true about Ridge or Lasso regression methods in case of feature selection? |
A. | ridge regression uses subset selection of features |
B. | lasso regression uses subset selection of features |
C. | both use subset selection of features |
D. | none of above |
Answer» B. lasso regression uses subset selection of features |
402. |
Which of the following statement(s) can |
A. | 1 and 2 |
B. | 1 and 3 |
C. | 2 and 4 |
D. | none of the above |
Answer» A. 1 and 2 |
403. |
We can also compute the coefficient of linear regression with the help of an analytical method called Normal Equation.
|
A. | 1 and 2 |
B. | 1 and 3. |
C. | 2 and 3. |
D. | 1,2 and 3. |
Answer» D. 1,2 and 3. |
404. |
If two variables are correlated, is it necessary that they have a linear relationship? |
A. | yes |
B. | no |
Answer» B. no |
405. |
Which of the following option is true regarding Regression and Correlation ?Note: y is dependent variable and x is independent variable. |
A. | the relationship is symmetric between x and y in both. |
B. | the relationship is not symmetric between x and y in both. |
C. | the relationship is not symmetric between x and y in case of correlation but in case of regression it is symmetric. |
D. | the relationship is symmetric between x and y in case of correlation but in case of regression it is not symmetric. |
Answer» D. the relationship is symmetric between x and y in case of correlation but in case of regression it is not symmetric. |
406. |
Suppose you are using a Linear SVM classifier with 2 class classification |
A. | yes |
B. | no |
Answer» A. yes |
407. |
If you remove the non-red circled points from the data, the decision boundary will change? |
A. | true |
B. | false |
Answer» B. false |
408. |
When the C parameter is set to infinite, which of the following holds true? |
A. | the optimal hyperplane if exists, will be the one that completely separates the data |
B. | the soft-margin classifier will separate the data |
C. | none of the above |
Answer» A. the optimal hyperplane if exists, will be the one that completely separates the data |
409. |
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)? |
A. | we can still classify data correctly for given setting of hyper parameter c |
B. | we can not classify data correctly for given setting of hyper parameter c |
C. | can�t say |
D. | none of these |
Answer» A. we can still classify data correctly for given setting of hyper parameter c |
410. |
SVM can solvelinearand non- linearproblems |
A. | true |
B. | false |
Answer» A. true |
411. |
The objective of the support vector machine algorithm is to find a hyperplane in an N-dimensional space(N the number of features) that distinctly classifies the data points. |
A. | true |
B. | false |
Answer» A. true |
412. |
Hyperplanes are boundaries that help classify the data points. |
A. | usual |
B. | decision |
C. | parallel |
Answer» B. decision |
413. |
The of the hyperplane depends upon the number of features. |
A. | dimension |
B. | classification |
C. | reduction |
Answer» A. dimension |
414. |
Hyperplanes are decision boundaries that help classify the data points. |
A. | true |
B. | false |
Answer» A. true |
415. |
SVMalgorithmsusea set of mathematical functions that are defined as thekernel. |
A. | true |
B. | false |
Answer» A. true |
416. |
In SVM, Kernel function is used to map a lower dimensional data into a higher dimensional data. |
A. | true |
B. | false |
Answer» A. true |
417. |
In SVR we try to fit the error within a |
A. | true |
B. | false |
Answer» A. true |
418. |
What is the purpose of performing cross- validation? |
A. | to assess the predictive performance of the models |
B. | to judge how the trained model performs outside the sample on test data |
C. | both a and b |
Answer» C. both a and b |
419. |
Which of the following is true about Naive Bayes ? |
A. | assumes that all the features in a dataset are equally important |
B. | assumes that all the features in a dataset are independent |
C. | both a and b |
D. | none of the above option |
Answer» C. both a and b |
420. |
Which of the following isnotsupervised learning? |
A. | ��pca |
B. | ��decision tree |
C. | ��naive bayesian |
D. | linerar regression |
Answer» A. ��pca |
421. |
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. |
A. | supervised |
B. | semi-supervised |
C. | reinforcement |
D. | clusters |
Answer» B. semi-supervised |
422. |
In reinforcement learning, this feedback is |
A. | overfitting |
B. | overlearning |
C. | reward |
D. | none of above |
Answer» C. reward |
423. |
In the last decade, many researchers started training bigger and bigger models, built with several different layers that's why this approach is called . |
A. | deep learning |
B. | machine learning |
C. | reinforcement learning |
D. | unsupervised learning |
Answer» A. deep learning |
424. |
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 |
A. | regression |
B. | accuracy |
C. | modelfree |
D. | scalable |
Answer» C. modelfree |
425. |
showed better performance than other approaches, even without a context- based model |
A. | machine learning |
B. | deep learning |
C. | reinforcement learning |
D. | supervised learning |
Answer» B. deep learning |
426. |
If two variables are correlated, is it necessary that they have a linear relationship? |
A. | yes |
B. | no |
Answer» B. no |
427. |
Correlated variables can have zero correlation coeffficient. True or False? |
A. | true |
B. | false |
Answer» A. true |
428. |
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? |
A. | it is more likely for x1 to be excluded from the model |
B. | it is more likely for x1 to be included in the model |
C. | can�t say |
D. | none of these |
Answer» B. it is more likely for x1 to be included in the model |
429. |
If Linear regression model perfectly first i.e., train error is zero, then |
A. | test error is also always zero |
B. | test error is non zero |
C. | couldn�t comment on test error |
D. | test error is equal to train error |
Answer» C. couldn�t comment on test error |
430. |
In syntax of linear model lm(formula,data,..), data refers to |
A. | matrix |
B. | vector |
C. | array |
D. | list |
Answer» B. vector |
431. |
Linear Regression is a supervised machine learning algorithm. |
A. | true |
B. | false |
Answer» A. true |
432. |
It is possible to design a Linear regression algorithm using a neural network? |
A. | true |
B. | false |
Answer» A. true |
433. |
Which of the following methods do we use to find the best fit line for data in Linear Regression? |
A. | least square error |
B. | maximum likelihood |
C. | logarithmic loss |
D. | both a and b |
Answer» A. least square error |
434. |
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? |
A. | both are false |
B. | 1 is false and 2 is true |
C. | 1 is true and 2 is false |
D. | both are true |
Answer» C. 1 is true and 2 is false |
435. |
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 |
A. | 1 and 2 |
B. | 1 and 3. |
C. | 2 and 3. |
D. | 1,2 and 3. |
Answer» D. 1,2 and 3. |
436. |
Which of the following option is true regarding Regression and Correlation ?Note: y is dependent variable and x is independent variable. |
A. | the relationship is symmetric between x and y in both. |
B. | the relationship is not symmetric between x and y in both. |
C. | the relationship is not symmetric between x and y in case of correlation but in case of regression it is symmetric. |
D. | the relationship is symmetric between x and y in case of correlation but in case of regression it is not symmetric. |
Answer» D. the relationship is symmetric between x and y in case of correlation but in case of regression it is not symmetric. |
437. |
In a simple linear regression model (One independent variable), If we change the input variable by 1 unit. How much output variable will change? |
A. | by 1 |
B. | no change |
C. | by intercept |
D. | by its slope |
Answer» D. by its slope |
438. |
Generally, which of the following method(s) is used for predicting continuous dependent variable?1. Linear Regression2. Logistic Regression |
A. | 1 and 2 |
B. | only 1 |
C. | only 2 |
D. | none of these. |
Answer» B. only 1 |
439. |
How many coefficients do you need to estimate in a simple linear regression model (One independent variable)? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» B. 2 |
440. |
In a real problem, you should check to see if the SVM is separable and then include slack variables if it is not separable. |
A. | true |
B. | false |
Answer» B. false |
441. |
Which of the following are real world applications of the SVM? |
A. | text and hypertext categorization |
B. | image classification |
C. | clustering of news articles |
D. | all of the above |
Answer» D. all of the above |
442. |
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, was it a man? |
A. | true |
B. | false |
Answer» A. true |
443. |
For the given weather data, Calculate probability of playing |
A. | 0.4 |
B. | 0.64 |
C. | 0.29 |
D. | 0.75 |
Answer» B. 0.64 |
444. |
In SVR we try to fit the error within a certain threshold. |
A. | true |
B. | false |
Answer» A. true |
445. |
In reinforcement learning, this feedback is usually called as . |
A. | overfitting |
B. | overlearning |
C. | reward |
D. | none of above |
Answer» C. reward |
446. |
Which of the following sentence is correct? |
A. | machine learning relates with the study, design and development of the algorithms that give computers the capability to learn without being explicitly programmed. |
B. | data mining can be defined as the process in which the unstructured data tries to extract knowledge or unknown interesting patterns. |
C. | both a & b |
D. | none of the above |
Answer» C. both a & b |
447. |
Reinforcement learning is particularly |
A. | the environment is not |
B. | it\s often very dynamic |
C. | it\s impossible to have a |
D. | all above |
Answer» D. all above |
448. |
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? |
A. | all categories of categorical variable are not present in the test dataset. |
B. | frequency distribution of categories is different in train as compared to the test dataset. |
C. | train and test always have same distribution. |
D. | both a and b |
Answer» D. both a and b |
449. |
Which of the following sentence is FALSE regarding regression? |
A. | it relates inputs to outputs. |
B. | it is used for prediction. |
C. | it may be used for interpretation. |
D. | it discovers causal relationships. |
Answer» D. it discovers causal relationships. |
450. |
Which of the following method is used to find the optimal features for cluster analysis |
A. | k-means |
B. | density-based spatial clustering |
C. | spectral clustering find clusters |
D. | all above |
Answer» D. all above |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.