Commit Graph

299 Commits

Author SHA1 Message Date
Thomas J. Fan d4aad64b1e
MNT Update to black 22.3.0 to resolve click error (#22983)
* MNT Update to black 22.3.0 to resolve click error

* STY Update for new black version
2022-03-29 12:04:41 +02:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Meekail Zain 9f96d42e39
ENH Replaced RandomState.rand with equivalent uniform (#22327) 2022-02-01 17:09:38 -05:00
Meekail Zain 254ea8c453
ENH Replaced RandomState with Generator compatible calls (#22271) 2022-01-28 15:49:34 -05:00
Guillaume Lemaitre 3e460e8b7e
FIX correctly initialize precisions_cholesky_ in GaussianMixture (#22058) 2021-12-22 20:10:22 +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
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 fc1de52195
DOC add more details regarding determinant computation in GMM (#21480) 2021-10-27 17:47:25 +02:00
Dimitri Papadopoulos Orfanos 10a5468e90
DOC Remove some str/unicode leftovers from Python 2 (#21270)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-08 13:55:15 +02:00
Julien Jerphanion 40e1f895b1
DOC Reword score_sample's and similar interfaces' docstrings (#20979)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@inria.fr>
2021-09-08 17:53:03 +02:00
Juan Martin Loyola a122ad7bce
DOC Ensures that GaussianMixture passes numpydoc validation (#20949) 2021-09-06 11:28:23 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Nico Stefani b3112e0b15
DOC Ensures BayesianGaussianMixture docstring passes numpydoc validation (#20384)
Co-authored-by: Nico Stefani <nicolas.stefani@mercadolibre.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-28 10:19:35 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
tliu68 88be3c1357
Fix GaussianMixture UnboundLocalError (#20030) 2021-05-25 08:23:07 +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
Alihan Zihna d852aa0825
TST Changes assert to pytest style in /mixture/tests (#19983)
Co-authored-by: Alihan Zihna <a.zihna@ckhgbdp.onmicrosoft.com>
2021-04-26 11:55:17 -04:00
Thomas J. Fan cf296c74ba
ENH Checks n_features_in_ after fitting in mixture (#19540) 2021-03-23 14:08:11 +01:00
Ashutosh Kushwaha 7db70d5b79
DOC fix typo in _bayesian_mixture.py (#18766) 2020-11-06 18:34:05 +00:00
Rob Romijnders 76f2479e2f
Fix typo in docstring for GaussianMixture. (#17998) 2020-07-26 15:27:09 +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
Violeta d8be25f65c
DOC fixes default values documentation in sklearn/mixture module (#17476)
* fixes default values documentation in sklearn/mixture

* sklearn/mixtures extra changes to doc

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-06 19:14:15 -04:00
amy12xx 4eca61b629
DOC Standardize formatting for default values (#17509)
Co-authored-by: Amanda Dsouza <adsouza41@gatech.edu>
2020-06-06 17:00:59 -04:00
darioka a0a23d2e3a
DOC Adds GaussianMixture and BayesianGaussianMixture examples (#15193) 2020-05-22 14:28:24 -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
Roman Yurchak 75d3f29e72
MAINT Remove outdated numpy and scipy backports (#16725)
* Remove unecessary numpy & scipy backports

* More fixes

* Remove unused imports
2020-03-20 13:57:18 +01:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Roman Feldbauer 9b39c4c4d2
TST Fix unreachable code in tests (#16110) 2020-02-16 14:41:26 +01:00
Pierre Delanoue 06b1a19465
[DOC] Make random_state descriptions for Mixture Models (#16307) 2020-01-30 17:40:05 +01:00
Chiara Marmo 2de018bf6e DOC Fix some new sphinx warnings. (#15560) 2019-11-07 16:35:31 -05:00
Katarina Slama c4545aa823 DOC fixed typos in mean_precision_prior in _bayesian_mixture (#15501) 2019-11-06 13:24:57 +01:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
Nicolas Hug 0f157e9475 ENH Minor update to error message from check_is_fitted (#15357) 2019-10-27 13:06:34 +01:00
Nicolas Hug 6ac9dc4878 MNT make the modules in sklearn.mixture private (#15166)
* renaming

* renamed some imports

* added test and gitignore
2019-10-16 19:16:26 +02: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 92af3dabbb MAINT simplify check_is_fitted to use any fitted attributes (#14545) 2019-08-13 22:09:07 +02:00
Adrin Jalali 19c068a2ec MNT towards removing assert_equal, etc (#14222) 2019-07-01 09:13:32 -04:00
Roman Yurchak 5674122c97 MAINT More test runtime optimizations (#14136)
* Feature extraction / feature selection

* Metrics, manifold, impute, GP optimization

* Optimize mixture

* Optimize model_selection

* Fix tests

* Lint
2019-06-22 10:44:06 +03:00
Dougal J. Sutherland b3030f046f minor fix in gaussian_mixture.py (#14120)
This was working, since `'full' in 'full'`, but for clarity and accident-avoidance it's probably better to use `==`.
2019-06-20 08:26:04 +10:00
Kensuke Arai 3373e9c125 Fixed documentation for mean_precision_prior. Smaller->Larger (#13764) 2019-05-05 08:24:01 +01:00
jeremiedbb 3a47124205 [MRG] Fix GaussianMixture fit_predict != fit.predict when n_init > 1 (#13142) 2019-02-25 07:57:35 +01:00
Roman Yurchak 0e3bb17e62 MAINT Run pyupgrade following Python2 deprecation (#12997) 2019-02-08 20:13:34 +08:00
Kossori Aruku c2d56a6c8f DOC change from 'means_prior' to 'mean_prior' in BayesianGaussianMixture (#13090) 2019-02-04 23:07:29 +08:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Rüdiger Busche d300f406ae MAINT Simplify super() calls (#12812) 2019-01-10 22:27:06 +01:00
Andreas Mueller 952ef6637a MRG Drop legacy python / remove six dependencies (#12639) 2019-01-03 15:50:05 +02:00