Classifying_Data_Using_a_Support_Vector_Machine
Classifying_Data_Using_a_Support_Vector_Machine copied to clipboard
This is the code for the "Classifying Data using Gradient Descent" by Siraj Raval on Youtube
In the regression part, the variable `w` was not defined...
Added `plt.show()` to the naive guess part, which was graphed in the notebook, but was not there in the code.
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
Hi, I'm getting an ``` File "", line 18 plt.plot(errors, '|') ^ IndentationError: expected an indented block ``` on the `#lets perform stochastic gradient descent to learn the seperating hyperplane...
The Cells are not arranged properly, so I arranged it to run all cells to display the results
https://github.com/llSourcell/Classifying_Data_Using_a_Support_Vector_Machine