Showing posts with label Machine Learning Quiz. Show all posts
Showing posts with label Machine Learning Quiz. Show all posts

Saturday, June 5, 2021

Machine Learning Multiple Choice Questions with Answers 27

Top 3 Machine Learning Quiz Questions with Answers explanation, Interview questions on machine learning, quiz questions for data scientist answers explained, machine learning exam questions, question bank in machine learning, lasso regression, tuning parameter, penalty parameter


Machine learning Quiz Questions - Set 27

1. In Lasso regression, if the tuning parameter (lambda) increases ______ increases.

a) Variance

b) Bias

c) Both variance and bias

d) Neither variance nor bias

Click here to view answer and explanation


 

2. In Lasso regression, if the tuning parameter (lambda) decreases ______ increases.

a) Variance

b) Bias

c) Both variance and bias

d) Neither variance nor bias

Click here to view answer and explanation


 

3. “Less important parameters goes close to zero when we increase the value of tuning parameters” in which of the following regressions?

a) Ridge

b) Lasso

c) Both ridge and lasso

Click here to view answer and explanation


 

**********************

Related links:

List the type of regularized regression

Multiple choice quiz questions in machine learning

What is bias-variance tradeoff

over-fitting and under-fitting in lasso regression

What is the role of penalty parameter

How tuning parameter lambda affect the performance of lasso regression

 

Machine Learning Multiple Choice Questions with Answers 26

Top 3 Machine Learning Quiz Questions with Answers explanation, Interview questions on machine learning, quiz questions for data scientist answers explained, machine learning exam questions, question bank in machine learning, overfitting in non-parametric machine learning algorithms, decision tree, lasso regression


Machine learning Quiz Questions - Set 26

 

1. What strategies can help reduce over-fitting in decision trees?

a) Pruning

b) Make sure each leaf node is one pure class

c) Enforce a maximum depth for the tree

d) Enforce a maximum number of samples in leaf nodes

Click here to view answer and explanation


 

2. Neural networks

a) cannot be used in ensemble

b) can be used for regression

c) can be used for classification

d) always output values will be between 0 and 1

Click here to view answer and explanation


 

3. Lasso can be interpreted as least-squares linear regression where

a) weights are regularized with the l1 norm

b) the weights have a Gaussian prior

c) weights are regularized with the l2 norm

d) the solution algorithm is simpler

Click here to view answer and explanation


 

**********************

Related links:

List the type of regularized regression

Multiple choice quiz questions in machine learning

What is regularized linear regression 

how to reduce overfitting in decision tree

various techniques to reduce decision tree overfitting problem

What for neural networks can be used

Can we use neural networks for classification as well as regression?


Sunday, January 31, 2021

Machine Learning Multiple Choice Questions and Answers 25

Top 3 Machine Learning Quiz Questions with Answers explanation, Interview questions on machine learning, quiz questions for data scientist answers explained, machine learning exam questions, question bank in machine learning, overfitting in non-parametric machine learning algorithms, decision tree, linear regression


Machine learning Quiz Questions - Set 25

 

1. Which of the following is a disadvantage of non-parametric machine learning algorithms?

a) Capable of fitting a large number of functional forms (Flexibility)

b) Very fast to learn (Speed)

c) More of a risk to overfit the training data (Overfitting)

d) They do not require much training data

Answer: (c) More of a risk to overfit the training data

Overfitting happens when a model learns the detail and noise in the training data to the extent that it negatively impacts the performance of the model on new data. Overfitting is more likely with nonparametric and nonlinear models that have more flexibility when learning a target function. For example, decision trees are a nonparametric machine learning algorithm that is very flexible and is subject to overfitting training data.

[For more, please refer Overfitting and Underfitting With Machine Learning Algorithms]

 

2. A decision tree has low training error and a large test error. What is the possible problem?

a) Decision tree is too shallow

b) Learning rate too high

c) There is too much training data

d) Decision tree is overfitting

Answer: (d) Decision tree is overfitting

Overfitting causes low training error. Overfitting means that the model predicts the (training) data too well. It is too good to be true. If the new data point comes in, the prediction may be wrong.

Pruning can help in reducing the complexity of the final classifier, and hence improves predictive accuracy by the reduction of overfitting.

 

3. Suppose we have a regularized linear regression model. What is the effect of increasing λ on bias and variance?

a) Increases bias, increases variance

b) Increases bias, decreases variance

c) Decreases bias, increases variance

d) Decreases bias, decreases variance

Answer: (b) Increases bias, decreases variance

Increasing λ increases bias and decreases variance

Regularized regression

It is a type of regression where the coefficient estimates are constrained to zero. The magnitude (size) of coefficients, as well as the magnitude of the error term are penalized. Complex models are discouraged, primarily to avoid overfitting. In other words, this technique discourages learning a more complex or flexible model, so as to avoid the risk of overfitting. [For more refer here – regularized regression, ] and [Refer here - regularization ]

Type of regularized regression

Ridge regression (L2 regularization)

Lasso regression (L1 regularization)

 

**********************

Related links:

List the type of regularized regression

Multiple choice quiz questions in machine learning

What is regularized linear regression 

low training error vs large test error in decision tree

What is the disadvantage of non-parametric machine learning algorithms

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery