I\'m trying to use the CVXOPT qp solver to compute the Lagrange Multipliers for a Support Vector Machine
def svm(X, Y, c): m = len(X) P = matrix(
i have try A=A.astype(double) to solve it, but it is invalid, since python doesn't know what double is or A has no method astype.
A=A.astype(double)
via using A = matrix(A, (1, m), 'd') could actually solve this problem!
A = matrix(A, (1, m), 'd')