第 1 题
You are training a classification model with logistic
regression. Which of the following statements are true? Check
all that apply.
- Introducing regularization to the model always results in equal or better performance on the training set.
- Adding many new features to the model helps prevent overfitting ont the training set.
- Introducing regularization to the model always results in equal or better performance on examples not in the training set.
- Adding a new feature to the model always results in equal or better performance on the training set.
-
答案: 4 *
正则化方法的公式:
- 选项1: 注意!!!将正则化方法加入模型并不是每次都能取得好的效果,如果取得太大的化就会导致欠拟合。 这样不论对traing set 还是 examples都不好。 不正确
- 选项2: more features能够更好地拟合训练集,同时也容易导致overfit,是more likely而不是prevent。 不正确
- 选项3: 同1 不正确
- 选项4: 新加的feature会提高train set的拟合度,而不是example拟合度。 正确