How to solve for lagrange multipliers for SVM in computer? [closed]
I am trying to implement SVM from scratch in JAVA. I have read the theory part and I know we have to use lagrange multipliers to train SVM. I can do it by hand but I don't know how to implement it in computer. Is there any package or library available?
this is an unlucky question, because: if you just need an SVM, you don't write your own, but use opencv's builtin one, or (the java port of) libsvm.
on the other hand, if you have to write your own for a college project, this is the wrong place to ask.
I am learning about SVM and the best way to learn is to implement it from scratch. I have used built-in libraries previously but I want to implement SVM myself. AND, this is not for my college project.
When I needed to use some math functions in Java, I used (long time ago) this package: Commons Math: The Apache Commons Mathematics Library.
It is a complete Math "toolbox" for Java.
@Eduardo thanks for the answer.