Commit graph

5770 commits

Author SHA1 Message Date
Neil Lawrence
a12298d60e Update error message a little. 2021-05-21 08:03:50 +01:00
Neil Lawrence
74fab170d1 Update visualize stick_show for Python 3 and with clear error message for failure. 2021-05-21 08:01:39 +01:00
Neil Lawrence
ff2eea1169 Merge branch 'SheffieldML:devel' into devel 2021-05-21 07:41:07 +01:00
Neil Lawrence
c36cd19572
Force integer division (missed Python2-Python 3 change) 2021-05-21 07:29:01 +01:00
Neil Lawrence
714ad858aa Update GPy/util/normalizer.py 2021-05-19 18:52:40 +01:00
Neil Lawrence
ef90137c4c Fix dimensionality reduction example to work with notebook. 2021-05-19 18:52:40 +01:00
Neil Lawrence
5f68d8a7c3 Fix normalizer to catch when output scale is zero. 2021-05-19 18:52:40 +01:00
Neil Lawrence
95426aed34 Fix normalizer to catch when output scale is zero. 2021-05-19 18:52:40 +01:00
Neil Lawrence
943be980d4 Fix normalizer to catch when output scale is zero. 2021-05-19 18:52:40 +01:00
Neil Lawrence
11f806df3f Fix normalizer to catch when output scale is zero. 2021-05-19 18:52:40 +01:00
Neil Lawrence
5c71aa45c7 Update GPLVM class to use metadata and output normalizers. 2021-05-19 18:52:40 +01:00
Neil Lawrence
8b098ec59b Fix cmu_mocap demo. 2021-05-19 18:52:40 +01:00
Neil Lawrence
fbe0a09506 Fix cmu_mocap demo. 2021-05-19 18:52:40 +01:00
Neil Lawrence
67834da195 Fix cmu_mocap demo. 2021-05-19 18:52:40 +01:00
Neil Lawrence
9686a58b35 Fix cmu_mocap demo. 2021-05-19 18:52:40 +01:00
Neil Lawrence
20750d7a5e Fix cmu_mocap demo. 2021-05-19 18:52:40 +01:00
Neil Lawrence
4dfc22277f Give latent axes proper key. 2021-05-19 18:52:40 +01:00
Neil Lawrence
f822caaf2c Remove == None and replace with is 2021-05-19 18:52:40 +01:00
Neil Lawrence
cc00de7d41 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-19 18:52:40 +01:00
Neil Lawrence
d645fc34bc
Update GPy/util/normalizer.py 2021-05-19 18:31:52 +01:00
Neil Lawrence
dc7bf22400 Fix dimensionality reduction example to work with notebook. 2021-05-19 10:06:40 +01:00
Neil Lawrence
c0cd01423f Fix normalizer to catch when output scale is zero. 2021-05-19 10:00:41 +01:00
Neil Lawrence
ede1174d8f Fix normalizer to catch when output scale is zero. 2021-05-19 09:58:16 +01:00
Neil Lawrence
7f1d62757c Fix normalizer to catch when output scale is zero. 2021-05-19 09:55:13 +01:00
Neil Lawrence
2d82aa185c Fix normalizer to catch when output scale is zero. 2021-05-19 09:50:51 +01:00
Neil Lawrence
9ac6bb3545 Update GPLVM class to use metadata and output normalizers. 2021-05-19 09:45:21 +01:00
Neil Lawrence
8e6dbfdc61 Fix cmu_mocap demo. 2021-05-18 20:27:16 +01:00
Neil Lawrence
530531f4ff Fix cmu_mocap demo. 2021-05-18 20:24:18 +01:00
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
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
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