Svm Algorithm Implementation In Python Iteration