-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Improve speed plot_permutation_tests_for_classification.py #21649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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

