Bardiya Ak
9752c03bf1
DOC add a note for fit no-op in FunctionTransformer ( #23007 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-04-27 14:37:38 +02:00
michalkrawczyk
0822851f5c
FEA Bisecting K-Means ( #20031 )
...
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-26 14:54:15 +02:00
Christoph T. Weidemann
8d295fbdc7
DOC Small fixes in Tweedie deviances documentation ( #22952 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-04-23 16:51:54 -04:00
Meekail Zain
e59cc467c5
DOC Improve symbol convention in `model_evaluation.rst` ( #23201 )
...
Co-authored-by: Shao Yang Hong <hongsy2006@gmail.com>
2022-04-23 16:18:25 -04:00
Thomas J. Fan
71d1e84955
DOC Adds missing B to the denominator in model_evaluation ( #23202 )
2022-04-23 15:33:12 -04:00
Thomas J. Fan
3082d95704
DOC Fixes confusing notation for y and y_pred ( #23193 )
2022-04-23 11:15:47 +02:00
Chiara Marmo
69132ebbd3
FEA Online implementation of non-negative matrix factorization ( #16948 )
...
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-22 17:51:06 +02:00
Arturo Amor
d71bfe1df5
DOC Rework plot_ard.py example ( #22747 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-04-21 12:17:53 +02:00
Christian Lorentzen
6ce5c0acad
ENH add criterion log_loss as alternative to entropy in trees and forests ( #23047 )
2022-04-14 08:03:01 +02:00
Olivier Grisel
28db3497a4
DOC fix typo in log loss formula for trees ( #23117 )
2022-04-12 14:09:31 +02:00
Logan Thomas
f16c987592
DOC: various spellcheck and typos ( #23093 )
2022-04-12 10:53:27 +02:00
Olivier Grisel
e275d9df3d
DOC write the cross-entropy loss for classification trees ( #23081 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-04-11 16:58:14 +02:00
Ohad Michel
aeeac1c1d6
ENH add D2 pinbal score and D2 absolute error score ( #22118 )
2022-04-10 19:19:52 +02:00
Christian Lorentzen
a4bdf3c495
DOC fix references for gradient boosting ( #23035 )
2022-04-08 17:38:07 +02:00
JElfner
adb47e7c14
ENH add an option to center ICE and PD ( #18310 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-04-07 18:51:27 +02:00
Mai
3b5f460213
DOC Example: Evaluation of outlier detection estimators ( #16606 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2022-04-07 18:33:16 +02:00
Christian Lorentzen
5b69652dd0
DEP loss = auto, binary_crossentropy, categorical_crossentropy in HGBT ( #23040 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-07 17:30:24 +02:00
Olivier Grisel
0cc5483f75
DOC remove unimplemented misclassification criterion from user guide ( #23071 )
2022-04-07 10:01:12 -04:00
Christian Lorentzen
0c20ba7449
DEP loss "log" in favor of "log loss" in SGDClassifier ( #23046 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-07 15:08:45 +02:00
Alberto Mario Ceballos-Arroyo
3540b00844
ENH Add new initialization methods for Gaussian Mixture ( #20408 )
...
Co-authored-by: Gordon Walsh <gordon.p.walsh@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Andres David Rios Ramirez <ariosramirez.data@gmail.com>
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-04-06 13:40:46 +02:00
Christian Lorentzen
2d97ef8873
DEP deviance in favor of log_loss for GradientBoostingClassifier ( #23036 )
...
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-04-06 13:07:27 +02:00
Thomas J. Fan
d400723a21
FEA Add DecisionBoundaryDisplay ( #16061 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-29 16:36:31 +02:00
Christian Lorentzen
75a94f518f
ENH migrate GLMs / TweedieRegressor to linear loss ( #22548 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-28 19:20:01 -04:00
Thomas J. Fan
cb547ae5d1
DOC Makes Sphinx reference to Bunch a class ( #22948 )
2022-03-25 22:27:51 +01:00
Thomas J. Fan
51fddb7fdc
ENH Adds encoded_missing_value to OrdinalEncoder ( #21988 )
2022-03-23 13:26:34 +01:00
Jérémie du Boisberranger
bb5ab53f94
API Config: change default display to "diagram" ( #22856 )
2022-03-21 15:43:07 +01:00
Dimitri Papadopoulos Orfanos
ee5a1b69d1
DOC, MNT Typos found by codespell ( #22906 )
2022-03-20 19:16:39 +01:00
Adrin Jalali
7dc97a378e
API get_scorer returns a copy and introduce get_scorer_names ( #22866 )
2022-03-20 07:30:21 +11:00
Jérémie du Boisberranger
b9bd2d524d
API Deprecate if_delegate_has_method ( #22830 )
2022-03-17 13:16:53 -04:00
Alexandre Gramfort
1a1c73da4a
DOC: Fix latex \max and not max in model selection ( #22858 )
2022-03-16 10:28:10 +01:00
Thomas J. Fan
7f0006c8aa
ENH Adds infrequent categories to OneHotEncoder ( #16018 )
...
* ENH Completely adds infrequent categories
* STY Linting
* STY Linting
* DOC Improves wording
* DOC Lint
* BUG Fixes
* CLN Address comments
* CLN Address comments
* DOC Uses math to description float min_frequency
* DOC Adds comment regarding drop
* BUG Fixes method name
* DOC Clearer docstring
* TST Adds more tests
* FIX Fixes mege
* CLN More pythonic
* CLN Address comments
* STY Flake8
* CLN Address comments
* DOC Fix
* MRG
* WIP
* ENH Address comments
* STY Fix
* ENH Use functiion call instead of property
* ENH Adds counts feature
* CLN Rename variables
* DOC More details
* CLN Remove unneeded line
* CLN Less lines is less complicated
* CLN Less diffs
* CLN Improves readiabilty
* BUG Fix
* CLN Address comments
* TST Fix
* CLN Address comments
* CLN Address comments
* CLN Move docstring to userguide
* DOC Better wrapping
* TST Adds test to handle_unknown='error'
* ENH Spelling error in docstring
* BUG Fixes counter with nan values
* BUG Removes unneeded test
* BUG Fixes issue
* ENH Sync with main
* DOC Correct settings
* DOC Adds docstring
* DOC Immprove user guide
* DOC Move to 1.0
* DOC Update docs
* TST Remove test
* DOC Update docstring
* STY Linting
* DOC Address comments
* ENH Neater code
* DOC Update explaination for auto
* Update sklearn/preprocessing/_encoders.py
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
* TST Uses docstring instead of comments
* TST Remove call to fit
* TST Spelling error
* ENH Adds support for drop + infrequent categories
* ENH Adds infrequent_if_exist option
* DOC Address comments for user guide
* DOC Address comments for whats_new
* DOC Update docstring based on comments
* CLN Update test with suggestions
* ENH Adds computed property infrequent_categories_
* DOC Adds where the infrequent column is located
* TST Adds more test for infrequent_categories_
* DOC Adds docstring for _compute_drop_idx
* CLN Moves _convert_to_infrequent_idx into its own method
* TST Increases test coverage
* TST Adds failing test
* CLN Careful consideration of dropped and inverse_transform
* STY Linting
* DOC Adds docstrinb about dropping infrequent
* DOC Uses only
* DOC Numpydoc
* TST Includes test for get_feature_names_out
* DOC Move whats new
* DOC Address docstring comments
* DOC Docstring changes
* TST Better comments
* TST Adds check for handle_unknown='ignore' for infrequent
* CLN Make _infrequent_indices private
* CLN Change min_frequency default to None
* DOC Adds comments
* ENH adds support for max_categories=1
* ENH Describe lexicon ordering for ties
* DOC Better docstring
* STY Fix
* CLN Error when explicity dropping an infrequent category
* STY Grammar
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-03-14 15:48:18 +01:00
Aurélien Geron
7723d9374e
ENH Add inverse_transform to random projection transformers ( #21701 )
...
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-03-14 15:07:25 +01:00
Oleksandr Husak
bc44ea7ae8
DOC use notebook-style and fix matplotlib warning for plot_compare_methods ( #22679 )
2022-03-07 10:40:57 +01:00
Chiara Marmo
b19c748adb
DOC Add directives about writing bibliographic references. ( #22656 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-03 00:00:03 +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
Oleksandr Husak
2577dc99bb
DOC use notebook-style for plot_faces_decomposition ( #22452 )
2022-03-02 14:00:32 +01:00
Thomas J. Fan
373d0658db
DOC Explains alpha scaling in MLP's docstring ( #22151 )
2022-02-19 12:35:02 +01:00
Thomas J. Fan
593495eebc
DOC Move model persistence up into user guide ( #22511 )
2022-02-18 17:33:00 +01:00
Gael Varoquaux
3f7f71417b
DOC: put more emphasis on r2_score ( #22491 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-15 19:09:42 +01:00
Alex
72bd9f335f
DOC Fix duplicate-word typos ( #22454 )
2022-02-11 22:47:10 -05:00
hmasdev
77bc7f921c
DOC Fix expired links to some references ( #22373 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: hmasdev <hmasdev@gmail.com>
2022-02-05 10:58:30 -05:00
Erich Schubert
0dfaaadfe2
DOC improve LOF documentation wrt difference of predict and fit_predict ( #21878 )
...
* improve LOF documentation
* Update sklearn/neighbors/_lof.py
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2022-01-30 17:28:26 +01:00
Sultan Orazbayev
cd892f9688
DOC use the arxiv directive in the docstrings ( #21418 )
...
Co-authored-by: aufarkari <aufar.di.sini@gmail.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 17:55:55 +01:00
bmreiniger
8037a4d283
DOC fix the shape of `dual_coef_` in user guide documentation ( #21472 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-01-28 16:57:50 +01:00
Jake Cowton
08e0216784
DOC Updated documentation to show jaccard score usage for image comparison ( #21978 )
...
* FIX Updated jaccard score documentation
Docs now show 2D jaccard score usage for image comparison
* Updated jaccard_score docs to use micro avg in 2d comparison
2022-01-21 18:51:08 +01:00
Brandon Truth
d34328bddb
DOC Clarify cosine metric in neighbors & manifold t-sne docstring ( #22073 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-07 16:37:44 +01:00
Sylvain Marié
cb98be0239
ENH add force_finite to control the behaviour of constant target in explained variance and R2 ( #17266 )
...
* Improved R2 score implementation and documentation by making it more clear that the default behaviour contains a fix to transform `NaN` and `-Inf` scores obtained when `y_true` is constant, to 1.0 and 0.0 respectively. Fixes #16857
Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-01-05 14:16:14 +01:00
siavrez
f87b5ae223
Update learning_curve.rst ( #22086 )
2022-01-03 10:00:36 +01:00
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
siavrez
319e91c458
DOC Update cross_validation.rst ( #22067 )
2021-12-23 09:35:46 -05:00