On This Page

This set of Machine Learning (ML) Multiple Choice Questions & Answers (MCQs) focuses on Machine Learning Set 21

Q1 | there's a growing interest in pattern recognition and associative memories whose structure and functioningare similar to what happens in the neocortex. Such an
  • regression
  • accuracy
  • modelfree
  • scalable
Q2 |              showed better performance than other approaches, even without a context-based model
  • machine learning
  • deep learning
  • reinforcement learning
  • supervised learning
Q3 | Which of the following sentence is correct?
  • machinelearning relates with the study,
  • data miningcan be defined as the process
  • both a & b
  • none of the above
Q4 | What is ‘Overfitting’ in Machine learning?
  • when astatistical model describes random error or noise instead of
  • robots areprogramed so that they can perform the task based on data they gather from
  • while involving the process of learning ‘overfitting’ occurs.
  • a set of data is used to discover the potentially predictive relationship
Q5 | What is ‘Test set’?
  • test set is used to test the accuracy of the hypotheses generated by the learner.
  • it is a set of data is used to discover the potentially predictive relationship.
  • both a & b
  • none of above
Q6 | what is the function of ‘Supervised Learning’?
  • classifications, predict time series, annotate strings
  • speech recognition, regression
  • both a & b
  • none of above
Q7 | Commons unsupervised applications include
  • objectsegmentation
  • similaritydetection
  • automaticlabeling
  • all above
Q8 | Reinforcement learning is particularly efficient when                             .
  • the environment is not completely deterministic
  • it\s often very dynamic
  • it\s impossible to have a precise error measure
  • all above
Q9 | 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 representingthe state.
  • logical
  • classical
  • classification
  • none of above
Q10 | Common deep learning applications include         
  • image classification, real-time visual tracking
  • autonomous car driving, logistic optimization
  • bioinformatics, speech recognition
  • all above
Q11 | if there is only a discrete number of possible outcomes (called categories),the process becomes a            .
  • regression
  • classification.
  • modelfree
  • categories
Q12 | 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?
  • all categories of categorical variable are not present in the test dataset.
  • frequency distribution of categories is different in train as compared to the test dataset.
  • train and test always have same distribution.
  • both a and b
Q13 | Which of the following sentence is FALSE regarding regression?
  • it relates inputs to outputs.
  • it is used for prediction.
  • it may be used forinterpretation.
  • it discovers causalrelationships.
Q14 | scikit-learn also provides functions for creatingdummy datasets from scratch:
  • make_classification()
  • make_regression()
  • make_blobs()
  • all above
Q15 |           which can accept a NumPy RandomStategenerator or an integer seed.
  • make_blobs
  • random_state
  • test_size
  • training_size
Q16 | 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
  • 2
  • 3
  • 4
Q17 |             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.
  • removing the whole line
  • creating sub- model to predict those features
  • using an automatic strategy to input them according to the other known values
  • all above
Q18 | It's possible to specify if the scaling process must include both mean and standard deviation using theparameters                 .
  • with_mean=tru e/false
  • with_std=true/ false
  • both a & b
  • none of the mentioned
Q19 | Which of the following selects the best K high-scorefeatures.
  • selectpercentile
  • featurehasher
  • selectkbest
  • all above
Q20 | 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.
  • in case of very large lambda; bias is low, variance islow
  • in case of very large lambda; bias is low, variance ishigh
  • in case of very large lambda; bias is high, variance islow
  • in case of very large lambda; bias is high, variance ishigh
Q21 | 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 and 3
  • 1 and 4
  • 2 and 3
  • 2 and 4
Q22 | Which of the following method(s) does not haveclosed form solution for its coefficients?
  • ridgeregression
  • lasso
  • both ridgeand lasso
  • none of both
Q23 | Function used for linear regression in R is
  • lm(formula, data)
  • lr(formula, data)
  • lrm(formula, data)
  • regression.linear (formula, data)
Q24 | In the mathematical Equation of Linear Regression Y = β1 + β2X + ϵ, (β1, β2) refers to                       
  • (x-intercept, slope)
  • (slope, x- intercept)
  • (y-intercept, slope)
  • (slope, y- intercept)
Q25 | 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?
  • relation between the x1 and y is weak
  • relation between the x1 and y is strong
  • relation between the x1 and y is neutral
  • correlation can’t judge the relationship