Machine Learning (ML)/Machine Learning (ML) MCQ Set 08 Sample Test,Sample questions

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

1.machine learning

2.deep learning

3.reinforcement learning

4.supervised learning


Question:
        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.

1.removing the whole line

2.creating sub- model to predict those features

3.using an automatic strategy to input them according to the other known values

4.All of the above


Question:
  Gaussian Naïve Bayes Classifier is    _ distribution

1.continuous

2.discrete

3.binary

4.None of These


Question:
  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

1.1

2.2

3.3

4.4


Question:
  which can accept a NumPy RandomStategenerator or an integer seed.

1.make_blobs

2.random_state

3.test_size

4.training_size


Question:
 During the last few years, many              algorithms have been applied to deep
neural networks to learn the best policy for playing Atari video games and to teach an agent how to associate the right action with an input representing

1. logical

2.classical

3.classification

4.none of above


Question:
 For the given weather data, what is theprobability that players will play if weather is sunny

1. 0.5

2. 0.26

3.0.73

4.0.6


Question:
 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?

1.underfitting

2.nothing, the model is perfect

3.overfitting

4.None of These


Question:
 if there is only a discrete number of possible outcomes (called categories),the process becomes a            .

1.regression

2.classification

3.modelfree

4.categories


Question:
 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

1.1

2.2

3.3

4.4


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

1.deep learning

2.machine learning

3.reinforcement learning

4.unsupervised learning


Question:
 It's possible to specify if the scaling process must include both mean and standard deviation using theparameters         

1.with_mean=tru e/false

2.with_std=true/ false

3.both a & b

4.none of the mentioned


Question:
 Multinomial Naïve Bayes Classifier is    _                distribution

1.continuous

2.discrete

3.binary

4.None of these


Question:
 Reinforcement learning is particularly efficient when .

1. A. the environment is not completely deterministic

2.its often very dynamic

3. its impossible to have a precise error measure

4.All of the above


Question:
 scikit-learn also provides functions for creating dummy datasets from scratch:

1.make_classifica tion()

2.make_regressio n()

3.make_blobs()

4.All of the above


Question:
 Suppose you are using RBF kernel in SVM with high Gamma valu

1. the model wo

2. uthe model wo

3.the model wou

4.none of the ab


Question:
 The minimum time complexity for training an SVM is O(n2). According to this fact, what sizesof datasets are not best suited for SVM’s?

1.large datasets

2. small datasets

3. medium sized datasets

4.size does not matter


Question:
 Which of the following sentence is FALSE regarding regression?

1.it relates inputs to outputs.

2.it is used for prediction.

3. it may be used forinterpretation.

4.it discovers causalrelationships.


Question:
100 people are at party. Given data gives informa

1. 0.4

2.0.2

3. 0.6

4.0.45


Question:
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 aman

1.0.4

2.0.2

3.0.6

4. 0.45


Question:
Common deep learning applications include         

1. image classification, real-time visual tracking

2.autonomous car driving, logistic optimization

3.bioinformatics, speech recognition

4.All of the above


Question:
During the last few years, many algorithms have been applied to deepneural networks to learn the best policy for playing Atari video games and to teach an agent how to associate the right action with an input representing the state.

1. logical

2.classical

3.classification

4.None of the above


Question:
For the given weather data, Calculate probability

1.0.4

2.0.36

3.0.36

4.0.5


Question:
For the given weather data, Calculate probabilityof not playing

1.0.4

2.0.64

3. 0.36

4.0.5


Question:
Function used for linear regression in R is

1.lm(formula, data)

2.lr(formula, data)

3.lrm(formula, data)

4.regression.linear (formula, data)


Question:
Gaussian Naïve Bayes Classifier is    _                distribution

1.continuous

2.discrete

3.binary

4.All of the above


Question:
If I am using all features of my dataset and I achieve 100% accura

1.underfitting

2.nothing, the m

3.overfitting

4.None of the above


Question:
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?

1.underfitting

2.nothing, the model is perfect

3.overfitting

4.None of these


Question:
if there is only a discrete number of possible outcomes (called categories),the process becomes a .

1.regression

2.classification

3.modelfree

4.categories


Question:
In reinforcement learning, this feedback is usually called as .

1.overfitting

2.overlearning

3.reward

4. none of above


Question:
In the mathematical Equation of Linear Regression Y = β1 + β2X + ϵ, (β1, β2) refers to                       

1.(x-intercept, slope)

2. (slope, x- intercept)

3. (y-intercept, slope)

4.(slope, y- intercept)


Question:
It's possible to specify if the scaling process must include both mean and standard deviation using the parameters .

1.with_mean=tru e/false

2.with_std=true/ false

3.both a & b

4. none of the mentioned


Question:
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?

1.all categories of categorical variable are not present in the test dataset.

2. frequency distribution of categories is different in train as compared to the test dataset.

3.train and test always have same distribution.

4.both a and b


Question:
Multinomial Naïve Bayes Classifier is    _ distribution

1.continuous

2.discrete

3.binary

4.None of These


Question:
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 it’s variable(Say X1) with Y is -0.95.Which of the following is true for X1?

1. relation between the x1 and y is weak

2.relation between the x1 and y is strong

3.relation between the x1 and y is neutral

4.correlation can’t judge the relationship


Question:
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 andvariance with lambda.

1.in case of very large lambda; bias is low, variance islow

2.in case of very large lambda; bias is low, variance ishigh

3. in case of very large lambda; bias is high, variance islow

4.in case of very large lambda; bias is high, variance ishigh


Question:
Techniques involve the usage of both labeled and unlabeled data is called .

1.supervised

2.semi- supervised

3.unsupervised

4.none of the above


Question:
The cost parameter in the SVM means:

1.the number of cross- validations to be made

2. the kernel to be used

3. the tradeoff between misclassificati on and simplicity of the model

4.none of the above


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

1.large datasets

2.small datasets

3.medium sized datasets

4. size does not matter


Question:
The SVM’s are less effective when:

1.the data is line

2. the data is cl

3. the data is noisy and contains

4.None of These


Question:
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 meantraining error?

1. increase

2.decrease

3.remain constant

4. can’t say


Question:
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 oftraining data?

1.bias increases and variance increases

2. bias decreases and variance increases

3. bias decreases and variance decreases

4.bias increases and variance decreases


Question:
We usually use feature normalization before using the Gaussian k

1. e 1

2.1 and 2

3.1 and 3

4.2 and 3


Question:
We usually use feature normalization before using the Gaussian k

1.e 1

2.1 and 2

3.1 and 3

4.2 and 3


Question:
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

1.1

2.1 and 2

3.1 and 3

4. 2 and 3


Question:
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 useGaussian kernel in SVM

1.1

2. 1 and 2

3.1 and 3

4. 2 and 3


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

1.how far the hy B. C. t

2.how accuratel

3.he threshold amount of error it

4.None of the above


Question:
What is ‘Overfitting’ in Machine learning?

1.when astatistical model describes random error or noise instead of

2.robots areprogramed so that they can perform the task based on data they gather from

3.while involving the process of learning ‘overfitting’ occurs.

4.a set of data is used to discover the potentially predictive relationship


Question:
What is ‘Test set’?

1.test set is used to test the accuracy of the hypotheses generated by the learner.

2. it is a set of data is used to discover the potentially predictive relationship.

3.both a & b

4.none of above


Question:
what is the function of ‘Supervised Learning’?

1.classifications, predict time series, annotate strings

2.speech recognition, regression

3.both a & b

4. none of above


Question:
What is/are true about ridge regression?1. When lambda is 0, model works like linear regression model2. When lambda is 0, model doesn’t work like linear regression model3. When lambda goes to infinity, we get very, very small coefficients approaching 04. When lambda goes to infinity, we get very, very large coefficients approaching infinity

1. 1 and 3

2.1 and 4

3.2 and 3

4.2 and 4


Question:
What is/are true about ridge regression?1. When lambda is 0, model works like linear regression model2. When lambda is 0, model doesn’t work like linear regression model3. When lambda goes to infinity, we get very, very small coefficients approaching 04. When lambda goes to infinity, we get very, very large coefficients approachinginfinity

1.1 and 3

2.1 and 4

3.2 and 3

4.2 and 4


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

1.overfitting

2.overlearning

3.classification

4.regression


Question:
Which of the following are real world applications of the SVM?

1.text and hype

2.image classifi

3.clustering of n

4.all of the above


Question:
Which of the following is not supervisedlearning?

1. pca

2.decisiontree

3.naivebayesian

4.linerarregression


Question:
Which of the following method(s) does not haveclosed form solution for its coefficients?

1.idgeregression

2.lasso

3.both ridgeand lasso

4.none of both


Question:
Which of the following selects the best K high-score features.

1.selectpercentil e

2.featurehasher

3.selectkbest

4.All of the above


Question:
Which of the following selects the best K high-scorefeatures.

1.selectpercentile

2.featurehasher

3.selectkbest

4. all above


Question:
Which of the following selects the best K high-scorefeatures.

1.selectpercentile

2.featurehasher

3.selectkbest

4. all above


More MCQS

  1. Machine Learning (ML) MCQ Set 01
  2. Machine Learning (ML) MCQ Set 02
  3. Machine Learning (ML) MCQ Set 03
  4. Machine Learning (ML) MCQ Set 04
  5. Machine Learning (ML) MCQ Set 05
  6. Machine Learning (ML) MCQ Set 06
  7. Machine Learning (ML) MCQ Set 07
  8. Machine Learning (ML) MCQ Set 08
  9. Machine Learning (ML) MCQ Set 09
  10. Machine Learning (ML) MCQ Set 10
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!