Skip to content

MNT remove pre-dispatch and verbose from CalibratedClassifierCV - #18030

Merged
thomasjpfan merged 4 commits into
scikit-learn:masterfrom
NicolasHug:removepredispatch
Aug 5, 2020
Merged

thomasjpfan merged 4 commits into
scikit-learn:masterfrom
NicolasHug:removepredispatch

Conversation

@NicolasHug

Copy link
Copy Markdown
Member

I thought we didn't expose these anymore but I could be wrong

CC @ogrisel and @thomasjpfan since you reviewed #17107

@thomasjpfan

Copy link
Copy Markdown
Member

We still expose it in RandomizedSearchCV, cross_validate, etc. Is there a discussion where we decided to not expose them?

@NicolasHug

Copy link
Copy Markdown
Member Author

I can't find it but I think I remember a comment saying we don't introduce pre_dispatch anymore (but we leave it where it exists). Maybe that was from @adrinjalali @glemaitre @rth ?

@glemaitre

Copy link
Copy Markdown
Member

I am not familiar with this part. I would rely on @jeremiedbb and @ogrisel

@NicolasHug

Copy link
Copy Markdown
Member Author

Found it, #17159 (comment) that was actually @amueller

@ogrisel

ogrisel commented Aug 3, 2020

Copy link
Copy Markdown
Member

The default pre_dispatch should work good enough for the vast majority of cases and backends. So +1 for removing this option from CalibratedClassifierCV prior to releasing 0.24.

@jnothman

jnothman commented Aug 4, 2020 via email

Copy link
Copy Markdown
Member

@NicolasHug

NicolasHug commented Aug 4, 2020 •

Copy link
Copy Markdown
Member Author

There are a bunch of places where we have n_jobs with no joblib-related verbose parameter: LinearRegression permutation_importance, FeatureUnion, the Voting estimators, the Stacking estimators (only partially used)...

I feel like if the only effect of verbose is on joblib, it's not worth exposing. No strong opinion though.

@thomasjpfan thomasjpfan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is not released, we can remove for now and decide if we want verbose later.

@thomasjpfan thomasjpfan changed the title [MRG] MNT remove pre-dispatch and verbose from CalibratedClassifierCV MNT remove pre-dispatch and verbose from CalibratedClassifierCV Aug 5, 2020
@thomasjpfan
thomasjpfan merged commit 5e010c4 into scikit-learn:master Aug 5, 2020
jayzed82 pushed a commit to jayzed82/scikit-learn that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants