Commit Graph

101 Commits

Author SHA1 Message Date
Jack Liu a794c58692
MNT Replace if_delegate_has_method with available_if in ensemble and semi_supervised (#20545)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-14 12:25:35 +01:00
JSchuerz 4a52eb6de9
DOC Use :doi: and :arxiv: directives for references (#22603)
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-02 15:15:44 +01:00
Thomas J. Fan 9f85c9d449
TST Better info when checking for no warnings in tests (#22362) 2022-02-03 11:42:48 +01:00
Thomas J. Fan 17345f9d97
MNT Adjust n_jobs=2 for examples and tests (#21780) 2021-11-25 10:49:26 +01:00
Gabriel Stefanini Vicente 8570a693eb
DOC Ensures that LabelSpreading passes numpydoc validation (#21414) 2021-10-23 13:00:25 +02:00
genvalen 31ba67ad70
DOC Ensures that LabelPropagation passes numpydoc validation (#20991)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-21 11:29:43 +02:00
Juan Martin Loyola fdce26a61b
DOC Ensures that SelfTrainingClassifier passes numpydoc validation (#21277)
* Remove SelfTrainingClassifier from DOCSTRING_IGNORE_LIST

* Fix numpydocs from SelfTrainingClassifier

* Change docstrings to maintain consistency
2021-10-08 11:14:11 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Olivier Grisel 9fab35864f
Fix OvOClassifier.n_features_in_ and other unexpected warning at prediction time when checking feature_names_in_ (#20853)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-09-01 11:36:01 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Olivier Grisel 5c0f3a694e
ENH Adds feature_names_in_ to sklearn.semi_supervised (#20788) 2021-08-26 08:36:58 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
DS_anas 70af34c4af
TST Use pytest.warns in sklearn.semi_supervised tests (#19510) 2021-02-25 10:23:41 +01:00
Thomas J. Fan 95fa18f278
TST Fixes docstring ordering and test_docstring_parameters (#19048) 2021-02-12 11:35:05 +01:00
ZhaoweiWang cd06652c12
FIX nan bug in BaseLabelPropagation (#19271)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-02-01 21:53:36 +01:00
Thomas J. Fan 0aee596bb3
ENH Checks n_features_in in semi_supervised (#18742) 2021-01-26 11:35:34 -08:00
Guillaume Lemaitre 6d3d1b853e
FIX accept meta-estimator in SelfTrainingClassifier (#19126)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-01-08 12:39:00 +01:00
Guillaume Lemaitre 68268eb605
DOC follow doc guideline in SelfTrainingClassifier (#18922)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-11-26 13:22:38 -05:00
Patrice Becker 2f6af711b0
FEA Add Self Training Estimator (#11682)
Co-authored-by: Oliver Rausch <oliverrausch@users.noreply.github.com>
Co-authored-by: Patrice Becker <patricelbecker@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-11-20 19:49:08 +01:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Nicolas Hug 2955d9f0af
API kwonly for neighbors module (#17004) 2020-04-24 14:22:09 -04:00
Thomas J Fan 6717c6afa0
API Deprecate positional arguments in semi_supervised module (#16974)
* API Keyword only for semi_supervised

* CLN Address comments
2020-04-22 23:14:06 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
SHUBH CHATTERJEE 594fc85022 DOC fix docstring in semi_supervised module following doc guideline (#16042) 2020-01-13 12:40:32 +01:00
ngshya 50d3fe963c FIX avoid division by 0 warning in LabelPropagation (#15946) 2020-01-09 19:12:25 +01:00
Niklas d163d5ad94 FIX use safe_sparse_dot for callable kernel in LabelSpreading (#15868) 2019-12-27 03:31:09 -06:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan 32e9911c99 MNT Fix uncaught deprecation imports (#15348) 2019-10-24 09:31:55 +11:00
Thomas J Fan e7de9b4cfe MNT Make modules private in semi_supervised (#15317) 2019-10-22 11:39:28 +08:00
Adrin Jalali 0eebade264 DOC docstring (shape= -> of shape) (#14640) 2019-10-02 20:54:32 -04:00
Samesh Lakhotia 3aafaa97f3 MAINT Fix assert raises in sklearn/semi_supervised/tests/ (#14841) 2019-09-07 21:35:40 -04:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Zijie (ZJ) Poh 473fd5a747 DOC Label Spreading clumping factor must be in (0, 1) (#13015) 2019-01-19 21:43:59 +11:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
Roman Yurchak acb8106472 MNT Use list and dict comprehension (#12668) 2019-01-08 09:32:34 +11:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Andreas Mueller 0f94f2962b
MNT simple deprecations and removals for 0.21 (#12238)
Part of #11992.
These were all the things that seemed pretty straight-forward. It's actually a bit bulky but should still be easy to review, hopefully.
2018-10-11 14:56:37 -04:00
Hanmin Qin 9b8fd0b0d0 DOC Correct default n_jobs & reference the glossary (#11808)
Also improves the glossary entry for n_jobs.
2018-08-18 19:57:10 +10:00
Olivier Grisel 40e6c43cb4
Joblib 0.12.2 (#11741)
* joblib 0.12.2

* Export _joblib's register_parallel_backend

* Use latest version of coverage
2018-08-03 12:34:25 +02:00
Naoya Kanai 774ae89306 [MRG] Fix numpy FutureWarning (#11704) 2018-07-30 17:40:46 +10:00
Akash Shivram 1879a50ba2 [MRG+1] Missing import in semi supervised learning label propagation example (#10496) 2018-01-21 22:40:19 +08:00
Loïc Estève f6163e73f8 Make scipy.sparse.csgraph imports explicit (#10145)
This can cause problems in scipy 1.0
2017-11-15 14:10:58 -08:00