且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

支持向量机原始形式的实现

更新时间:2023-11-25 18:36:46

您在这里混淆了许多事情

You are cunfusing many things here

  • "alpha系数" 仅采用对偶形式,因此您找不到这种情况
  • 应用二次编程",二次编程是一个问题,不是解决方案.您不能应用QP",只能解决一个QP,在您的情况下,将使用准牛顿法解决该问题
  • (...)如何与找到w的系数相关"完全相同,因为此优化技术与找到任何函数的***系数有关.您将使w的函数最小化,因此应用任何优化技术(尤其是拟网域)将导致以 w 系数表示的解
  • "alpha coefficients" are only in the dual form, so you do not find them in your case
  • "apply Quadratic programming", quadratic programming is a problem, not a solution. you cannot "apply QP", you can only solve a QP, which in your case will be solved using quasi-newton method
  • "how is (...) related to finding coefficientss of w" exactly the same way, as this optimization technique is related to finding the optimal coefficients of any function. You are going to minimize the function of w, so applying any optimization technique (in particular quasi-netwton) will lead to solution expressed as w coefficients