1 Locally weighted linear regression
Here the w are non-nagative valued weights. 是一个contribute, A fairly standard choice for the weights is:
(不要与高斯混为一谈,这个函数积分不要求为1,可以是正无穷; 这个函数不是唯一地;最大值1,最小值0)
tau is bandwidth which controls how quickly the weight of a training example falls off with distance of the middle(x^(i))
Locally weighted linear regression is the first example we’re seeing of a non-parametric algorithm
2 未完待续...
时间: 2024-11-09 18:53:14