Tag: ConvexOptimization
证明Logistic回归的损失函数是凸函数
证明Logistic回归的损失函数是凸函数
证明Logistic回归的损失函数是凸函数 2021-09-11 Tags: #MachineLearning #LogisticRegression #ConvexOptimization #CostFunction 证明 原函数 Part.13CostFunction-LogisticRegression(MLAndrew.Ng.).md) 一阶导数 在梯度下降里面我们已经求出了一阶导数了: .md#推导) 二阶导数 $$\begin{aligned} \frac{\partial}{\partial \theta_{j}} h(x)&= \frac{\partial}{\partial \theta_{j}} g\left(\theta^Tx\right)\\ &=g\left(\theta^Tx\right)\left(1-g\left(\theta^Tx\right)\right) \frac{\partial}{\partial...