Commit graph

6094 commits

Author SHA1 Message Date
Neil Lawrence
b8f515ca05 Fix cmu_mocap demo. 2021-05-18 20:22:22 +01:00
Neil Lawrence
44c22372a1 Fix cmu_mocap demo. 2021-05-18 20:18:23 +01:00
Neil Lawrence
4ab77fbc36 Fix cmu_mocap demo. 2021-05-18 20:15:17 +01:00
Aditya Saini
6751515c19
Fix docstring for gp.py::GP.__init__() (#915)
Removed indication in docstring that was incorrect: `kernel` is a required arg, but docstring stated it was optional. Now, docstring does not say it's optional.
2021-05-18 10:14:58 -07:00
Neil Lawrence
0291c282e7
Give latent axes proper key. 2021-05-18 17:51:00 +01:00
Neil Lawrence
89a7988bdd
Remove == None and replace with is 2021-05-18 17:43:52 +01:00
Neil Lawrence
fee16c7b18
Update visualize.py
Due to this issue: https://github.com/matplotlib/matplotlib/issues/17172 setting aspect equal doesn't work on 3D axes. Removing for the moment.
2021-05-18 17:38:21 +01:00
monabf
ff82f12c3d
Corrected Multivariate Gaussian prior (#775)
* Corrected MultivariateGaussian prior

Some corrections including adapting to current version of pdinv, correcting the expressions of constant, pdf and its gradient, and adding the printing function. After some tests, seems to run as expected, similarly to the Gaussian prior which was already working.

* Added test of MultivariateGaussian prior

Simple unit test for creating a kernel with Multivariate Gaussian prior over the lengthscales, then performing GP regression.

* Took care of case where x of shape (n, 1) for multivariate Gaussian prior

* Got rid of unnecessary asserts in Multivariate Gaussian prior since loss of time

Co-authored-by: and <buisson-fenet@is.mpg.de>
2021-05-14 15:21:47 -07:00
Neil Lawrence
46ce7c1680
Fix description of exponentiated quadratic covariance function and add kernels. (#872)
* Fix description of ExpQuad covariance.

* Add sinc kernel.

* Add ExpQuadCosine covariance
2021-05-13 10:50:32 -07:00
Eric Kalosa-Kenyon
fa909768bd
v1.10.0 (#908)
* Update self.num_data in GP when X is updated

* Update appveyor.yml

* Update setup.cfg

* Stop using legacy bdist_wininst

* fix: reorder brackets to avoid an n^2 array

* Minor fix to multioutput regression example, to clarify code + typo.

* added missing import

* corrected typo in function name

* fixed docstring and added more explanation

* changed ordering of explanation to get to the point fast and provide additional details after

* self.num_data and self.input_dim are set dynamically in class GP() after the shape of X. In MRD, the user-specific values are passed around until X is defined.

* fixed technical description of gradients_X()

* brushed up wording

* fix normalizer

* fix ImportError in likelihood.py

in function log_predictive_density_sampling

* Update setup.py

bump min require version of scipy to 1.3.0

* Add cython into installation requirement

* Coregionalized regression bugfix (#824)

* route default arg W_rank correctly (Addresses #823)

* Drop Python 2.7 support (fix #833)

* travis, appveyor: Add Python 3.8 build

* README: Fix scipy version number

* setup.py: Install scipy < 1.5.0 when using Python 3.5

* plotting_tests.py: Use os.makedirs instead of matplotlib.cbook.mkdirs (fix #844)

* Use super().__init__ consistently, instead of sometimes calling base class __init__ directly

* README.md: Source formatting, one badge per line

* README.md: Remove broken landscape badge (fix #831)

* README.md: Badges for devel and deploy (fix #830)

* ignore itermediary sphinx restructured text

* ignore vs code project settings file

* add yml config for readthedocs

* correct path

* drop epub and pdf builds (as per main GPy)

* typo

* headings and structure

* update copyright

* restructuring and smartening

* remove dead links

* reorder package docs

* rst "markup"

* change rst syntax

* makes sense for core to go first

* add placeholder

* initial core docs, class diagram

* lower level detail

* higher res diagrams

* layout changes for diagrams

resolve conflict

* better syntax

* redunant block

* introduction

* inheritance diagrams

* more on models

* kernel docs to kern.src

* moved doc back from kern.src to kern

* kern not kern.src in index

* better kernel description

* likelihoods

* placeholder

* add plotting to docs index

* summarise plotting

* clarification

* neater contents

* architecture diagram

* using pods

* build with dot

* more on examples

* introduction for utils package

* compromise formatting for sphinx

* correct likelihod definition

* parameterization of priors

* latent function inference intro and format

* maint: Remove tabs (and some trailing spaces)

* dpgplvm.py: Wrap long line + remove tabs

* dpgplvm.py: Fix typo in the header

* maint: Wrap very long lines (> 450 chars)

* maint: Wrap very long lines (> 400 chars)

* Add the link to the api doc on the readme page.

* remove deprecated parameter

* Update README.md

* new: Added to_dict() method to Ornstein-Uhlenbeck (OU) kernel

* fix: minor typos in README !minor

* added python 3.9 build following 4aa2ea9f5e to address https://github.com/SheffieldML/GPy/issues/881

* updated cython-generated c files for python 3.9 via `pyenv virtualenv 3.9.1 gpy391 && pyenv activate gpy391 && python setup.py build --force

* updated osx to macOS 10.15.7, JDK to 14.0.2, and XCode to Xcode 12.2 (#904)

The CI  was broken. This commit fixes the CI. The root cause is reported in more detail in issue #905.

In short, the default macOS version (10.13, see the TravisCI docs) used in TravisCI isn't supported by brew which caused the brew install pandoc in the download_miniconda.sh pre-install script to hang and time out the build. It failed even on inert PRs (adding a line to README, e.g.). Now, with the updated macOS version (from 10.13 to 10.15), brew is supported and the brew install pandoc command succeeds and allows the remainder of the CI build and test sequence to succeed.

* incremented version

Co-authored-by: Masha Naslidnyk 🦉 <naslidny@amazon.co.uk>
Co-authored-by: Zhenwen Dai <zhenwendai@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Mark McLeod <mark.mcleod@mindfoundry.ai>
Co-authored-by: Sigrid Passano Hellan <sighellan@gmail.com>
Co-authored-by: Antoine Blanchard <antoine@sand-lab-gpu.mit.edu>
Co-authored-by: kae_mihara <rukamihara@outlook.com>
Co-authored-by: lagph <49130858+lagph@users.noreply.github.com>
Co-authored-by: Julien Bect <julien.bect@centralesupelec.fr>
Co-authored-by: Neil Lawrence <ndl21@cam.ac.uk>
Co-authored-by: bobturneruk <bob.turner.uk@gmail.com>
Co-authored-by: bobturneruk <r.d.turner@sheffield.ac.uk>
Co-authored-by: gehbiszumeis <16896724+gehbiszumeis@users.noreply.github.com>
2021-05-11 20:12:38 -07:00
Eric Kalosa-Kenyon
e272c666c1 incremented version 2021-05-11 14:32:05 -07:00
Eric Kalosa-Kenyon
1bbdc2092c
Merge branch 'deploy' into devel 2021-05-11 09:56:39 -07:00
Eric Kalosa-Kenyon
55c2d66c99
updated osx to macOS 10.15.7, JDK to 14.0.2, and XCode to Xcode 12.2 (#904)
The CI  was broken. This commit fixes the CI. The root cause is reported in more detail in issue #905.

In short, the default macOS version (10.13, see the TravisCI docs) used in TravisCI isn't supported by brew which caused the brew install pandoc in the download_miniconda.sh pre-install script to hang and time out the build. It failed even on inert PRs (adding a line to README, e.g.). Now, with the updated macOS version (from 10.13 to 10.15), brew is supported and the brew install pandoc command succeeds and allows the remainder of the CI build and test sequence to succeed.
2021-05-11 09:37:07 -07:00
Eric Kalosa-Kenyon
562266f46c
adding to_dict() method to Ornstein-Uhlenbeck (OU) kernel
This method was missing, causing serialization functionality that uses it to raise an AttributeError. This commit implements the missing method.
2021-05-11 09:35:53 -07:00
Eric Kalosa-Kenyon
434e1b0f5e updated cython-generated c files for python 3.9 via `pyenv virtualenv 3.9.1 gpy391 && pyenv activate gpy391 && python setup.py build --force 2021-03-15 21:27:38 +00:00
Eric Kalosa-Kenyon
9c69b8c6fe added python 3.9 build following 4aa2ea9f5e to address https://github.com/SheffieldML/GPy/issues/881 2021-03-15 21:27:38 +00:00
gehbiszumeis
b906719325 fix: minor typos in README !minor 2021-03-08 13:52:23 +01:00
gehbiszumeis
98fef6d622 new: Added to_dict() method to Ornstein-Uhlenbeck (OU) kernel 2021-03-08 13:52:22 +01:00
Neil Lawrence
426ba1dc27
Update README.md 2020-11-16 10:43:36 +00:00
bobturneruk
04a9d9d994 remove deprecated parameter 2020-11-16 10:41:16 +00:00
bobturneruk
7bfb65b5c5 add pylint config 2020-09-22 14:50:21 +01:00
Zhenwen Dai
ec20f9ed3a
Add the link to the api doc on the readme page. 2020-06-26 11:39:28 +01:00
Julien Bect
44f4739efb maint: Wrap very long lines (> 400 chars) 2020-06-24 16:22:19 +01:00
Julien Bect
d754bc12de maint: Wrap very long lines (> 450 chars) 2020-06-24 16:22:19 +01:00
Julien Bect
1d549ca5c6 dpgplvm.py: Fix typo in the header 2020-06-23 22:32:02 +01:00
Julien Bect
c23a1a0eb4 dpgplvm.py: Wrap long line + remove tabs 2020-06-23 22:32:02 +01:00
Neil Lawrence
fd24245b12
Merge pull request #846 from jbect/remove-tabs
maint: Remove tabs (and some trailing spaces)
2020-06-20 11:37:35 +01:00
Julien Bect
0a9b1cc10d maint: Remove tabs (and some trailing spaces) 2020-06-20 08:11:01 +02:00
Neil Lawrence
490c4c73f5
Merge pull request #829 from jbect/init-super
Use super().__init__ consistently
2020-06-19 11:16:43 +01:00
Neil Lawrence
ef9562c51a
Merge pull request #832 from jbect/improve-badges
Improve badges
2020-06-19 11:14:48 +01:00
Neil Lawrence
4b947c4d5c
Merge pull request #836 from RSE-Sheffield/package-level-info
Document at package level
2020-06-19 11:13:27 +01:00
bobturneruk
923343dcc2 latent function inference intro and format 2020-06-18 14:41:06 +01:00
bobturneruk
ef044197fb parameterization of priors 2020-06-18 14:41:06 +01:00
bobturneruk
e0304056f9 correct likelihod definition 2020-06-18 14:41:06 +01:00
bobturneruk
9fee83fdb0 compromise formatting for sphinx 2020-06-18 14:41:06 +01:00
bobturneruk
3684e64ac2 introduction for utils package 2020-06-18 14:41:06 +01:00
bobturneruk
159ca2eba6 more on examples 2020-06-18 14:41:06 +01:00
bobturneruk
f9aeffdba3 build with dot 2020-06-18 14:41:06 +01:00
bobturneruk
dec5bf8cef using pods 2020-06-18 14:41:06 +01:00
bobturneruk
f62a487f24 architecture diagram 2020-06-18 14:41:06 +01:00
bobturneruk
cf11962f05 neater contents 2020-06-18 14:41:06 +01:00
bobturneruk
86a87f3397 clarification 2020-06-18 14:41:06 +01:00
bobturneruk
e03cef43a6 summarise plotting 2020-06-18 14:41:06 +01:00
bobturneruk
b0c18a90a4 add plotting to docs index 2020-06-18 14:41:06 +01:00
bobturneruk
3e6cc2888d placeholder 2020-06-18 14:41:06 +01:00
bobturneruk
4e411c4b26 likelihoods 2020-06-18 14:41:06 +01:00
bobturneruk
14f0e08f9e better kernel description 2020-06-18 14:41:06 +01:00
bobturneruk
4a64e3260e kern not kern.src in index 2020-06-18 14:41:06 +01:00
bobturneruk
27ccdc74ee moved doc back from kern.src to kern 2020-06-18 14:41:06 +01:00
bobturneruk
24549e8c7d kernel docs to kern.src 2020-06-18 14:41:06 +01:00