Skip to content

[MRG] Release 0.20.1 #12383

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

Merged
merged 140 commits into from
Nov 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
4a6b5b8
TST update make_column_transformer test + add comment (#12156)
jorisvandenbossche Sep 25, 2018
0f128f9
coef0 is a float, not an int (#12161)
djsutherland Sep 25, 2018
1cff257
DOC More specific about the limitation of make_column_transformer (#1…
qinhanmin2014 Sep 26, 2018
1147156
MAINT update comment
jnothman Sep 26, 2018
c3f64e6
MNT Avoid using "is" when comparing strings (#12168)
qinhanmin2014 Sep 26, 2018
a152cce
MNT Unused import in plot_gpr_co2.py
qinhanmin2014 Sep 26, 2018
cec0fba
Fix parallel backend neighbors (#12172)
tomMoral Sep 27, 2018
e2a7b31
FIX Use take instead of choose in compute_sample_weight (#12165)
jnothman Sep 27, 2018
0444def
DOC Add sections to whats new 0.20.1 (#12183)
qinhanmin2014 Sep 27, 2018
16dba4e
DOC KDE normalisation clarified (#11275)
haroldfox Sep 28, 2018
4bd468a
[MRG] Fix diagonal in DBSCAN with precomputed sparse neighbors graph …
TomDLT Sep 28, 2018
fdd369a
DOC Add Versionadded tag to sklearn/_config.py (#12187)
J0 Sep 28, 2018
eb0e4a0
BaseSearchCV._run_search raises NotImplementedError instead of being …
adrinjalali Sep 28, 2018
8c3ff26
DOC Add versionadded to set_config (#12196)
qinhanmin2014 Sep 29, 2018
cbc2111
DOC Improve ColumnTransformer docstrings (#12206)
LilyX2021 Sep 29, 2018
5c67529
MNT Remove duplicate import of warnings & unused variables (#12203)
rebekahkim Sep 30, 2018
907d772
DOC Fix typo in neighbors/nearest_centroid.py (#12223)
jdethurens Sep 30, 2018
7b04dd9
DOC Fixing summary table in the linear model documentation. (#12220)
markhannel Sep 30, 2018
9136311
MNT Use name instead of float to specify colors (#12199)
qinhanmin2014 Oct 1, 2018
9a00af0
[MRG] More informative error message in OneHotEncoder(categories=None…
ygivenx Oct 1, 2018
c252cc4
add explicit mention of scaing for saga in logisticregression docs. (…
amueller Oct 1, 2018
1478728
MNT Raise error for duplicate classes when constructing a MultiLabelB…
samwaterbury Oct 2, 2018
96935cd
DOC Encourage contributors to use sklearn.show_versions() (#12225)
qinhanmin2014 Oct 2, 2018
edeefb0
MNT Add versionadded to set_config parameters
qinhanmin2014 Oct 2, 2018
4b7c89b
MNT Unused imports in examples
qinhanmin2014 Oct 2, 2018
288eee1
Fix numpy.int overflow in make_classification (#10811)
VarIr Oct 2, 2018
91bc60c
Remove test_import_sklearn_no_warnings (#12244)
rth Oct 2, 2018
1339397
DOC fix cross-entropy typo in tree docs (#12242)
rasbt Oct 3, 2018
6bcdce4
[MRG] Added Tips in SVM user guide for tuning C parameter in LinearSV…
Oct 3, 2018
2107594
DOC Remove mentions of removed AUTHORS.rst file (#12262)
jacquerie Oct 4, 2018
f360238
MNT Change show_versions format to suit markdown (#12255)
qinhanmin2014 Oct 4, 2018
a991ad4
DOC add note on discretization creating non-linearity (#12269)
jnothman Oct 4, 2018
a477c2f
MNT Updated PyPI URLs (#12274)
TakingItCasual Oct 4, 2018
b928fbb
DOC Move 'for instance' to front
jnothman Oct 4, 2018
14830b6
[MRG+1] ColumnTransformer fix having mixed types in a single passthro…
adrinjalali Oct 4, 2018
454004c
[MRG] Created 'cross-validation estimator' entry in glossary (#11661)
NicolasHug Oct 4, 2018
fcf0c31
DOC removed ambiguity in pipeline gridsearch example (#12272)
sjtrny Oct 4, 2018
0b101fe
DOC Add class example for LedoitWolf (#12214)
andreanr Oct 5, 2018
215d0bc
FIX cache of OpenML fetcher (#12246)
janvanrijn Oct 5, 2018
7442005
EXA Fix bad data visualisation in "Importance of Feature Scaling" (#1…
benjastudio Oct 5, 2018
134bec5
MNT Make check_X_y raise a better error when y is None (#12283)
jacquerie Oct 5, 2018
0c5af6a
DOC Added "mars" testimonial to testimonials page (#12298)
GauravAhlawat Oct 5, 2018
cb0f957
DOC What's new typo
qinhanmin2014 Oct 5, 2018
2fc9f62
DOC Fix broken link to joblib documentation (#12301)
kushalchauhan98 Oct 5, 2018
ad5d1d9
MNT Apply pep8 to docs code (#12275)
kataev Oct 5, 2018
42049b7
MNT Refactors doc test into seperate script (#12248)
thomasjpfan Oct 6, 2018
0171131
TST Use same random seeds for both GaussianMixture.fit (#12307)
oleksandr-pavlyk Oct 7, 2018
2b1633a
TST Use v_measure_score to compare label arrays up to permutation (#1…
oleksandr-pavlyk Oct 9, 2018
fb157bf
DOC What's new typo
qinhanmin2014 Oct 9, 2018
6dbfc85
EXA Fix title, overlapping plots and axis labels in plot_ols_ridge_va…
Oct 9, 2018
b420655
[MRG] Fix fetch_openml when ignore attributes are numeric (#12330)
janvanrijn Oct 9, 2018
854978f
[MRG] FIX Update power_transform docstring and add FutureWarning (#12…
chang Oct 10, 2018
082ac70
DOC check_array() and check_X_y() documentation update (#12340)
dvukolov Oct 10, 2018
abddcce
DOC fix logistic regression.fit docstring on y (#12343)
adrinjalali Oct 10, 2018
50308b2
DOC Update v0.20.rst with power_transform API change (#12351)
chang Oct 11, 2018
9cd2902
EXA Fix labels overlap in Out-of-core classification of text document…
Oct 13, 2018
9d63a7d
BUG Fix OrdinalEncoder with manually specified categories (#12367)
jorisvandenbossche Oct 13, 2018
ff3dea3
TST Fix missing assert and parametrize k-means tests (#12368)
jeremiedbb Oct 13, 2018
7c5cddd
[MRG] ENH apply sparse_threshold even if all columns are sparse (#12304)
amueller Oct 14, 2018
95150dd
DOC improve OneHotEncoder documentation (#12314)
Cheukting Oct 14, 2018
d17fda1
MNT Update version
jnothman Oct 15, 2018
87077f3
DOC Fix the link to computing docs (#12380)
gustavodemari Oct 15, 2018
c58d322
FIX Increase mean precision for large float32 arrays (#12338)
bauks Oct 16, 2018
315815b
[MRG] Clarified indempotence of fit (#12305)
NicolasHug Oct 16, 2018
2de6620
DOC minor clarifications in ensemble.rst (#11810)
NicolasHug Oct 17, 2018
ccc5c57
DOC DecisionTreeClassifier does not support categorical data (#12402)
pulkitmaloo Oct 18, 2018
03fa0eb
DOC Change i.e. to e.g. in MinMaxScaler (#12415)
Quetzalcohuatl Oct 18, 2018
77f622d
DOC: Fix typo where FMI was referred to as AMI (#12414)
scottclowe Oct 21, 2018
f89b0b7
Resurrected PR #5224 from @andylamb. (#12427)
Oct 22, 2018
9796346
EXA calculate number of noise points (#12428)
koenvandevelde Oct 22, 2018
a57ef83
FIX olivetti_faces DESCR to point to the good location (#12441)
jeremiedbb Oct 23, 2018
fa0e3f2
modify kbins test using kmeans due to unstable local minimum (#12450)
jeremiedbb Oct 24, 2018
f39f720
[MRG] Added FutureWarning in sgd models for tol parameter (#12399)
NicolasHug Oct 24, 2018
7a03dcf
TST Fix test gaussian mixture warm start (#12452)
jeremiedbb Oct 25, 2018
d6cd8e7
FIX ensure max_features > 0 in ensemble.bagging (#12388)
connortann Oct 27, 2018
40f28c2
TST Parametrize, refactor and add new kmeans tests (#12432)
jeremiedbb Oct 27, 2018
e4e9163
TST Throw correct error for pytest version (#12475)
musically-ut Oct 29, 2018
616fd44
Fix numpy vstack on generator expressions (#12467)
ogrisel Oct 29, 2018
df3fd9e
Fix mean shift equation as per issue 12420 (#12455)
mail-liam Oct 29, 2018
211eae8
DOC Mention of pairwise_distances in Guide on Metrics (#12416)
Oct 30, 2018
7cb36f4
FIX pairwise_distances_argmin_min wrong with metric="euclidean" (#12481)
jeremiedbb Oct 30, 2018
802bd7c
DOC Small fix in compose.rst (#12487)
thomasjpfan Oct 31, 2018
ecad9b4
MNT what's new corrections
qinhanmin2014 Oct 31, 2018
23f06ca
Fix include .pxd definitions for sklearn.tree in wheels (#12381)
RoopamSharma Oct 31, 2018
0412271
Fix IncrementalPCA when final batch is smaller than dimensions requir…
minggli Oct 31, 2018
22447d4
DOC fix broken link in doc/developers/contributing.rst (#12508)
CaselIT Nov 2, 2018
3f8c27c
TST skip test_backend_respected if joblib is forced into serial mode …
yarikoptic Nov 2, 2018
dea72cd
Fix inconsistent labels returned by BayesianGaussianMixture.fit_predi…
ogrisel Nov 3, 2018
a75d5aa
DOC Add details to StandardScaler calculation (#12446)
tuliocasagrande Nov 4, 2018
0c18899
Impose shared memory when fitting a SGDClassifier (#12498)
pierreglaser Nov 5, 2018
a803ebb
MNT what's new corrections
TomDLT Nov 5, 2018
dbca487
MNT KBinsDiscretizer.transform should not mutate _encoder (#12514)
qinhanmin2014 Nov 6, 2018
aba21e8
FIX SkLearn `.score()` method generating error with Dask DataFrames (…
ZWMiller Nov 6, 2018
696fa4a
[MRG] Fix segfault in AgglomerativeClustering with read-only mmaps (#…
rth Nov 6, 2018
5b88098
Fix dead link to numpydoc (#12532)
dstine Nov 6, 2018
8f7b362
BLD we should ensure continued support for joblib 0.11 (#12350)
jnothman Nov 6, 2018
59eaf34
DOC tweak KMeans regarding cluster_centers_ convergence (#12537)
nogilnick Nov 7, 2018
ffdc5c9
joblib 0.13.0 (#12531)
ogrisel Nov 7, 2018
afce882
[MRG] Additional Warnings in case OpenML auto-detected a problem with…
janvanrijn Nov 7, 2018
2ccc921
FIX YeoJohnson transform lambda bounds (#12522)
NicolasHug Nov 8, 2018
edccc6a
DOC: add a testimonial from JP Morgan (#12555)
GaelVaroquaux Nov 10, 2018
6084189
TST autoreplace assert_true(...==...) with plain assert (#12547)
yarikoptic Nov 11, 2018
905cfba
MNT Remove unused assert_true imports (#12560)
qinhanmin2014 Nov 11, 2018
276cb5c
MNT Don't change self.n_values in OneHotEncoder.fit (#12286)
amueller Nov 11, 2018
155492f
DOC Add skorch to related projects (#12561)
killthekitten Nov 11, 2018
2088072
FIX stop words validation in text vectorizers with custom preprocesso…
rth Nov 11, 2018
0f68e7a
EXA Fix comment in plot-iris-logistic example (#12564)
lithuak Nov 12, 2018
c6ba018
DOC Add 's' to "correspond" in docs for Hamming Loss. (#12565)
JackLangerman Nov 12, 2018
cddee33
FIX remove FutureWarning in _object_dtype_isnan and add test (#12567)
jeremiedbb Nov 12, 2018
806cc78
DOC: Clarify `cv` parameter description in `GridSearchCV` (#12495)
QBatista Nov 12, 2018
b519452
FIX incorrect error when OneHotEncoder.transform called prior to fit …
dillongardner Nov 12, 2018
01e1529
MNT bare asserts (#12571)
Nov 12, 2018
fc538bd
FIX Workaround limitation of cloudpickle under PyPy (#12566)
ogrisel Nov 13, 2018
b6764de
DOC Fix typo (#12563)
rst0git Nov 13, 2018
8037742
TST don't test utils.fixes docstrings (#12576)
jnothman Nov 13, 2018
8c1b01a
ENH/FIX openml, Adds retrying if reading from cache fails (#12526)
thomasjpfan Nov 14, 2018
ae6cbc9
MNT Duplicate import
jnothman Nov 14, 2018
285a917
MNT Converting http to https (#12277)
TakingItCasual Oct 4, 2018
9b998a0
ENH Raise an error when pos_label is not in binary y_true (#12313)
qinhanmin2014 Oct 8, 2018
95a4368
Converting http to https (2)... (#12292)
TakingItCasual Oct 4, 2018
0ec901f
ENH Raise descriptive ValueError if number of samples equals number o…
eddbrown Oct 23, 2018
1f4451e
ENH Improved error message for bad predict_proba shape in ThresholdSc…
Nov 14, 2018
705101b
MNT Duplicate import
qinhanmin2014 Nov 14, 2018
7922ec4
DOC improved documentation of MissingIndicator (#12424)
janvanrijn Nov 14, 2018
47251a9
FIX use ellipsis in PowerTransformer doctest (#12595)
ogrisel Nov 15, 2018
8f92dad
DOC fix typos in gaussian_process.rst (#12602)
SylvainLan Nov 16, 2018
6c67f9b
DOV consistency of parameters for GroupKFold and LeaveOneGroupOut (#1…
samwaterbury Nov 17, 2018
5e58882
DOC generative model description etc for LatentDirichletAllocation (#…
melsyt Nov 18, 2018
8be62a5
Bug with string dtype in OneHotEncoder with handle_unknown='ignore' (…
GMarzinotto Nov 18, 2018
b44345b
MAINT Use CircleCI for linting (#12606)
rth Nov 19, 2018
eed2f59
DOC fix TeX error in Davies Bouldin formula
jnothman Nov 19, 2018
9bd1d6a
MNT Change deprecation for min_impurity_split from removal to changin…
NicolasHug Nov 19, 2018
6eece0e
FIX make joblib utils private, and remove mentions of externals.jobli…
tomMoral Nov 19, 2018
12bef81
[MRG] DOC Windows build dependencies (#12615)
phausamann Nov 20, 2018
26e08c8
[MRG] set blockwise diagonals to zero for euclidean distance (#12612)
amueller Nov 20, 2018
4aac96d
FIX check_array dtype check for pandas series (#12625)
amueller Nov 20, 2018
ed83ca7
FIX Missing import
jnothman Nov 20, 2018
39a6bf9
DOC whats new tweaks for 0.20.1
jnothman Nov 20, 2018
0c1a1ae
BLD PyPy needs joblib (#12629)
jnothman Nov 21, 2018
fd13f47
API Change the tuple order in make_column_transformer (#12626)
adrinjalali Nov 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ jobs:
path: ~/log.txt
destination: log.txt

lint:
docker:
- image: circleci/python:3.6.1
steps:
- checkout
- run: ./build_tools/circle/checkout_merge_commit.sh
- run:
name: dependencies
command: sudo pip install flake8
- run:
name: flake8
command: ./build_tools/circle/flake8_diff.sh

pypy3:
docker:
- image: pypy:3-6.0.0
Expand Down Expand Up @@ -103,6 +116,7 @@ workflows:
jobs:
- python3
- python2
- lint
- pypy3:
filters:
branches:
Expand Down
17 changes: 10 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ matrix:
NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" CYTHON_VERSION="0.25.2"
PILLOW_VERSION="4.0.0" COVERAGE=true
if: type != cron
# Python 3.5 build
- env: DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_MKL="false"
NUMPY_VERSION="1.10.4" SCIPY_VERSION="0.16.1" CYTHON_VERSION="0.25.2"
PILLOW_VERSION="4.0.0" COVERAGE=true
SKLEARN_SITE_JOBLIB=1 JOBLIB_VERSION="0.11"
if: type != cron
# This environment tests the latest available dependencies.
# It runs tests requiring pandas and PyAMG.
# It also runs with the site joblib instead of the vendored copy of joblib.
Expand All @@ -48,12 +54,6 @@ matrix:
CHECK_PYTEST_SOFT_DEPENDENCY="true" TEST_DOCSTRINGS="true"
SKLEARN_SITE_JOBLIB=1 CHECK_WARNINGS="true"
if: type != cron
# flake8 linting on diff wrt common ancestor with upstream/master
- env: RUN_FLAKE8="true" SKIP_TESTS="true"
DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_MKL="true"
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1"
CYTHON_VERSION="0.26.1"
if: type != cron
# This environment tests scikit-learn against numpy and scipy master
# installed from their CI wheels in a virtualenv with the Python
# interpreter provided by travis.
Expand All @@ -62,7 +62,10 @@ matrix:
if: type = cron OR commit_message =~ /\[scipy-dev\]/

install: source build_tools/travis/install.sh
script: bash build_tools/travis/test_script.sh
script:
- bash build_tools/travis/test_script.sh
- bash build_tools/travis/test_docs.sh
- bash build_tools/travis/test_pytest_soft_dependency.sh
after_success: source build_tools/travis/after_success.sh
notifications:
webhooks:
Expand Down
28 changes: 18 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,25 @@ following rules before submitting:
as your Python, scikit-learn, numpy, and scipy versions. This information
can be found by running the following code snippet:

```python
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import sklearn; print("Scikit-Learn", sklearn.__version__)
```
For scikit-learn >= 0.20:

```python
import sklearn; sklearn.show_versions()
```

For scikit-learn < 0.20:

```python
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
import scipy; print("SciPy", scipy.__version__)
import sklearn; print("Scikit-Learn", sklearn.__version__)
```

- Please be specific about what estimators and/or functions are involved
and the shape of the data, as appropriate; please include a
[reproducible](http://stackoverflow.com/help/mcve) code snippet
[reproducible](https://stackoverflow.com/help/mcve) code snippet
or link to a [gist](https://gist.github.com). If an exception is raised,
please provide the traceback.

Expand Down Expand Up @@ -222,8 +230,8 @@ be placed in ``_build/html/stable`` and are viewable in a web browser. See the

For building the documentation, you will need
[sphinx](http://sphinx.pocoo.org/),
[matplotlib](http://matplotlib.org/), and
[pillow](http://pillow.readthedocs.io/en/latest/).
[matplotlib](https://matplotlib.org/), and
[pillow](https://pillow.readthedocs.io/en/latest/).

When you are writing documentation, it is important to keep a good
compromise between mathematical and algorithmic details, and give
Expand Down
5 changes: 4 additions & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
If your issue is a usage question, submit it here instead:
- StackOverflow with the scikit-learn tag: http://stackoverflow.com/questions/tagged/scikit-learn
- StackOverflow with the scikit-learn tag: https://stackoverflow.com/questions/tagged/scikit-learn
- Mailing List: https://mail.python.org/mailman/listinfo/scikit-learn
For more information, see User Questions: http://scikit-learn.org/stable/support.html#user-questions
-->
Expand Down Expand Up @@ -43,6 +43,9 @@ it in the issue: https://gist.github.com
#### Versions
<!--
Please run the following snippet and paste the output below.
For scikit-learn >= 0.20:
import sklearn; sklearn.show_versions()
For scikit-learn < 0.20:
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import numpy; print("NumPy", numpy.__version__)
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ recursive-include examples *
recursive-include sklearn *.c *.h *.pyx *.pxd *.pxi
recursive-include sklearn/datasets *.csv *.csv.gz *.rst *.jpg *.txt *.arff.gz *.json.gz
include COPYING
include AUTHORS.rst
include README.rst

15 changes: 9 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ SciPy and distributed under the 3-Clause BSD license.

The project was started in 2007 by David Cournapeau as a Google Summer
of Code project, and since then many volunteers have contributed. See
the `AUTHORS.rst <AUTHORS.rst>`_ file for a complete list of contributors.
the `About us <http://scikit-learn.org/dev/about.html#authors>`_ page
for a list of core contributors.

It is currently maintained by a team of volunteers.

Expand All @@ -57,13 +58,14 @@ scikit-learn requires:
Scikit-learn 0.21 and later will require Python 3.5 or newer.

For running the examples Matplotlib >= 1.4 is required. A few examples
require scikit-image >= 0.11.3 and a few examples require pandas >= 0.17.1.
require scikit-image >= 0.11.3, a few examples require pandas >= 0.17.1
and a few example require joblib >= 0.11.

scikit-learn also uses CBLAS, the C interface to the Basic Linear Algebra
Subprograms library. scikit-learn comes with a reference implementation, but
the system CBLAS will be detected by the build system and used if present.
CBLAS exists in many implementations; see `Linear algebra libraries
<http://scikit-learn.org/stable/modules/computational_performance.html#linear-algebra-libraries>`_
<http://scikit-learn.org/stable/modules/computing#linear-algebra-libraries>`_
for known issues.

User installation
Expand Down Expand Up @@ -100,7 +102,7 @@ Important links
~~~~~~~~~~~~~~~

- Official source code repo: https://github.com/scikit-learn/scikit-learn
- Download releases: https://pypi.python.org/pypi/scikit-learn
- Download releases: https://pypi.org/project/scikit-learn/
- Issue tracker: https://github.com/scikit-learn/scikit-learn/issues

Source code
Expand Down Expand Up @@ -143,7 +145,8 @@ Project History

The project was started in 2007 by David Cournapeau as a Google Summer
of Code project, and since then many volunteers have contributed. See
the `AUTHORS.rst <AUTHORS.rst>`_ file for a complete list of contributors.
the `About us <http://scikit-learn.org/dev/about.html#authors>`_ page
for a list of core contributors.

The project is currently maintained by a team of volunteers.

Expand All @@ -165,7 +168,7 @@ Communication

- Mailing list: https://mail.python.org/mailman/listinfo/scikit-learn
- IRC channel: ``#scikit-learn`` at ``webchat.freenode.net``
- Stack Overflow: http://stackoverflow.com/questions/tagged/scikit-learn
- Stack Overflow: https://stackoverflow.com/questions/tagged/scikit-learn
- Website: http://scikit-learn.org

Citation
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script interpreter
# See: http://stackoverflow.com/a/13751649/163740
# See: https://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build_tools\\appveyor\\run_with_env.cmd"
WHEELHOUSE_UPLOADER_USERNAME: sklearn-appveyor
WHEELHOUSE_UPLOADER_SECRET:
Expand Down Expand Up @@ -46,7 +46,7 @@ install:
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
throw "There are newer queued builds for this pull request, failing early." }

# Install Python (from the official .msi of http://python.org) and pip when
# Install Python (from the official .msi of https://python.org) and pip when
# not already installed.
- "powershell ./build_tools/appveyor/install.ps1"
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_covertype.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
from time import time
import argparse
import numpy as np
from joblib import Memory

from sklearn.datasets import fetch_covtype, get_data_home
from sklearn.svm import LinearSVC
Expand All @@ -59,7 +60,6 @@
from sklearn.ensemble import RandomForestClassifier, ExtraTreesClassifier
from sklearn.ensemble import GradientBoostingClassifier
from sklearn.metrics import zero_one_loss
from sklearn.utils import Memory
from sklearn.utils import check_array

# Memoize the data extraction and memory map the resulting
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
from time import time
import argparse
import numpy as np
from joblib import Memory

from sklearn.datasets import fetch_mldata
from sklearn.datasets import get_data_home
from sklearn.ensemble import ExtraTreesClassifier
from sklearn.ensemble import RandomForestClassifier
from sklearn.dummy import DummyClassifier
from sklearn.utils import Memory
from sklearn.kernel_approximation import Nystroem
from sklearn.kernel_approximation import RBFSampler
from sklearn.metrics import zero_one_loss
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/bench_plot_nmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import numpy as np
import matplotlib.pyplot as plt
from joblib import Memory
import pandas

from sklearn.utils.testing import ignore_warnings
Expand All @@ -22,7 +23,6 @@
from sklearn.decomposition.nmf import _initialize_nmf
from sklearn.decomposition.nmf import _beta_divergence
from sklearn.decomposition.nmf import INTEGER_TYPES, _check_init
from sklearn.utils import Memory
from sklearn.exceptions import ConvergenceWarning
from sklearn.utils.extmath import safe_sparse_dot, squared_norm
from sklearn.utils import check_array
Expand Down Expand Up @@ -96,7 +96,7 @@ def _nls_subproblem(X, W, H, tol, max_iter, alpha=0., l1_ratio=0.,
----------
C.-J. Lin. Projected gradient methods for non-negative matrix
factorization. Neural Computation, 19(2007), 2756-2779.
http://www.csie.ntu.edu.tw/~cjlin/nmf/
https://www.csie.ntu.edu.tw/~cjlin/nmf/
"""
WtX = safe_sparse_dot(W.T, X)
WtW = np.dot(W.T, W)
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/bench_plot_randomized_svd.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
----------
(1) Finding structure with randomness: Stochastic algorithms for constructing
approximate matrix decompositions
Halko, et al., 2009 http://arxiv.org/abs/arXiv:0909.4061
Halko, et al., 2009 https://arxiv.org/abs/0909.4061

(2) A randomized algorithm for the decomposition of matrices
Per-Gunnar Martinsson, Vladimir Rokhlin and Mark Tygert
Expand Down Expand Up @@ -106,7 +106,7 @@
MAX_MEMORY = np.int(2e9)

# The following datasets can be dowloaded manually from:
# CIFAR 10: http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
# CIFAR 10: https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
# SVHN: http://ufldl.stanford.edu/housenumbers/train_32x32.mat
CIFAR_FOLDER = "./cifar-10-batches-py/"
SVHN_FOLDER = "./SVHN/"
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_rcv1_logreg_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# License: BSD 3 clause

import matplotlib.pyplot as plt
from joblib import Memory
import numpy as np
import gc
import time

from sklearn.utils import Memory
from sklearn.linear_model import (LogisticRegression, SGDClassifier)
from sklearn.datasets import fetch_rcv1
from sklearn.linear_model.sag import get_auto_step_size
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_saga.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
import time
from os.path import expanduser

from joblib import delayed, Parallel, Memory
import matplotlib.pyplot as plt
import numpy as np

from sklearn.datasets import fetch_rcv1, load_iris, load_digits, \
fetch_20newsgroups_vectorized
from sklearn.utils import delayed, Parallel, Memory
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import log_loss
from sklearn.model_selection import train_test_split
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/bench_tsne_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
import numpy as np
import json
import argparse
from joblib import Memory

from sklearn.utils import Memory
from sklearn.datasets import fetch_mldata
from sklearn.manifold import TSNE
from sklearn.neighbors import NearestNeighbors
Expand Down
4 changes: 2 additions & 2 deletions build_tools/appveyor/install.ps1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Sample script to install Python and pip under Windows
# Authors: Olivier Grisel, Jonathan Helmus, Kyle Kastner, and Alex Willmer
# License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
# License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/

$MINICONDA_URL = "http://repo.continuum.io/miniconda/"
$MINICONDA_URL = "https://repo.continuum.io/miniconda/"
$BASE_URL = "https://www.python.org/ftp/python/"
$GET_PIP_URL = "https://bootstrap.pypa.io/get-pip.py"
$GET_PIP_PATH = "C:\get-pip.py"
Expand Down
4 changes: 2 additions & 2 deletions build_tools/appveyor/run_with_env.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
::
:: More details at:
:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows
:: http://stackoverflow.com/a/13751649/163740
:: https://stackoverflow.com/a/13751649/163740
::
:: Author: Olivier Grisel
:: License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
:: License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/
::
:: Notes about batch files for Python people:
::
Expand Down
3 changes: 2 additions & 1 deletion build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ conda update --yes --quiet conda
conda create -n $CONDA_ENV_NAME --yes --quiet python="${PYTHON_VERSION:-*}" \
numpy="${NUMPY_VERSION:-*}" scipy="${SCIPY_VERSION:-*}" cython \
pytest coverage matplotlib="${MATPLOTLIB_VERSION:-*}" sphinx=1.6.2 pillow \
scikit-image="${SCIKIT_IMAGE_VERSION:-*}" pandas="${PANDAS_VERSION:-*}"
scikit-image="${SCIKIT_IMAGE_VERSION:-*}" pandas="${PANDAS_VERSION:-*}" \
joblib

source activate testenv
pip install sphinx-gallery
Expand Down
2 changes: 1 addition & 1 deletion build_tools/circle/build_test_pypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ python --version
which python

pip install --extra-index https://antocuni.github.io/pypy-wheels/ubuntu numpy Cython pytest
pip install "scipy>=1.1.0" sphinx numpydoc docutils
pip install "scipy>=1.1.0" sphinx numpydoc docutils joblib

ccache -M 512M
export CCACHE_COMPRESS=1
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion build_tools/travis/after_success.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# This script is meant to be called by the "after_success" step defined in
# .travis.yml. See http://docs.travis-ci.com/ for more details.
# .travis.yml. See https://docs.travis-ci.com/ for more details.

# License: 3-clause BSD

Expand Down
Loading