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
siavrez
d5a0d19f3c
DOC Update cross_validation.rst ( #22066 )
2021-12-23 09:21:10 -05:00
Mandy Gu
379919dc59
ENH Add optional parameter to return raw data for diabetes dataset ( #16605 )
...
Co-authored-by: happilyeverafter95 <mgu@wealthsimple.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 11:33:18 +01:00
Brian Sun
4d68797e27
ENH Updating defaults for RandomForestRegressor and Classifier ( #20803 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-11-30 00:29:46 +01:00
Guillaume Lemaitre
2330c4c465
MNT remove deprecated kind='legacy' in partial_dependence ( #21589 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-24 11:11:10 +01:00
Guillaume Lemaitre
4f6a28f2eb
FIX/API Fix AIC/BIC in LassoLarsIC and introduce noise_variance ( #21481 )
2021-11-23 21:32:26 +01:00
Guillaume Lemaitre
d5ce9c4966
DOC improve kernel PCA example ( #19945 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christos Aridas <chkoar@users.noreply.github.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-04 08:40:33 +01:00
Guillaume Lemaitre
16e027bfc3
DOC convert to notebook style CO2 GPR regression ( #20358 )
2021-11-03 18:49:26 +01:00
Guillaume Lemaitre
79fae0cc9d
DOC convert to notebook style Kernel ridge GPR example ( #20357 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-03 18:47:34 +01:00
Guillaume Lemaitre
3611c938c9
DOC convert to notebook GPR regression with noise estimation ( #20359 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-03 18:45:38 +01:00
Andrew Knyazev
f449af888e
ENH add 'cluster_qr' method to spectral segmentation ( #21148 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Victor Minden <victorminden@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2021-11-02 11:32:14 +01:00
Jérémie du Boisberranger
e773581c3a
FIX Make dict learning loss match the paper ( #19210 )
...
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-10-27 20:10:58 +02: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
puhuk
337e0d234b
DOC Use :doi: and :arxiv: directives for references ( #21099 )
2021-10-20 13:53:25 -04:00
christopherlim98
958ccc5bb1
DOC update documentation for DBSCAN and OPTICS ( #21343 )
2021-10-19 10:59:27 -04:00
Reshama Shaikh
7601f87b7a
DOC Display diagram to pipeline example ( #18758 )
...
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-13 16:31:09 +02:00
Julien Jerphanion
6b332d9969
MNT Move `DistanceMetric` under `metrics` ( #21177 )
2021-10-08 17:57:32 +02:00
Jon Haitz Legarreta Gorroño
9b90126f10
DOC Build proper sentence for Davies-Bouldin Index advantage ( #21081 )
...
Build proper sentence for Davies-Bouldin Index advantage in User Guide.
2021-09-24 11:07:13 +02:00
Thomas J. Fan
017eb3fcff
API Change ColumnTransformer parameter name to verbose_feature_names_out ( #21080 )
2021-09-21 17:16:51 +02:00
almeidayoel
2b7564c155
DOC fix typo in DET curve description ( #21089 )
2021-09-20 23:01:29 +02:00
J Alexander
623026ea11
DOC minor fixes to examples for neighbors transformers ( #21057 )
...
Co-authored-by: Johnathan Alexander <jalexander86@gatech.edu>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-18 11:42:58 -04:00
Dimitri Papadopoulos Orfanos
f71c031314
DOC Typos found by codespell ( #21069 )
2021-09-17 19:04:54 +02:00