Skip to content

MNT remove fit_sample alias from base class #773

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

Merged

Conversation

glemaitre
Copy link
Member

I think while deprecating fit_sample, we forgot to remove the alias from the base class.

@glemaitre
Copy link
Member Author

ping @hayesall @chkoar

Does it seem OK with you.

Copy link
Member

@hayesall hayesall left a comment

Choose a reason for hiding this comment

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

fit_sample is still mentioned in the readthedocs pages, but that's a separate issue. I say drop it.

@glemaitre
Copy link
Member Author

Do you have an example because it should not be the case anymore :)

@chkoar
Copy link
Member

chkoar commented Nov 3, 2020

fit_sample is still mentioned in the readthedocs pages, but that's a separate issue. I say drop it.

I would not drop it before solving #690.

@glemaitre
Copy link
Member Author

Uhm yes this one. I have to give a look at it.

@hayesall
Copy link
Member

hayesall commented Nov 3, 2020

Do you have an example because it should not be the case anymore :)

Here's one:

https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.combine.SMOTEENN.html?highlight=fit_sample#imblearn.combine.SMOTEENN.fit_sample

Aliases for fit_sample were still generated on most methods.

@glemaitre
Copy link
Member Author

We redirected the page since I think or at least the page is not accessible anymore?

@glemaitre glemaitre merged commit a9e1121 into scikit-learn-contrib:master Feb 8, 2021
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.

3 participants