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

[MRG] avoid storage of each tree predictions in iforest #13260

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

ngoix
Copy link
Contributor

@ngoix ngoix commented Feb 25, 2019

fixes (partly) #12040

will do the chunking of X_test in another PR for clarity

@ngoix
Copy link
Contributor Author

ngoix commented Feb 25, 2019

should not be too hard to rebase on #13251

@ngoix ngoix changed the title [WIP] avoid storage of each tree predictions [MRG] avoid storage of each tree predictions Feb 26, 2019
@ngoix ngoix changed the title [MRG] avoid storage of each tree predictions [MRG] avoid storage of each tree predictions in iforest Feb 26, 2019
@glemaitre
Copy link
Member

It seems that you are modifying something which is changed in #13251 as well.
@albertcthomas it seems that we should kill one of the 2 PRs isn't it?

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

Actually I see that we could use the common tests from @albertcthomas

sklearn/ensemble/iforest.py Show resolved Hide resolved
@ngoix
Copy link
Contributor Author

ngoix commented Feb 26, 2019

I don't think so, #13251 has nothing to do with the changes here. Conflicts will be on the changes in value of _average_path_length(1) and _average_path_length(2) so shouldn't be a problem. Let's merge #13251 first.

@albertcthomas
Copy link
Contributor

I think @ngoix is right, #13251 only changes a few output values of _average_path_length.

@albertcthomas
Copy link
Contributor

#13251 has just been merged so you can rebase @ngoix.

sklearn/ensemble/iforest.py Outdated Show resolved Hide resolved
sklearn/ensemble/iforest.py Show resolved Hide resolved
Copy link
Contributor

@albertcthomas albertcthomas left a comment

Choose a reason for hiding this comment

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

LGTM!

sklearn/ensemble/iforest.py Show resolved Hide resolved
@agramfort
Copy link
Member

@ngoix please update what's new 0.21.rst

and +1 for MRG. thanks

@banilo
Copy link
Contributor

banilo commented Mar 1, 2019

looks good

@ngoix
Copy link
Contributor Author

ngoix commented Mar 2, 2019

@agramfort can you merge?

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@adrinjalali adrinjalali merged commit 12705bb into scikit-learn:master Mar 2, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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.

7 participants