d = |wx0 + b|/||w||2
参考文献:
https://blog.csdn.net/yutao03081/article/details/76652943
点到超平面距离公式 推导
原文:https://www.cnblogs.com/jhc888007/p/9501494.html