SVM implementation 1

while executing the same code I am getting error "SVM has no attribute ‘shape’ ".