0%

lasso

  • 假设函数: $$h_{\theta}=\theta_{0}x_{0}+\theta_{1}x_{1}+…+\theta_{n}x_{n}$$
  • 损失函数: $$J(\theta)=\frac{1}{2m}\sum_{i=1}^{m}(h_{\theta}(x^i)-y^i)^2+\lambda\sum_{j=1}^{n}|\theta_{j}|$$
  • 目标: $$\min J(\theta_{0},\theta_{1},\theta_{2}….\theta_{n})$$