Lets use the example of the SVM loss function for a single datapoint:
We can differentiate the function with respect to the weights. For example, taking the gradient with respect to Wyi we obtain:
Notice that this is the gradient only with respect to the row of W that corresponds to the correct class. For the other rows where j != yi the gradient is:
最后
以上就是落寞滑板最近收集整理的关于SVM 合页损失函数 导数的全部内容,更多相关SVM内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复