不动如山分享 http://blog.sciencenet.cn/u/hustliaohh 脚踏实地,稳步向前

博文

第九讲 Linear Regression

已有 3038 次阅读 2014-1-15 11:09 |个人分类:科研道路|系统分类:科研笔记

上一讲我们得到 learning can happen with target distribution $P(y|x)$ and low $E_{in}$ w.r.t. error measure.

1. Linear Regression Problem 

  linear regression hypothesis: $h(x) = w^T x$, $h(x)$: like perceptron, but without the $sign$.

  linear regression: find lines/hyperplanes with small residuals.

 

  The Error Measure:

  popular/historical error measure: squared error $err(\hat{y}; y) = (\hat{y} - y)^2$.


2. Linear Regression Algorithm




practical suggestion: use well-implemented $y$ routine instead of $(X^T X)^{-1} X^T$ for numerical stability when almost-singular.

Linear Regression Algorithm:


3. Generalization Issue




4. Linear Regression for Binary Classification







https://blog.sciencenet.cn/blog-507072-759302.html

上一篇:第八讲 Noise and Error
下一篇:第十讲 Logistic Regression
收藏 IP: 122.205.9.*| 热度|

1 陆泽橼

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-24 16:45

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部