8000 Add commits to 0.23.X by adrinjalali · Pull Request #17084 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

Add commits to 0.23.X #17084

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 20 commits into from
Apr 30, 2020
Merged

Add commits to 0.23.X #17084

merged 20 commits into from
Apr 30, 2020

Conversation

adrinjalali
Copy link
Member

Towards #17010

This PR adds the commits we have till now to the branch, and it should also fix the build issue we have in MacPython/scikit-learn-wheels#56

CC @thomasjpfan @NicolasHug @jnothman

This PR should be "rebase and merge" and not "squash and merge".

It adds all the commits we have so far:

pick 1ba06518c5 API make load_* args in datasets kwarg only (#16719)
pick 5b2c931a99 API pairwise_distances will require explicit V/VI param if Y is given (#16993)
pick 41b18fea37 ENH Added n_compon
8000
ents_ to SparsePCA and MiniBatchSparsePCA (#16981)
pick fc0041546a Deprecate class support for check_estimator (#17032)
pick 964c830328 MNT Change print_changed_only default to True (#17061)
pick dbc35934a6 DOC Version added and changed labels added for v0.18 (#wimlds) (#16222)
pick fb76de72e7 DOC Exchanging Boston for california dataset in plot missing values (#16513)
pick 8b4d4f4aaf DOC Add whats new for missing PRs (#17066)
pick 3deacb98c7 MNT consistently call import_array() after cimport of numpy (#17054)
pick 1d3a553b2d [MRG] Fix LinearModelsCV for loky backend. (#14264)
pick 54354083eb DOC markup fixes for change log
pick 9f015c8a14 FIX Mixed bool dtype in pandas (#17008)
pick acbe13c07d ENH Adds pandas IntegerArray support to check_array (#16508)
pick 1bd740436d DOC Fixes formating in whats new (#17076)
pick 2dd12af9d6 DOC Improve claim prediction example (#16648)
pick 1c69a8a55c DOC small typos and fixes for poisson example (#17078)
pick ad6a9f977e TST Skips derivative check on 32bit platforms (#17073)
pick 9f04837ea9 DOC Update funders. (#17079)
pick b9403f62ac DOC Better headers in Poisson regression example (#17080)

adrinjalali and others added 19 commits April 27, 2020 14:41
* API male load_* args in datasets kwarg only

* more loaders

* pep8

* fix test_omp usage

* fix some usages

* Update sklearn/datasets/_samples_generator.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
…scikit-learn#16993)

* API pairwise_distances will require explicit V/VI param if Y is given

Deprecation until version 0.25.

The current approach in `_precompute_metric_params`
(https://github.com/scikit-learn/scikit-learn/blob/f82a2cb33871a67b36150647ece1c7e56d3132bb/sklearn/metrics/pairwise.py#L1429-L1444)
means that we may be applying a different metric at training and test
time. Ideally we'd have a framework for fitting a metric on some
specific training data, but in the meantime, this deprecation stops
users making mistakes.

* DOC update what's new

* Update sklearn/metrics/tests/test_pairwise.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update sklearn/metrics/pairwise.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update sklearn/metrics/pairwise.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update sklearn/metrics/tests/test_pairwise.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
…earn#16981)

* Add n_components_ attribute to SparcePCA and MiniBatchSparsePCA

* Add n_components_ attribute to SparcePCA and MiniBatchSparsePCA

* Add whatsnew entry

* Fix documentation

* Apply suggestions from code review

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Add suggested changes

* Update test_sparse_pca.py

Co-authored-by: Mateusz Górski <mateuszg122@gmail.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
…t-learn#16222)

* Versionlabels added to v0.18 (#wimlds)

* documentation issues: label changed and added for version 0.18

* fix intends and shorten description

Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
…cikit-learn#16513)

* first few comments

* added new california dataset

* removed boston dataset from the file

* updating the DOCs

* adding a DOC for calculating the error

* exchanged the order started writing functions on scoring the imputers

* finished writing functions for imputers

* finished writing functions and started on DOcs

* working on the DOCs for imputers

* cleaning up

* flake8

* cleaning up

* cleaning up

* restructuring the document

* further text restructuring

* text restructuring

* flake8

* reformatting

* flake8

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Olivier Grisel <olivier.grisel@ensta.org>

* updated the intro

* improve bullet point rendering

* spelling

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* changed the naming

* restructuring text

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* flake8

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* changing missing values from 0 to nan

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Alexandre Gramfort <alexandre.gramfort@m4x.org>

* REGRESSOR to regressor

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Lucy Liu <jliu176@gmail.com>

* flake8

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* Update examples/impute/plot_missing_values.py

Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>

* flake8

* reducting number of samples used from california dataset

* CLN Removes the need for MissingIndicator

* FIX Unrelated bug but is stopping the CI from passing

Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Lucy Liu <jliu176@gmail.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-Authored-By: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
* TST Checks type for derivative check

* TST Skips test for 32bit linux

* REV Less diffs
@adrinjalali adrinjalali added this to the 0.23 milestone Apr 29, 2020
@thomasjpfan
Copy link
Member

The travis failure is unrelated. It's interesting that is it showing up here on a PR. (It is failing because it is building with an alpha version of Cython and will be fixed cython/cython#3558)

@jnothman
Copy link
Member
jnothman commented Apr 29, 2020 via email

@adrinjalali
Copy link
Member Author

Merging this to test the package builds, still not tagging.

@adrinjalali adrinjalali merged commit 425564b into scikit-learn:0.23.X Apr 30, 2020
@adrinjalali adrinjalali deleted the 0.23/prs1 branch April 30, 2020 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0