Commit Graph

1585 Commits

Author SHA1 Message Date
Thomas J. Fan 692899d172
TST Fix estimator checks for classifers with poor_score tag (#16851) 2020-06-27 10:56:15 +02:00
Juan Carlos Alfaro Jiménez 547ead6c0c
MNT More replacements of numpy aliases with built-in types (#17707)
* MNT More replacements of numpy aliases with built-in types [scipy-dev]

* MNT More (manual) replacements of numpy aliases

* MNT More (manual) replacements of numpy aliases

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX More deprecations of numpy aliases [scipy-dev]

* MNT Silent numpy aliases warnings [scipy-dev]

* FIX Fix silent deprecations

* Trigger build [scipy-dev]

* FIX Add scape characters [scipy-dev]

* FIX Remove package specification from silent

* Trigger build [scipy-dev]

* Revert
2020-06-26 12:45:03 +02:00
Thomas J. Fan 41488fcabe
MNT Remaining numpy alias (#17712) 2020-06-25 11:57:11 +02:00
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +02:00
Hirofumi Suzuki c29092d699
MNT define a parse_version function in sklearn.utils.fixes (#17670)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +02:00
Alex Henrie f38d381094
MNT Get rid of temporary dictionary in _deprecate_positional_args (#17603) 2020-06-15 22:34:29 -04:00
Gesa Stupperich ecddddbfdc
DOC Change formatting of default values in docstring in random.py (#17495)
* Change formatting of default values in docstring

* Update sklearn/utils/random.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* Update sklearn/utils/random.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* Update sklearn/utils/random.py

Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>

* Update sklearn/utils/random.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* Update sklearn/utils/random.py

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2020-06-15 17:25:15 +02:00
Guillaume Lemaitre 51df262422
MNT remove boston from the common test / estimator checks (#17356) 2020-06-08 16:21:07 +02:00
Joseph Lucas cacf6bfae2
ENH Added keyword arguments to Shuffle (#17474)
Added random_state and n_samples
Modified documentation to reflect default values
Modified call to resample
2020-06-06 17:55:56 -04:00
Gesa Stupperich 831a00a55e
DOC Fix documentation of default values in sklearn.utils.validation (#17490)
* Change format of default values in docstring

* Fixing default values documentation
2020-06-06 16:36:42 -04:00
Deeksha Madan 58d74c10a6
Replaces array_like with array-like (#17463)
* replacing array_like with array-like

* Replacing array_like with array-like
2020-06-06 12:27:11 -04:00
Roman Yurchak 8feb04524c
Common check for sample weight invariance with removed samples (#17176)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-06-04 00:30:01 +02:00
Lucy Liu f93f560bb9
ENH add support for sample weights in MAE (#17225) 2020-05-27 15:03:43 +02:00
Benjamin Bossan 76df39f703
ENH allow to specify which methods should run a check in CheckingClassifier (#15230)
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-05-26 11:37:12 +02:00
Juan Carlos Alfaro Jiménez f42cf8a2bc
MNT Replace kwargs by named args for resample (#17324) 2020-05-26 07:48:50 +10:00
Nicolas Hug 7494da6f52
MNT removed deprecated files generation (#17132) 2020-05-25 17:34:17 +02:00
Nicolas Hug ac8cbb3799
[MRG] More deprecation for 0.24 (#17142)
* normalize_components in sparsePCA

* changed default strategy of Dummy to prior and removed outputs_2d ttribute

* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest

* remove support for drop=None in Voting

* removed some warning decorators

* remove feature_extraction.extract_patches

* removed VectorizerMixin and copy parameter from TFIDFVectorizer

* kernel.set_params now raises attributeerror

* removed fig from plot_partial_dependence

* removed iid parameter of search estimators

* removed brier_scorer

* raise error in split when shuffle is False and random_state is not None

* removed MultiOutputEstimator

* removed base classes of NaiveBayes

* removed drop from pipeline

* removed utils in random_projection

* removed presort and classes_ in trees

* flake8

* fixed some tests

* flake

* fixed docstring

* fixed other one

* some left

* mmmm
2020-05-20 16:04:14 -04:00
Nicolas Hug 1931e142ed
Remove deprecated utils (#17133) 2020-05-20 22:03:54 +02:00
Thomas J Fan e770715c43
MNT Completes position arg deprecation (#17272)
* ENH Adds public functions with position args warning

* BUG Circlar import

* STY

* BUG Add keywords

* BUG Fixes warnings

* ENH Adds other public functions

* CLN Suggestion

* CLN Suggestion

* REV Revert pairwise

* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
Guillaume Lemaitre f2e873f41e
FIX/ENH CheckingClassifier support parameters and sparse matrices (#17259) 2020-05-18 11:36:27 -04:00
Nicolas Hug d03dfa2778
MNT Removed name parameter from private check generators (#17224) 2020-05-16 00:28:02 +02:00
Nicolas Hug b0cd595536
MNT Ignore xfail_checks tag in check_estimator, with warning (#17222)
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-05-15 13:30:28 -04:00
Jérémie du Boisberranger 350438cc4f
MNT Add threadpoolctl in show_versions (#17241) 2020-05-15 12:45:37 -04:00
Nicolas Hug 5f9555b3ea
FIX changed_only=True with kwargs parameters (#17205) 2020-05-13 13:02:41 -04:00
Nicolas Hug cbe9f08e35
MNT Put back and properly deprecate MaskedArray (#17199) 2020-05-13 08:52:25 +02:00
Thomas J Fan d40d993199
CLN Refactors _encode into two functions (#17101) 2020-05-12 14:23:00 -04:00
Nicolas Hug 4f5384b249
MNT Remove class support check estimator and parametrize_with_checks (#17134) 2020-05-10 17:11:39 -04:00
Roman Yurchak 192109af3d
MNT properly activate the env in the linting CI (#17177) 2020-05-10 13:22:55 -04:00
Roman Yurchak 818e16a1ea Revert "Common check for sample weight invariance with removed samples (#16507)"
This reverts commit 77279d6b3e.
2020-05-10 17:05:01 +02:00
Roman Yurchak 77279d6b3e
Common check for sample weight invariance with removed samples (#16507)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-05-10 15:41:53 +02:00
Markus Löning 89fcef7ad2
MNT Removed duplicate method calls in pickle estimator test (#17152) 2020-05-07 11:05:06 -04:00
Nicolas Hug 226e5c478d
MNT Use Vt instead of V as returned by svd() (#17100) 2020-05-05 19:52:07 +02:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10:00
Thomas J Fan acbe13c07d
ENH Adds pandas IntegerArray support to check_array (#16508) 2020-04-28 19:00:12 +02:00
Thomas J Fan 9f015c8a14
FIX Mixed bool dtype in pandas (#17008) 2020-04-28 11:23:44 -04:00
Gregory R. Lee 3deacb98c7
MNT consistently call import_array() after cimport of numpy (#17054) 2020-04-28 12:19:52 +02:00
Nicolas Hug 964c830328
MNT Change print_changed_only default to True (#17061) 2020-04-27 18:22:21 -04:00
Nicolas Hug fc0041546a
Deprecate class support for check_estimator (#17032)
and parametrize_with_checks
2020-04-28 00:15:52 +02:00
Nicolas Hug 76ef8b0ef0
API kwonly for utils (#17046)
* kwonly for utils

* More

* fixed some

* some more

* iwannagohomepls

* accept_sparse not kwonly anymore
2020-04-27 15:42:01 +02:00
Roman Yurchak f621d8a392
Revert "API kwonly for utils (#17007)" (#17045) 2020-04-26 18:30:09 +02:00
Nicolas Hug 81c1e9d1f2
API kwonly for utils (#17007) 2020-04-26 18:05:16 +02:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Nicolas Hug 946fddec7b
BUG Fix instability issue of ARDRegression (with speedup) (#16849) 2020-04-23 10:19:45 -04:00
Nicolas Hug 089c8a17a1
[MRG] MNT requires_y tag with y=None validation (#16622) 2020-04-22 22:41:45 +10:00
Nicolas Hug cb49ad4751
MNT removed _safe_tags utility (#16950) 2020-04-18 20:14:22 -04:00
Thomas J Fan 5abd22f58f
FIX Bug in mark_xfail_checks (#16954) 2020-04-17 20:03:15 -04:00
Thomas J Fan 522ecac613
DOC Fix docstring issue in parametrize_with_checks (#16953) 2020-04-17 16:19:02 -04:00
Nicolas Hug 2d03d781a9
MNT simplify xfail check marking logic (#16949)
Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
2020-04-17 13:44:09 -04:00
Thomas J Fan 9901d8df13
Fix _deprecate_positional_args for kwonly args w/o default (#16850) 2020-04-14 09:38:32 -04:00
Christian Lorentzen a2ccc330bf
STY PEP8 fix E731 in linear_model/_logistic.py (#16786) 2020-03-30 17:49:40 +02:00