1. 程式人生 > >罰函式(penalty function)的設計

罰函式(penalty function)的設計

1. encourage sparsity

  • 0 範數: non-differentiable and difficult to optimize in general
  • 1 範數:
  • 對數約束,log(1+x2)

2. 一維的形式

  • ϕ(x)=λ|x|

  • ϕ(x)=(λ/a)log(1+a|x|)