Commit Graph

24 Commits

Author SHA1 Message Date
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
MarcoM b519d6c748
ENH Fix AttributeError of compound kernel of Gaussian processes (#22223)
* Catch CompoundKernel in GPC

* added Changelog

* updated the error message and docs

* removed spacebar in docs

* updated docs and test

* Update doc/whats_new/v1.1.rst

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* changelog updated

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-01-18 18:27:30 +01:00
Guillaume Lemaitre 8d81fabec3
DOC move versionadded misplaced (#21162) 2021-09-27 12:55:38 +02:00
Juan Martin Loyola 01b9b5ae21
DOC Fix sphinx's links to Glossary (#21094) 2021-09-21 10:01:17 -04:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Mateo Noreña 3659a2038f
DOC ensures GaussianProcessClassifier is passing numpydoc validation (#20393)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-06-29 10:42:22 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +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
Thomas J. Fan 8f72c2a334
ENH Adds n_features_in_ checking in gaussian_process (#18743) 2021-01-02 22:31:19 +01:00
Frans Larsson ecad0c6988
DOC Add None as valid option to random_state for gaussian_process module (#18252) 2020-08-26 11:05:26 +02:00
SylvainLan 8f63e9144f
FIX Add warning for GP's hyperparameters (#12673)
* Add a warning for GP Regressor if optimized hyperparameter matches one of its bounds

* pep8 fix

* Add a test and use np.isclose

* More verbose warning message

* remove print

* Ad a more precise warning and update tests

* fix warning and update tests

* fix test dims

* fix multiple dimensions test

* fix pep8

* change variable name

* add warning for GP classifier

* tests for gpc

* pep8 fix

* put the warning in a function

* add comment to warning function

* update name in gpr and gpc

* update whats_new

* update whats_new

* update whats_new

* remove merge conflict text

* add WhiteKernel

* put the log in the last version
2020-07-17 10:28:17 +02:00
t-kusanagi2 99baa5084f
DOC Add explanation of n_jobs in gaussian_process/_gpc.py (#17716) 2020-06-25 14:31:08 +02:00
Kendrick Cetina 4a97ad49c1
DOC add missing attributes in GaussianProcessClassifier (#17698)
Co-authored-by: Beatriz San Miguel <beatriz.sanmiguelgonzalez@uk.fujitsu.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-24 18:38:28 +02:00
Adrin Jalali 7e15285d2e
API make gaussian_process __init__ params kwarg (#16870) 2020-04-20 13:48:36 -04: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
Corrie Bartelheimer fa9cf22b27
DOC add examples for Gaussian Processes and improve User Guide (#15221) 2020-02-13 09:11:02 -05:00
lopusz 62ce1bad32
DOC follow doc formatting guideline for module gaussian_process (#16415) 2020-02-12 12:45:48 +01:00
Ana Casado 1640d8cf6d DOC improve random state description in gaussian_proccess module (#16211) 2020-01-26 12:14:42 +01:00
Yu-Hang "Maxin" Tang 8360786895 ENH Allowing Gaussian process kernels on structured data (#15557) 2019-11-15 16:07:36 -08:00
Thomas J Fan a311ec0d8b MNT Make modules private in guassian_process (#15320) 2019-10-28 11:20:36 +08:00