Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: claudio.arcidiacono <claudio.arcidiacono@ing.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
* Improve validation messages with infinite data
* Extend and fix validation tests
* Test and fix extended error message
* data_name => input_name
* Mention estimators that natively support missing values
* More informative error message
* cosmetic
* typo
* Fix broken tests
* Fix test_knn
* Add changelog entry
* Fix broken test for param search models
* Missing input names
* Allow Y and y in estimator checks
* Add missing input names
* Fix input_name for FunctionTransformer
* More missing input names
* Update test
* More test fixes on scores
* Simplify message to avoid to make generic fallback meaningful
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* More informative estimator checks failure messages
* Make sure the estimator name is passed correctly in _validate_data
* Simplify calls to _validate_data
* Handle estimator name in private _check_y helper
* More specific error message
* Add estimator to check_X_params and check_y_params
* Add .. versionadded flags in public docstrings
* Update changelog
* Improve _validate_data's docstring
* Typo in doc/whats_new/v1.1.rst
* Make _check_estimator_name return None if estimator == None
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* check_params dict updates with style
* Increase test coverage
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* FIX Do not use deprecated API in fetch_20newsgroups_vectorized
* BLD [scipy-dev]
* TST Be explicit about fill value [scipy-dev]
* TST Fixes tests for fill value
* [scipy-dev] trigger nightly build
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
* MNT use check_scalar to validate scalar in AffinityPropagation
* refactor
* Apply suggestions from code review
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
* iter
* iter
* iter
* iter
* iter
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
* Push scipy min version to 1.0.0
* Update all ubuntu images to 20.04 focal.
* Add ubuntu images 18.04 bionic and scipy fron conda-forge.
* Fix conditions.
* Pin python 3.6 for ubuntu bionic.
* Change pipeline name.
* Change matrix element name.
* Keep python 3.9 from system not conda in Ubuntu 20.04.
* Remove python directive when unnecessary.
* Cleanup.
* Downgrade to python 3.6 as scipy 1.0.0 is incompatible with 3.8.
* Fix comment.
* Fix comment.
* Pin pytest again as we are forced to use 3.6.
* Move to conda installer for 32bit linux.
* Install miniconda for ubuntu 32bit.
* Install wget for ubuntu 32bit.
* Revert 32bit OS to ubuntu bionic 18.04.
* Install scipy from pip in 32bit system.
* Fix doctest failures.
* Revert example rendering.
* Relax pytest version in ubuntu install.
* Skip failing tests.
* Put comment at the right place.
* Remove python3.6. Ubuntu32 still needs to be adapted.
* Push numpy and scipy min versions for compatibility with 3.7.
* Push matplotlib min version for compatibility with 3.7. Install numpy via pip in 32bit linux.
* Install numpy before scipy in Linux 32bit.
* Pass numpy version to linux32.
* Test 32bit architecture on debian buster (still exists for 32bit with python 3.7).
* Install matplotlib from distribution.
* Syntax error...
* Stick to the numpy debian version to avoid Expected 124 from C header, got 112 from PyObject error.
* Clean comments.
* Revert skip in doctest to check with new dependencies.
* Rename distrib.
* Skip again...
* Fix test on check_array.
* Remove comment and fix lint at the same time.
* Clean import.
* Increase atol in test_derivatives to make the test pass in py37_conda_openblas environment.
* Avoid sparse matrix dependent on scipy version.
* Skip docstring test for pandas versions less then 1.1.0.
* Fix lint error.
* Empty commit to force checks.
* Add minimal dependencies in changelog.
* Update to python 3.7 CircleCI and Travis builds.
* Move to debian buster for python3.7 dependencies.
* Fix the container tag.
* Lower the minimal pandas version for compatibility with python 3.7.
* CLN use pytest raises ctxt manager for class weights & estimators [skip ci]
* CLN use pytest raises ctxt manager for multiclass test
* CLN use pytest warns in estimator checks test
* CLN use pytest raises ctxt manager for random test
* CLN use pytest raises ctxt manager for sparsefuncs test
* CLN use pytest raises ctxt manager for testing utils tests
* CLN use pytest raises ctxt manager for utils tests
* CLN use pytest raises ctxt manager for validation tests
* revert test_estimator_check.py to upstream master
* support a scalar fit param
* pep8
* TST add test for desired behavior
* FIX introduce _check_fit_params to validate parameters
* DOC update whats new
* TST tests both grid-search and randomize-search
* PEP8
* DOC revert unecessary change
* TST add test for _check_fit_params
* olivier comments
* TST fixes
* DOC whats new
* DOC whats new
* TST revert type of error
* add olivier suggestions
* address olivier comments
* address thomas comments
* PEP8
* comments olivier
* TST fix test by passing X
* avoid to call twice tocsr
* add case column/row sparse in check_fit_param
* provide optional indices
* TST check content when indexing params
* PEP8
* TST update tests to check identity
* stupid fix
* use a distribution in RandomizedSearchCV
* MNT add lightgbm to one of the CI build
* move to another build
* do not install dependencies lightgbm
* MNT comments on the CI setup
* address some comments
* Test fit_params compat without dependency on lightgbm
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>