(i))y(i)).

本节Quiz

  1. Which of the following can address overfitting?
    √ Collect more training data.
    × Remove a random set of training examples.
    √ Apply regularization.
    √ Select a subset of the more relevant features.

  2. You fit logistic regression with polynomial features to a dataset, and your model looks like this. What would you conclude? (Pick one)
    × The model has high bias (underfit). Thus, adding data is likely to help.
    √ The model has high variance (overfit). Thus, adding data is likely to help.
    × The model has high bias (underfit). Thus, adding data is, by itself, unlikely to help much.
    × The model has high variance (overfit). Thus, adding data is, by itself, unlikely to help much.

  3. Suppose you have a regularized linear regression model. If you increase the regularization parameter

    λ

    lambda

    λ, what do you expect to happen to the parameters

    w

    1

    ,

    w

    2

    ,

    .

    .

    .

    ,

    w

    n

    w_1, w_2, …, w_n

    w1,w2,,wn?
    √ This will reduce the size of the parameters

    w

    1

    ,

    w

    2

    ,

    .

    .

    .

    ,

    w

    n

    w_1, w_2, …, w_n

    w1,w2,,wn.
    × This will increase the size of the parameters

    w

    1

    ,

    w

    2

    ,

    .

    .

    .

    ,

    w

    n

    w_1, w_2, …, w_n

    w1,w2,,wn.

注:C1_W3_Logistic_Regression包括了逻辑回归正则逻辑回归的练习题

原文地址:https://blog.csdn.net/weixin_46258766/article/details/134583780

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_17795.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注