4

《机器学习》 第 3 章 线性模型 读书笔记

 3 years ago
source link: https://xiang578.com/post/machine-learning-ch-03.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

《机器学习》 第 3 章 线性模型 读书笔记

发表于

2018-06-09 更新于 2021-04-12 分类于 机器学习

阅读次数: 115
本文字数: 367

西瓜书 周志华 2016 年 12 月第 14 次印刷

3.1 基本形式

线性模型的预测函数为: \[{f(x)=w_1x_1+w_2x_2+...+w_dx_d+b}\] 写成向量模式得到: \[{f(x)=w^Tx+b}\]

3.2 线性回归

线性回归能在给定数据集 \({D=\{(x_1,y_1),(x_2,y_2),...,(x_m,y_m)\}}\),其中 \({x_i =\{x_{i1};x_{i2};...;x_{id}\},y_i\in\mathbb{R}}\)学到一个线性模型从而进行预测。

考虑最简单情况,当 \({x_i}\) 为一维时,问题转换为求下式: \[{f(x_i)=wx_i+b,使得f(x_i)\simeq y_i}\]

使用平方损失函数作为衡量线性规划模型性能的指标,\({f(x)}\) 与 \({y}\) 越接近,代表平方损失函数越小。即得到: 15285348597249.jpg


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK