SVM dataset preparation

we convert the generated dataset of 0’s and 1’s into 1 and -1 what if we have three labels instead of two how can we handle it?

In that case you have to use one vs one or one vs rest techniques and train a number of svm classifiers independently by preprocessing data accordingly.

Happy Learning :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.