Output : ValueError: y should be a 1d array, got an array of shape (329, 3) instead.
Traceback: svm_tuned.fit(X_train_mm, y_train)
I want to plot ROC_Curve of my svm model, my data has 1,2,3 classes i binarized them using label binarizer but still getting this error the traceback error is at "y_score". My request to those who wanna clear my doubt or solution please dont send me the code of iris data i can look it up on sklearn website just give me explanation or write your code as a solution to this problem. I am really thankful to those who will answer. Sorry if i make any mistake in posting questions i am new to stackoverflow and new to python & machine learning. Thank you
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop