Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Answer Explanation
High This learning curve shows high error on both the training and test sets, so the algorithm
Answer Explanation
Bias bias.
Question 2
Useful Info: Since the hypothesis performs well (has low error) on the training set, it is
suffering from high variance (overfitting)
True/Fals
Answer Explanation
e
Try evaluating the hypothesis A cross validation set is useful for choosing the opt
False on a cross validation set rather parameters like the regularization parameter λ, but
than the test set. sufficient for debugging problems with the algorith
Question 3
Useful Info: Since the hypothesis performs poorly on the training set, it is suffering from
high bias (underfitting)
True/Fals
Answer Explanation
e
False Try increasing the The poor performance on both the training and test sets s
regularization problem. Increasing the regularization parameter will allow
True/Fals
Answer Explanation
e
parameter λ. the data worse, decreasing both training and test set perfo
Question 4
True/Fals
Answer Explana
e
Suppose you are training a regularized linear You should not use training
regression model.The recommended way to choose regularization parameter, as
False what value of regularization parameter λ to use is to training error by using less re
choose the value of λ which gives the lowest training value of ). But too small of a
set error. well onthe test set.
Question 5
True/Fals
Answer Explan
e
True If a learning algorithm is suffering from high bias, only If a learning algorithm is s
True/Fals
Answer Explan
e
adding more training examples may not improve the only adding more training
test error significantly. improve the test error sign