Commit Graph

79 Commits

Author SHA1 Message Date
Christian Ritter ed865d7a33
DOC Multioutput classifier example loc change (#21889)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-02 14:56:57 -05:00
Guillaume Lemaitre 90e04a5f15
FIX add support for multilabel classification in RidgeClassifier* (#19869)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2021-10-27 15:18:02 +02:00
Guillaume Lemaitre 513695f1e4
DOC fix typo in multioutput regression doc (#20701) 2021-08-07 14:05:21 -04:00
Joshua Newton 6d1104e332
DOC Restructure Multiclass and multilabel in User Guide (#17811) 2020-09-17 12:21:51 -04:00
Maren Westermann 70e1558607
DOC shorten links in doc/* modules (#17820)
* shorten links in doc modules

* fix links

* implement suggested changes

* try to fix links with tilde sign

* change back broken links in computing.rst and try make link in faq.rst work

* implement reviewer's suggested changes
2020-08-21 14:31:41 +02:00
Thomas J Fan 91e942759f
DOC Make release highlights the first gallery section (#16952) 2020-04-27 11:23:15 -04:00
Rüdiger Busche afd75e2117
DOC Fix minor quirks in multiclass docs (#16356) 2020-02-01 14:51:46 +01:00
lucyleeow e4c0adaf7b DOC improve doc for multiclass and types_of_target (#15333) 2019-12-06 17:28:30 +01:00
Kanika Sabharwal 40c7978a64 use return_X_y=True for load_iris dataset (#14777) 2019-08-24 17:54:16 -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
Guillaume Lemaitre 8a8e21b2a3 MNT Change the default value of n_estimators in forests (#13803) 2019-05-09 21:19:20 +08:00
Jonathan Ohayon d045c1abc8 [MRG+2] Change ovr_decision_function scale (#10440)
* unit test for _ovr_decision_function

* sigmoid scale

* error on subset test

* clearer comment on test

* new scaling function forget sigmoid

* remove exception in subset check for SVC decision_function

* add comment and update whats_new

* update comment

* change test for float imprecision

* use 1/3 instead of 1/2

* merge conflict error

* flake8 correction and assert_true replacement

* better comment

* refer to public functions

* remove reference to private function

* rst dots

* change fix comments
2019-02-28 15:04:50 +01:00
Loïc Estève 20661b5018
TST: only run doctests on numpy 1.14. (#10835)
Fix doctests due to numpy 1.14 formatting changes.
2018-03-27 07:44:40 +02:00
Kumar Ashutosh 687eecaa7a DOC Corrects links to doc of ClassifierChain and RegressorChain (#10288) 2017-12-13 17:56:11 +11:00
Kumar Ashutosh 87759c1924 FEA Add a new class RegressorChain similar to ClassifierChain (#9257) 2017-12-12 09:00:57 +11:00
brett koonce f2186aa19d various minor spelling tweaks (#9783) 2017-09-17 17:04:23 +02:00
Balakumaran Manoharan 04be1a9799 [MRG + 1] DOC Fix Sphinx errors (#9420)
* Fix Rouseeuw1984 broken link

* Change label vbgmm to bgmm
Previously modified with PR #6651

* Change tag name
Old refers to new tag added with PR #7388

* Remove prefix underscore to match tag

* Realign to fit 80 chars

* Link to metrics.rst.
pairwise metrics yet to be documented

* Remove tag as LSHForest is deprecated

* Remove all references to randomized_l1 and sphx_glr_auto_examples_linear_model_plot_sparse_recovery.py.
It is deprecated.

* Fix few Sphinx warnings

* Realign to 80 chars

* Changes based on PR review

* Remove unused ref in calibration

* Fix link ref in covariance.rst

* Fix linking issues

* Differentiate Rouseeuw1999 tag within file.

* Change all duplicate Rouseeuw1999 tags

* Remove numbers from tag Rousseeuw
2017-07-30 15:22:10 +10:00
Aarshay Jain 11e7369034 [MRG + 1] Multiclass Documentation update (#9419) 2017-07-25 10:26:05 +02:00
Andreas Mueller c71e1275ea minor sphinx fixes (#9370) 2017-07-15 16:09:06 -07:00
Adam Kleczewski b413299676 [MRG+1] Classifier chain (#7602)
[MRG+2] Classifier chain
2017-06-28 22:34:19 -07:00
Joel Nothman 0ae762e188 DOC paraphrase multiclass description 2016-10-11 13:51:01 +11:00
Pieter Arthur de Jong 8442eead9e [MRG+1] minor edits to multiclass documentation (#5837)
* minor edits to multiclass documentation

* minor text formatting and language modifications

* minor word changes, sentence clarifications

* attempt to fix ci test

* restored previous paragraph

* minor grammatical correction

* minor grammar fixes
2016-09-30 12:51:46 +10:00
Óscar Nájera bd5cecce44 update references link namespace 2016-08-03 20:23:50 +02:00
Óscar Nájera 04116ce286 update image sources namespace 2016-08-03 20:23:50 +02:00
Andreas Mueller 8972d82a1f DOCS / COSMIT duplicate word typos 2016-07-26 10:44:32 -04:00
Maniteja Nandana 29ee54a586 Meta estimator for multi output classification 2016-04-01 07:18:59 +05:30
Tim Head 07cede74ca Multitarget regression meta estimator
Register OneVsRestRegressor as meta estimator

Rename to a more sensible name

Parallel predict and sparse support

Started MultiOutput documentation

Move code to new file multioutput.py

Continuing the move to new multioutput module

Added sample weight support

Better test for sample weights and actually support weights

Added a new test using weighted vs repeated samples to
test sample weight support. Uncovered that weights
were not actually passed on to underlying estimator.

Comment on multiprocess overheads

Move parallel_helper to utils.fixes

This helper works around a python2 limitation on pickling
instance methods

Example of multi-output regression with gradient boosting

Switch to uniform weighted score and updated example

The example now uses a RF with and without the MultiOutput
meta estimator

Added note for removing `score` method

Addressing comments on MultiOutputRegressor

MultiOutputregressor better test for weighted samples

Fix ups

Use explicit keyword argument for passing sample weights and
fix random_state on train-test split in the example
2016-03-10 16:06:08 -05:00
Andreas Mueller c55dc89902 Merge pull request #5695 from amueller/doc_fixes
[MRG] DOC some fixes to the doc build.
2015-11-03 15:24:56 -05:00
Andreas Mueller 2653833a07 DOC some fixes to the doc build. 2015-11-03 12:23:23 -05:00
Elvis DOHMATOB 56b51def64 DOC+ENH: RidgeClassifier doesn not support multi-label 2015-11-02 13:25:38 +01:00
Vinayak Mehta 679936f6bc MAINT Deprecate LDA/QDA in favor of expanded names
The LDA accronym for Linear Discriminant Analysis is ambiguous
because of the newly introduced Latent Dirichlet Allocation model.

We therefore deprecate the sklearn.lda.LDA and sklearn.lda.QDA
in favor of explicit names.
2015-09-11 15:32:11 +02:00
Raghav R V 103f504734 DOC revert the documentation changes 2015-08-11 22:27:15 +05:30
Raghav R V 664d78eb7c MAINT Remove support for the deprecated sequence of sequences
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
David Dotson ef5312c60c Added list of multi-label supporting classifiers.
Closes #4724. The multi-class page now includes a list of estimators
that support multi-labels. Also adjusted the reference to LDA to include
QDA as a multiclass-supporting classifier.
2015-07-12 15:09:45 -05:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Raghav R V e20d1a4391 ENH decision_function now returns #votes and scaled scores.
ENH use the decision_function to compute the prediction
TST Added test to assertain correlation of decision function and prediction
    Add test to check if ties are broken using decision function
    Add decision_function tests to check for votes/scores
    ovo_ties test will use decision function to calculate votes and score.
DOC Add entry to OvO's doc regarding how ties are broken
DOC Clean up the predict / decision_function methods' docstring.
PEP8 Minor PEP8 clean up.
2015-02-09 14:39:11 +05:30
MechCoder 89226b69b4 COSMIT: Made the following changes
1. Removed true from 'true multinomial loss'
2. Replaced OvA with OvR
3. Update whatsnew.rst
2014-08-21 17:37:38 +02:00
Hamzeh Alsalhi 9f45e3730f Modified sparse OvR to handle sparse target data
Defaulted label binarizer to set sparse_output=True when training ovr
classifiers, edited Label binarizer to allow for sparse binary column output
2014-07-18 12:10:50 +02:00
Olivier Grisel 2eb1e98eef MAINT ensure that examples figures are displayed in the correct order 2014-07-14 15:47:17 +02:00
Arnaud Joly ab1a784f0b FIX failing tests due to the change of the underlying sample generator 2014-07-08 12:21:55 +02:00
Lars Buitinck c176ced74d DOC double backticks for fixed-width (code) font
Fixes #3337. Also other minor fixes while I was at it.
2014-07-06 14:18:33 +02:00
Joel Nothman 255895d951 DOC remove mention of sequence of sequences in Parameters sections 2014-06-05 11:20:36 +02:00
Joel Nothman 18c399e20a MAINT deprecate sequences of sequences support
* add warnings
 * provide alternative binarizer, sklearn.preprocessing.MultiLabelBinarizer
 * fix documentation
2014-06-05 11:20:35 +02:00
Arnaud Joly 873a58c15e DOC not all functions support multilabel-sequence format 2013-12-02 11:32:41 +01:00
Lars Buitinck e8045759bf DOC: multiclass: make the warning more prominent
Too many newbies are asking questions involving a
OneVsRestClassifier(LinearSVC()) or similar construct
on the various forums.
2013-11-18 15:50:08 +01:00
Arnaud Joly eb068a7c42 DOC more comments from @NelleV 2013-07-28 10:54:15 +02:00
Arnaud Joly 886754bdc4 DOC ENH take into account @NelleV comments 2013-07-28 10:54:15 +02:00
Arnaud Joly 57ec891313 Typo 2013-07-28 10:54:15 +02:00
Arnaud Joly b79005a6d0 DOC rewording 2013-07-28 10:54:14 +02:00
Arnaud Joly 9ec7d052a8 DOC take into account @vene and @ogrisel + specify format for multioutput-multiclass 2013-07-28 10:54:14 +02:00