Search
正则项不影响Logistic回归损失函数凸性
Last updated
Sep 11, 2021
Edit Source
# 正则项不影响Logistic回归损失函数凸性
2021-09-11
Tags: #MachineLearning #LogisticRegression #Regularization #ConvexOptimization #CostFunction
# 首先, 没有加正则项的二阶导数如下

# 那么只需要计算正则项的二阶导数
J(θ)=P(θ)+2mλi=1∑nθi2
∂θj2∂2(2mλi=1∑nθi2)=mλ∂θj∂θj=mλ>0
所以损失函数还是凸的