吴思仁
吴思仁
I think `model.coefs` are neither the weights $\alpha_i$ (generally, $\alpha_i$ are the Lagrangian multiplers and also the dual variables of the dual SVM problem) nor $\alpha_iy_i$. I also doubt that...
> EDIT: if you are only interested in the decision values $f(x)$ and not in the coefficients and support vectors, then you can get those directly from `svmpredict`, which returns...
Oh, I'm sorry for the wrong code in the first example. Thanks! But how about the one-class SVM case? Why is the `sum(α)` always `5.0` since there's no interference from...
Thank you very much! Everything becomes clear. 🤝
Sure. So far, there is no evidence from limited instances that the conclusions are wrong. I will continue to gather more information to confirm this. To confirm the above conclusions...
One more question: Does anyone know how to retrieve the optimal values of the slack variables ${\xi_i}$ from the trained model? Thanks!
Thank you so much, @blegat ! I'm very excited to see your reply. It's very professional and comprehensive, and I feel inspired after reading it. Please accept my respect!
No thanks! This issue can be closed.
> where do you think the problem lies? How should I debug this model? According to limited observations so far, it seems that the model can be solved normally after...
> According to limited observations so far, it seems that the model can be solved normally after I replace the solver `HiGHS` with a commercial one. I found sometimes it...