Skip to content

[MRG] prefer threads for IsolationForest#12543

Merged
rth merged 2 commits into
scikit-learn:masterfrom
ogrisel:isolation-forest-prefer-threads
Nov 7, 2018
Merged

[MRG] prefer threads for IsolationForest#12543
rth merged 2 commits into
scikit-learn:masterfrom
ogrisel:isolation-forest-prefer-threads

Conversation

@ogrisel

@ogrisel ogrisel commented Nov 7, 2018

Copy link
Copy Markdown
Member

Fixes #12469.

I re-ran @istorch's example snippets profiled by memory_profiler and as expected the call to Parallel has a memory increment lower than 20MB (instead of 4GB as previously).

@TomDLT TomDLT 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

Comment thread doc/whats_new/v0.21.rst Outdated
Co-Authored-By: ogrisel <olivier.grisel@ensta.org>

@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! Thanks @ogrisel

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

Thanks!

@rth rth merged commit 664ff34 into scikit-learn:master Nov 7, 2018
thoo added a commit to thoo/scikit-learn that referenced this pull request Nov 9, 2018
…ybutton

* upstream/master:
  FIX YeoJohnson transform lambda bounds (scikit-learn#12522)
  [MRG] Additional Warnings in case OpenML auto-detected a problem with dataset  (scikit-learn#12541)
  ENH Prefer threads for IsolationForest (scikit-learn#12543)
  joblib 0.13.0 (scikit-learn#12531)
  DOC tweak KMeans regarding cluster_centers_ convergence (scikit-learn#12537)
  DOC (0.21) Make sure plot_tree docs are generated and fix link in whatsnew (scikit-learn#12533)
  ALL Add HashingVectorizer to __all__ (scikit-learn#12534)
  BLD we should ensure continued support for joblib 0.11 (scikit-learn#12350)
  fix typo in whatsnew
  Fix dead link to numpydoc (scikit-learn#12532)
  [MRG] Fix segfault in AgglomerativeClustering with read-only mmaps (scikit-learn#12485)
  MNT (0.21) OPTiCS change the default `algorithm` to `auto` (scikit-learn#12529)
  FIX SkLearn `.score()` method generating error with Dask DataFrames (scikit-learn#12462)
  MNT KBinsDiscretizer.transform should not mutate _encoder (scikit-learn#12514)
thoo pushed a commit to thoo/scikit-learn that referenced this pull request Nov 14, 2018
thoo pushed a commit to thoo/scikit-learn that referenced this pull request Nov 14, 2018
@amueller amueller mentioned this pull request Nov 20, 2018
@amueller

Copy link
Copy Markdown
Member

Do we want this in 0.20.1?

@ogrisel ogrisel deleted the isolation-forest-prefer-threads branch November 21, 2018 12:37
@ogrisel

ogrisel commented Nov 21, 2018

Copy link
Copy Markdown
Member Author

I am fine with it. It was a performance problem. Not sure it counts as a strict bug fix though. +0.

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

5 participants