Commit Graph

26178 Commits

Author SHA1 Message Date
Olivier Grisel 548a4524b4
MNT n_features_in_ consistency in decomposition (#18557)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-10-08 09:47:24 -04:00
Guillaume Lemaitre 73732e5a0b
TST Add sample order invariance to estimator_checks (#18570) 2020-10-08 15:02:09 +02:00
Xethan cdff9b0b49
MNT Avoid nonlinear complexity for repr of nested estimators when print_c… (#18508)
* Avoid nonlinear complexity for repr of nested estimators when print_changed_only=True

* Automatically consider parameters with no default value as changed

* Use helper function for improved readability

* Add a non-regression test and a release note entry

Co-authored-by: nathan <nathan@sancare.fr>
2020-10-08 14:48:58 +02:00
Guillaume Lemaitre 2199de6492
TST enable to run common test on stacking and voting estimators (#18045)
* TST enable to run common test on stacking and voting estimators

* revert config changes

* revert unecessary change in _testing

* TST remove check_estimator from local files

* PEP8
2020-10-08 12:05:06 +02:00
Lucy Liu 18a4841667
DOC Add common pitfalls: data leakage (#18426)
* Add common pitfalls on data leakage (#18426)
2020-10-08 08:42:37 +02:00
RamyaNP f2635e2789
DOC minor update to _ranking.py (#18556) 2020-10-07 12:48:20 -04:00
Ankit Choraria 9120be9d65
DOC remove irrelevant parts in _validation.py (#18548) 2020-10-07 08:15:40 -04:00
Thomas J. Fan 02fa8f1adb
ENH Deprecates _pairwise attribute and adds pairwise to estimator tags (#18143) 2020-10-07 21:53:36 +11:00
Thomas J. Fan 8731cd732b
ENH Uses _validate_data in other methods in the neural_network module (#18514) 2020-10-07 11:35:47 +02:00
Maria Telenczuk 64697c665f
MRG Sample weight for StandardScaler (#18510) 2020-10-07 10:10:30 +02:00
Nicolas Hug e2583d45f7
DOC put back original anchor to avoid breaking links (#18551) 2020-10-06 23:45:16 -04:00
Albert Villanova del Moral 58451568d3
FIX TruncatedSVD.fit_transform returns the same as fit.transform (#18528)
Co-authored-by: zhengruifeng <ruifengz@foxmail.com>
2020-10-06 22:47:10 +02:00
Nicolas Hug 4ddd079673
TST make sure regressors don't have a decision_function (#18547)
* updated check

* linting
2020-10-06 20:42:01 +02:00
Maria Telenczuk ca0065d3bf
BUG exchanging _safe_accumulator_op for np.average (#18537) 2020-10-06 17:14:28 +02:00
Maria Telenczuk 0e854befc7
DOC update link to shuffle_split in older_versions.rst (#18544) 2020-10-06 11:12:04 -04:00
Nicolas Hug b9b883cd4f
MNT don't yield checks instead of returning early (#18536) 2020-10-06 09:50:40 -04:00
Joaquin Vanschoren 61feb5ea27
DOC Improved explanation of SVM-RBF behavior (#18538)
* Improved explanation of SVM-RBF behavior

The previous explanation of the results contained an incorrect interpretation. The description is updated as discussed here: https://github.com/scikit-learn/scikit-learn/issues/18532

* Making linter happy

* Update examples/svm/plot_rbf_parameters.py

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>

* Update examples/svm/plot_rbf_parameters.py

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>

* making linter happy

* whitespace

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-10-05 18:08:00 -04:00
Alex Henrie f35457f1fc
MNT Remove unnecessary assignments from LogisticRegression.fit (#18539) 2020-10-05 22:43:38 +02:00
Kenny Huynh 0864c58968
DOC Clarify GaussianProcessRegressor default kernel behavior (#18518) 2020-10-05 18:58:14 +11:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Sam Kimbinyi aa4a10dbfa
DOC Remove double occurrences of `loss_curve_` and `t_` attributes in MLP (#18509) 2020-10-02 19:40:13 +02:00
Trevor Waite 2538489f4a
[MRG] Nearest Centroid Divide by Zero Fix (#18370)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-10-02 13:40:03 +02:00
Thomas J. Fan cffd98dfb4
TST Makes sure name is correct (#18503) 2020-10-02 11:39:42 +02:00
Albert Villanova del Moral 3bb138f879
ENH Incremental weighted mean and var (#18447)
Co-authored-by: Piotr Gaiński <dociebieaniuszlem@gmail.com>
2020-10-01 23:55:41 +02:00
Albert Villanova del Moral f7a8dd2877
DOC Fix version in whatsnew and docstring (#18504)
* Fix feature version in whatsnew

* Add versionaddded

* Add versionadded to whatsnew enhancement

* fix versionchanged format
2020-10-01 13:02:54 +02:00
Thomas J. Fan 21121f5099
TST Fixes column transformer tests (#18452) 2020-09-30 12:39:05 +02:00
Rachit Toshniwal 0e8b11af77
DOC Fixed typo in IterativeImputer: switch abs and max positions (#18478) 2020-09-30 12:37:44 +02:00
Nicolas Hug 521b3f289a
MNT Minor refactoring _fit_and_predict (#18471) 2020-09-30 12:35:46 +02:00
Thomas J. Fan d9da3e2fb4
MNT Update PR labeler version (#18493) 2020-09-30 12:33:20 +02:00
Umberto Lupo 7ed9721935
DOC Adds giotto-tda to "Related projects" (#18427)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-29 17:32:30 -04:00
Guillaume Lemaitre 96b86b619f
MNT make error message consistent in brier_score_loss (#18183)
* MNT make error message consistent in brier_score_loss

* iter

* TST change error matching

* PEP8

* TST check consistent error message

* STY

* Apply suggestions from code review

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

* iter

* cleaner

* iter

* iter

* iter

* rename function with better name

* iter

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-09-29 17:30:06 -04:00
Thomas J. Fan 328409f8c9
MNT Use fetch_kddcup99_fxt to follow SKLEARN_SKIP_NETWORK_TESTS (#18487) 2020-09-29 17:00:15 -04:00
Thomas J. Fan 53fea53c6f
DOC Fix docstring for class MissingIndicator (#18446) 2020-09-29 21:24:32 +02:00
Albert Villanova del Moral 49ec619232
DOC Fix missing References (#18450) 2020-09-29 15:17:43 -04:00
Albert Villanova del Moral f605021e00
CI Stop triggering Pull Request Labeler every 10 minutes (#18489) 2020-09-29 10:34:11 -04:00
Guillaume Lemaitre 13bccedeb0
MNT add development status in setup.py (#18475) 2020-09-28 16:59:29 -04:00
Ghislain Antony Vaillant 9fda736543
DOC Fix typo in plot_feature_union example (#18474) 2020-09-28 16:21:03 -04:00
Nicolas Hug 5721629fd3
MNT Use a pytest-like context manager in estimator_checks.py (#18418) 2020-09-28 15:05:43 -04:00
Nicolas Hug c654555ffb
MNT Revert "MNT Don't validate error messages when strict mode is off" (#18481) 2020-09-28 13:22:17 -04:00
Thomas J. Fan 339fe04e32
CLN Removes unneeded attribute in FastICA (#18445) 2020-09-28 09:01:18 -06:00
Nicolas Hug df61e9ed98
FIX accept uint8 X in hist-gbdt.predict (#18410)
* fixed dtype issue

* whatsnew

* dont pass lists
2020-09-26 09:55:35 +02:00
Shooter23 5fd30a4571
DOC Fix spelling in _optics.py docstring (#18463) 2020-09-26 08:52:37 +02:00
Nicolas Hug a49032cee0
MNT Don't validate error messages when strict mode is off (#18415)
in check_estimator
2020-09-26 08:50:24 +02:00
Thomas J. Fan bc39e62e02
MNT Only label with help wanted if the issue is open (#18453) 2020-09-24 19:36:10 +02:00
N. Haiat 896d4fad10
DOC Fix documentation of default values in sklearn.feature_extraction.text.py (#18360)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-09-24 11:21:56 -04:00
Frans Larsson c7d29e31bf
DOC Fix default values in _validation.py (#18337)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-09-24 11:20:53 -04:00
Albert Villanova del Moral 547ed6b182
DOC Improve links in cross_validation's user guide (#18379) 2020-09-24 11:19:09 -04:00
Chiara Marmo 54ce422269
DOC revamp model persistence documentation (#18046)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-23 22:54:27 +10:00
N. Haiat 0573aa1a3e
DOC Fix documentation of default values in sklearn.utils._testing.py (#18386)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-09-23 13:16:58 +02:00
Juan Carlos Alfaro Jiménez 18047a647e
FIX Fix scikit-image substitution in README.rst (#18441) 2020-09-23 13:09:19 +02:00