Commit Graph

155 Commits

Author SHA1 Message Date
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
Andreas Mueller 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
SeWook Oh 0f53b63987 CLN Moves threshold condition inside else block for OneVsRest.… (#14435) 2019-07-22 15:33:58 -04:00
Roman Yurchak 1015caf54d MAINT Remove imports from sklearn.utils._joblib (#13676)
* Remove sklearn.utils._joblib imports

* Lint

* More fixes
2019-06-18 18:37:14 +04:00
Hanmin Qin d508c22e78
MNT Minor clean up in OneVsRestClassifier (#13675) 2019-04-23 21:55:44 +08:00
Hanmin Qin df767ebc84 MNT Minor clean up in OneVsOneClassifier (#13677) 2019-04-22 08:12:05 -04:00
Andreas Mueller ab2f539a32 API: Estimator tags (#8022) 2019-02-23 22:54:41 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00
Thomas Moreau d25da1be20 FIX make joblib utils private, and remove mentions of externals.joblib (#12345) 2018-11-20 10:53:52 +11:00
Matthew Roeschke 5af272ac61 MNT Remove unused variables (#12230) 2018-10-22 12:48:40 +11: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
Joel Nothman 14e7c328df Restructure access to vendored/site Joblib (#11471)
In order to fix #11408, this swaps `joblib` and `_joblib`. It however, allows users to access joblib's `Memory` or `Parallel` functionality without accessing `sklearn.externals._joblib` by importing `Memory`, `Parallel`, etc. into `sklearn.utils`.
2018-07-17 18:02:11 +02:00
Nicholas Nadeau, P.Eng., AVS 3e26fc63be MAINT Fixing Typos (#11017) 2018-04-24 09:32:25 +10:00
Sebastin Santy 924a4661ee [MRG + 1] Too few arguments in formatting call (#9298)
* Too few arguments in formatting call

* Add test

* Covered with tests
2017-07-13 23:48:04 +02:00
Joel Nothman 4d37cf5862 COSMIT use zip instead of next in generator expression (#9281) 2017-07-05 17:44:06 +10:00
Joel Nothman 0d5d842d5c OneVsOneClassifier.partial_fit checks classes are valid subset (#9156) 2017-06-20 12:42:29 +10:00
Andreas Mueller b43c79163d FIX OvR/OvO classifier decision_function shape fixes (#9100)
* fix OVR classifier edgecase bugs

* add regression tests for OVO and OVR decision function shapes
2017-06-10 18:17:17 +02:00
Andreas Mueller 1c41368bac [MRG+1] Uncontroversial fixes from estimator tags branch (#8086)
* some bug fixes.

* minor fixes to whatsnew

* typo in whatsnew

* add test for n_components = 1 transform in dict learning

* feature extraction doc fix

* fix broken test

* revert aggressive input validation changes

* in SelectFromModel, don't store threshold_ in transform. If we called "fit", use estimates from last "fit".

* move score from EllipticEnvelope to OutlierDetectionMixin

* revert changes to Tfidf documentation

* remove dummy input validation from whatsnew

* fix text feature tests

* rewrite from_model threshold again...

* remove stray condition

* fix self.estimator -> estimator, slightly more interesting test

* typo in comment

* Fix issues in SparseEncoder, add tests.
more explicit explanation of SparseEncoder change, add issue numbers to whatsnew

* minor fixes in whats_new.rst

* slightly more consistency with tuples for shapes

* not longer typo
2017-06-06 16:34:47 +02:00
Guillaume Lemaitre e3c9ae204f [MRG+1] DOC improve description and consistency of random_state (#8689)
* DOC improve description of random_state in train_test_split

* DOC Make random_state consistent through documentation

* FIX reverse doc mistake

* FIX address comment of Tom

* DOC address comments

* DOC remove empty line

* DOC remove unecessary white spaces
2017-04-05 17:43:21 -07:00
Mikhail Korobov 3b1541b6bd [MRG + 3] OneVsRestClassifier: don't expose predict_proba and decision_function if base estimator doesn't support them (#7812)
* OneVsRestClassifier: don't expose predict_proba and decision_function
  methods if they are not supported by base estimator.
* TST use nose-style asserts
* handle a case where classifier get predict_proba method only after .fit
2016-11-07 14:12:15 +01:00
Srivatsan 9fd70a833c [MRG+2] Fix for OvR partial_fit bug (#7786)
* mini-batch can now contain less number of classes than actual data

* added tests where mini batches doesn't contain all classes
2016-11-06 08:27:42 +11:00
Russell Smith 54b0e4bf62 Add OneVs{One,All}Classifier._pairwise: fix for #7306 (#7350) 2016-09-20 13:46:45 +02:00
James Fiedler e4b837cc66 Removed unused imports 2016-07-29 19:30:23 -05:00