这个算法是运于线性可分的问题:
constant的推导如下(来源课程论坛):
机器学习(台大课程week2)学习笔记
原文:https://www.cnblogs.com/zhoujunok/p/11731615.html