Improve speed plot_permutation_tests_for_classification.py #21649
Conversation
…d execution speed of the example
|
Thanks for the PR. |
|
@TomDLT Allright, agreed |
|
Even better time improvement from 1:44 min (before) to 0:11 min (after) |
|
Could you also check if using another model other than SVC could speed up the process? |
|
@thomasjpfan re number of unrelated features, you happy with this? |
|
@adrinjalali Yes, I also checked One-vs-One Logistic Regression, One-vs-All Logistic Regression and Multinomial Logistic Regression...all three were significantly slower than SVC. |
|
I'd also check |
|
@adrinjalali Just checked it, also way worse (12 sec for LogReg vs 10 min HGB)...so far Logistic Regression seems unreached by other models |
#21598 @adrinjalali
Changed the number of features and permutations

