I have a huge dataframe that I want to run a multi class svm model on but I am confused on how to format the dataframe to do so. This is what the dataframe looks like:
| x | y | class |
|---|---|---|
| x1 | y1 | 1 |
| x2 | y2 | 2 |
| x3 | y3 | 3 |
| x4 | y4 | 4 |
| etc | etc | etc |
How do I actually run the data on an svm model? thanks