Skip to content

Commit

Permalink
BF: avoid importing from inside joblib (scikit-learn#7731)
Browse files Browse the repository at this point in the history
Debian replaces externals.joblib by an import to joblib, because they
hate duplication. Hence importing from inside joblib doesn't work, and
the line that I removed greats a bug.

See
http:https://lists.alioth.debian.org/pipermail/neurodebian-users/2016-October/001093.html
  • Loading branch information
GaelVaroquaux authored and NelleV committed Oct 25, 2016
1 parent 4ddb744 commit 5adc832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/metrics/pairwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from ..preprocessing import normalize
from ..externals.joblib import Parallel
from ..externals.joblib import delayed
from ..externals.joblib.parallel import cpu_count
from ..externals.joblib import cpu_count

from .pairwise_fast import _chi2_kernel_fast, _sparse_manhattan

Expand Down

0 comments on commit 5adc832

Please sign in to comment.