
Figure 2: Log-probability of labels as a function of regularization parameter C
Here we use a logistic regression model to solve a classification problem. In Figure 2, we have plotted the mean log-probability of labels in the training and test sets after having trained the classifier with quadratic regularization penalty and different values of the regularization parameter C.
(1) In training a logistic regression model by maximizing the likelihood of the labels given the inputs
we have multiple locally optimal solutions. (F)
Answer: The log-probability of labels given examples implied by the logistic regression model is a concave (convex down) function with respect to the weights. The (only) locally optimal solution is also globally optimal
(2) A stochastic gradient algorithm for training logistic regression models with a fixed learning rate
will find the optimal setting of the weights exactly. (F)
Answer: A fixed learning rate means that we are always taking a finite step towards improving the log-probability of any single training example in the update equation. Unless the examples are
somehow ―aligned‖, we will continue jumping from side to side of the optimal solution, and will not be able to get arbitrarily close to it. The learning rate has to approach to zero in the course of the updates for the weights to converge.
(3) The average log-probability of training labels as in Figure 2 can never increase as we increase C.
(T)
Stronger regularization means more constraints on the solution and thus
the (average) log-probability of the training examples can only get worse.
(4) Explain why in Figure 2 the test log-probability of labels decreases for large values of C. As C increases, we give more weight to constraining the predictor, and thus give less
flexibility to fitting the training set. The increased regularization guarantees that the
中科院机器学习题库-new 暂无评价 43页 免费 斯坦福大学机器学习课程... 40...?? xi , yi ??i ?1 N – 学习映射 f : ? ? ? f ?x? ? 测试:...
中科院研究生院机器学习课程习题_互联网_IT/计算机_专业资料。1、考虑回归一个... 中科院机器学习题库-new 暂无评价 43页 免费 机器学习-习题答案 9页 1下载...
中科院研究生院机器学习试卷(含答案)_互联网_IT/计算机_专业资料。2010年试题中国科学院研究生院试 题专用纸 课程编号:712008Z 课程名称:机器学习 任课教师:卿来...
中科院机器学习Lecture1_Introduction_工学_高等教育_教育专区。机器学习—第一讲... 中科院机器学习题库-new 43页 免费 机器学习Ch1-Introducti... 27页 免费 ...
中科院研究生院机器学习2012试卷 中国科学院大学 卿来云 2012年试题中国科学院大学 卿来云 2012年试题隐藏>> 中国科学院大学试 题专用纸 课程编号:712008Z 课程...
中科院机器学习Lecture3_MLE_工学_高等教育_教育专区。第三讲:极大似然估计 ? ... 中科院机器学习题库-new 43页 免费 机器学习与概率图模型 中... 122页 4...
中国科学院大学2012年《机器学习》试卷及其答案_研究生入学考试_高等教育_教育... 中科院研究生院机器学习... 4页 1下载券 中科院机器学习题库-new 43页 免费...
中科院机器学习题库-new 暂无评价 43页 免费 中科院机器学习Lecture3... 暂无...注意:只给出正样本,我们也能学习到概念! Rectangle?Game ? 健康水平游戏:测量...
中科院机器学习Lecture5_6_Multivariat...
机器学习中我们的数据集通常由多元随机向量分 布的样本组成。每一列为一个随机...若F有密度p, 也可记为 X 1 ,..., X N ~ p ,样本大小为N 思考题:...
热门文档