Timeline for Don't understand why I get an inverse ROC curve for SVM (Python)
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 28, 2020 at 19:06 | comment | added | MMMMMay | Yes, the AUC is always low. | |
| Jul 28, 2020 at 18:40 | comment | added | Jonathan | @MMMMMay Have a look at my example above: with max_iter=12 your results can fluctuate a lot. What happens if you use rbf as kernel and fit the model 10 times? Do you always get a low AUC? | |
| Jul 28, 2020 at 18:27 | comment | added | MMMMMay | I set a small value for max_iter because when max_iter = -1, the program will take a really long time and I don't know if it will stop. After I published this question, I tried to change the kernel of SVM to sigmoid instead of the default rbf, and this time I got a good ROC with the AUC equals to 0.94. So maybe the kernel is the issue? | |
| Jul 28, 2020 at 17:44 | history | answered | Jonathan | CC BY-SA 4.0 |