知识卡片
最小二乘损失由残差平方求和
对样本i,残差是预测值f(x⁽ⁱ⁾)与标签y⁽ⁱ⁾之差;最小二乘把所有残差平方求和,并以权重为变量最小化。
在线性模型下损失是凸函数,但训练损失低不自动保证泛化。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第33章 机器学习算法 · 查看原书依据
When evaluating a machine-learning model, you need to measure how close each value f(x(i)) is to its corresponding label y(i). In this example, we define the error e(i) ∈ ℝ associated with patient i as e(i) = f(x(i)) – y(i). The objective function we choose is to minimize the sum of squares of the errors
参考来源
- 位置:《算法导论(第4版)》第33章《机器学习算法》(OEBPS/chapter033.xhtml,文本字符[65000,70000))。
- 结论依据:原文第33.3节或章末题目、注记;相关公式图已核对,未解答书中练习。
- 原始内容:When evaluating a machine-learning model, you need to measure how close each value f ( x ( i ) ) is to its corresponding label y ( i ) . In this example, we define the error e ( i ) ∈ ℝ associated with patient i as e ( i ) = f ( x ( i ) ) – y ( i ) . The objective function we choose is to minimize the sum of squares of the errors