Commit Graph

179 Commits

Author SHA1 Message Date
Thomas J. Fan fb835771d1
FIX Fixes OneVsOneClassifier.predict for Estimators with only predict_proba (#22604)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-18 17:23:50 +01:00
combscCode 807dd1806f
ENH Verbosity for OneVsRestClassifier (#22508)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-02-18 16:14:31 +01:00
Guillaume Lemaitre 229bd226ab
MNT remove _pairwise attribute (#21594) 2022-02-09 16:58:01 +01:00
Guillaume Lemaitre 392151b634
MNT remove coef_ and intercept_ from OneVsRestClassifier (#21581) 2022-01-29 11:08:03 +01:00
Meekail Zain 254ea8c453
ENH Replaced RandomState with Generator compatible calls (#22271) 2022-01-28 15:49:34 -05:00
Thomas J. Fan 532e1bc608
FIX Fixes OneVsRestClassifier predict_proba for constant int targets (#21871) 2021-12-22 00:08:48 +01:00
mandjevant 231ca9e804
DOC Various documentation improvements (#21764)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-26 11:11:43 +01:00
Juan Martin Loyola cdf399e854
DOC Ensures that OutputCodeClassifier passes numpydoc validation (#21063)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-17 14:18:08 +02:00
Bharat Raghunathan 35862e927d
DOC Ensures that OneVsRestClassifier passes numpydoc validation (#21014)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-13 11:14:51 +02:00
Bharat Raghunathan e19d235607
DOC Ensures that OneVsOneClassifier passes numpydoc validation (#21013)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-13 11:14:16 +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 61653d3146
ENH Adds feature_names_in_ to pipeline and multiclass (#20780)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-25 23:36:48 +02:00
Thomas J. Fan 0a2cc10092
MAINT Uses available_if in multiclass instead of if_delegate_has_method (#20519)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-07-15 10:24:50 +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 383b53fa91
FIX Uses code literals in deprecated to prevent linking (#20410)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-28 15:49:19 +02:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Jérémie du Boisberranger 536f3ccd75
MNT Allow to only validate y in _validate_data (#20227)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-06-15 17:14:19 +02:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Thomas J. Fan 007da8db4a
FIX Do not reset for non-fit in multiclass (#20205) 2021-06-09 16:49:58 +02:00
Jérémie du Boisberranger 6bfaceded8
MNT n_features_in through the multiclass module (#20193) 2021-06-03 14:41:23 +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
Guillaume Lemaitre 2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages (#19005)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Guillaume Lemaitre 255718b4ad
introduce _safe_tags for estimator not inheriting from BaseEstimator (#18797)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-12-02 11:18:53 +01:00
Juan Carlos Alfaro Jiménez 8ce329174e
MNT Deprecate coef_ and intercept_ in OVR (#18687) 2020-11-17 12:33:32 +00: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 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02:00
Joshua Newton 6d1104e332
DOC Restructure Multiclass and multilabel in User Guide (#17811) 2020-09-17 12:21:51 -04:00
Lucy Liu 98b4e48193
DOC Clarify shape in OVO and OVR decision function docstring (#18279) 2020-08-28 06:47:11 +10:00
Venkatachalam N 8ba49f6280
EHN make some meta-estimators lenient towards missing values (#17987)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-26 11:10:24 +02:00
bmaisonn a91d09b9ad
DOC Fix documentation of default values in multiclass.py (#17986) 2020-07-25 16:17:19 +02:00
Yashika Sharma 0edfedb532
DOC Added missing attributes to OneVsRest Classifier (#17844)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-10 10:30:14 +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
Joshua Newton e2a688336f
DOC Clarify multilabel usage in OneVsRestClassifier docstring (#17646) 2020-06-24 11:10:30 +02:00
Cristina Mulas 0e6568cf77
DOC cleaning parameter docstring in sklearn/multiclass.py (#17648)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-22 00:57:22 -04:00
Jeevan Anand Anne d6ed0d0cae
DOC Fixing n_jobs doc param in multiclass.py (#17489)
* Fixing n_jobs doc param in multiclass.py

* Fixing n_jobs doc param in multiclass.py

* Fixing n_jobs doc param in multiclass.py

* Better documenting n_jobs param in multiclass

* Better documenting n_jobs param in multiclass

* Better documenting n_jobs param in multiclass

* Better documenting n_jobs param in multiclass
2020-06-06 16:57:33 -04:00
zoj613 6b68144f17
FIX Allow sparse input data for OutputCodeClassifier (#17233)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-05-26 14:17:34 +02:00
j0rd1smit a4dcada715
DOC add an example in docstring of OneVsOneClassifier (#16700) 2020-05-12 13:58:53 +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
Adrin Jalali 02309ffbda
API kwonly args in manifold, metrics, mixture, model_selection, multclass, multioutput (#16982) 2020-04-24 17:24:24 -04:00
Pierre Delanoue 9358a6ee8f
DOC Update random_state description for Multiclass (#16839) 2020-04-15 14:51:04 -04:00
Noa Tamir 5e2d74bc5f
DOC add versionadded versionchanged v0.19 (#16233)
* added v0.19.1 and wip v0.19

* finished adding vchanged strings for v0.19

Towards #15426

@adrinjalali #wimlds #scikitlearnsprint

* fixing linter issues

* caught line issues with flake8

* caught the last line issue

* added lines and cleaned gtiignore

* Update sklearn/multiclass.py

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

* Update sklearn/multiclass.py

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

Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-15 10:36:51 +02:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Jonathan Rahn 0c9a06341b DOC add multiclass.OutputCodeClassifier Examples (#15195) 2019-10-21 23:01:16 +08:00
Venkatachalam N 79e1dae136 DOC Fixes formatting issue in dev documentation page for OneVsRestClassifier (#15311) 2019-10-21 21:19:40 +08:00
veerlosar 818500bfd0 DOC Adds example to OneVsRestClassifier (#15201) 2019-10-13 14:31:09 +02:00
Adrin Jalali 0eebade264 DOC docstring (shape= -> of shape) (#14640) 2019-10-02 20:54:32 -04:00
catajara 06632c0d18 DOC add missing attributes to OneVsRestClassifier (#14783) 2019-09-13 15:19:56 -04:00
Thomas J Fan 14f5302b70 DOC Link items explictly (#14817)
* DOC Link items explictly

* STY

* DOC Link another
2019-09-05 11:37:05 +02:00
Andreas Mueller 03ea20db0f Fix mixin inheritance order, allow overwriting tags (#14884) 2019-09-05 10:13:30 +02:00
catajara 477970b133 added n_classes_ attribute definition (#14776) 2019-08-24 14:17:19 -04:00