Skip to content

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

Merged
adrinjalali merged 1 commit into
scikit-learn:masterfrom
ngoix:iforest_memory
Mar 2, 2019
Merged

adrinjalali merged 1 commit into
scikit-learn:masterfrom
ngoix:iforest_memory

Conversation

@ngoix

@ngoix ngoix commented Feb 25, 2019

Copy link
Copy Markdown
Contributor

fixes (partly) #12040

will do the chunking of X_test in another PR for clarity

@ngoix

ngoix commented Feb 25, 2019

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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?

@glemaitre glemaitre 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.

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

Comment thread sklearn/ensemble/iforest.py Resolved
@ngoix

ngoix commented Feb 26, 2019

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

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

@albertcthomas

Copy link
Copy Markdown
Contributor

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

Comment thread sklearn/ensemble/iforest.py Resolved
Comment thread sklearn/ensemble/iforest.py Resolved

@albertcthomas albertcthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread sklearn/ensemble/iforest.py Resolved
@agramfort

Copy link
Copy Markdown
Member

@ngoix please update what's new 0.21.rst

and +1 for MRG. thanks

Comment thread sklearn/ensemble/tests/test_iforest.py Resolved
@banilo

banilo commented Mar 1, 2019

Copy link
Copy Markdown
Contributor

looks good

@ngoix

ngoix commented Mar 2, 2019

Copy link
Copy Markdown
Contributor Author

@agramfort can you merge?

@adrinjalali adrinjalali 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.

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