llSourcell / Classifying_Data_Using_a_Support_Vector_Machine

This is the code for the "Classifying Data using Gradient Descent" by Siraj Raval on Youtube
217 stars 181 forks source link

Update support_vector_machine_lesson.ipynb #5

Open Anjalis9718 opened 5 years ago

Anjalis9718 commented 5 years ago

error encountered ""w = np.zeros(len(X[0]))

TypeError: object of type 'numpy.float64' has no len()"" resolved by putting ""w = svm_sgd_plot(X,y)"" at the beginning