Skip to content
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

fit() in rescaled() decorator should return self #306

Merged
merged 2 commits into from
Feb 23, 2016

Conversation

desilinguist
Copy link
Member

Currently the fit() method in the rescaled() decorator does not return self which is generally what fit() methods in scikit-learn should do.

I fixed that and also modified the test_rescaling() regression test to also test rescaled learners without using grid search. So, we have new tests to check for this functionality which we didn't have before which is probably why this bug slipped through,

@desilinguist
Copy link
Member Author

@aoifecahill can you also look at this please?

@aoifecahill
Copy link
Collaborator

Looks good to me, thanks!

@dan-blanchard
Copy link
Contributor

Looks good to me too!

desilinguist added a commit that referenced this pull request Feb 23, 2016
…d-fit-return-self

`fit()` in `rescaled()` decorator should return `self`.
@desilinguist desilinguist merged commit 177cb9f into master Feb 23, 2016
@desilinguist desilinguist deleted the bugfix/rescaled-fit-return-self branch February 23, 2016 14:04
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.

None yet

3 participants