Commit graph

143 commits

Author SHA1 Message Date
Zhenwen Dai
54d87b3b5e
Drop the Python 3.5 from the test env 2023-04-28 09:41:43 +01:00
Zhenwen Dai
1d574f68b5
Merge branch 'deploy' into devel 2023-04-21 17:45:58 +01:00
gehbiszumeis
bb1bc50886
to_dict() and from_dict() functionality for Coregionalize Kernel and MixedNoise Likelihood class, appveyor CI resurrected (#951)
This PR adds two main things to GPy:
- to- and from-dict functions for the kernels listed belop
- a fix for the appveyor CI
Please see the squashed commit messages listed below.
Authors: @gehbiszumeis @ppk42 respectively
Reviewer: @ekalosak 

---
* new: added to_dict() method to Coregionalize kernel class

* new: added to_dict() method to MixedNoise likelihood class

* fix: made Y_metadata dict content serializable

* fix: typo

* added additional needed parameters to to_dict() method for Coregionalize kernel + added _build_from_input dict method

* new: added possibility to build MixedNoise likelihood from input_dict

* Y_metadata conversion from serializable to np.array when loading from dict

* fix: rework Y_metadata part for compatibility with unittests !minor

* conda cleanup in appveyors pipeline

* conda clean up after conda update

* conda clean before conda update

* try pinning packages for conda

* revert all conda changes

* conda clean all (not only packages)

* use conda update anaconda

* pin conda package

* pin conda package

* try installing charset-normalizer beforehand

* try to get from conda-forge

* revert all conda changes

* Try to fix the conda update challange.

See: https://community.intel.com/t5/Intel-Distribution-for-Python/Conda-update-Conda-fails/td-p/1126174

It is just a try for a different context/(conda version).

* Still fixing build error on appveyor

I also use a newer miniconda version for greater python versions.

* Update appveyor.yml

Thinking it over it decided to use miniconda38 for all python versions unless python 3.5.

* revert miniconda versioning changes

* adjust GPy version in appveyor.yml

* 1st attempt bring the appveyor build to life again

* #955 fixing ci build on appveyor

After bringing the miniconda env to work again, the wrong matplotlib version was used. This commit should fix that.

* #955 Fix CI build

Freezing numpy and scipy was a bad idea.
I freeze matplotlib  dependend  on the python version only.

* add: built_from_dict method for White Kernel

Co-authored-by: Peter Paul Kiefer <ppk42@users.noreply.github.com>
Co-authored-by: Peter Paul Kiefer <dafisppk@gmail.com>
2021-12-09 14:14:27 -05: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
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
Julien Bect
4aa2ea9f5e travis, appveyor: Add Python 3.8 build 2020-05-05 22:30:21 +02:00
Julien Bect
8b74bbf6b9 Drop Python 2.7 support (fix #833) 2020-05-05 22:30:17 +02:00
Hugo van Kemenade
d1c35ec467
Stop using legacy bdist_wininst 2019-11-05 15:52:49 +02:00
Zhenwen Dai
5c4c191b6a
Update appveyor.yml 2019-10-17 08:56:36 +01:00
mzwiessele
300204dac4 Bump version: 1.9.7 → 1.9.8 2019-05-17 18:10:45 +01:00
mzwiessele
fead596961 fix: also run on 3.5 2019-05-17 18:10:40 +01:00
mzwiessele
05c922f1fd Bump version: 1.9.6 → 1.9.7 2019-05-17 17:57:08 +01:00
Zhenwen Dai
b503c71842 fix the version number in appveyor.yml 2018-10-31 10:39:45 +00:00
mzwiessele
0da02ff3fe Bump version: 1.9.4 → 1.9.5 2018-09-02 22:50:17 +01:00
mzwiessele
1c101c9c36 Bump version: 1.9.3 → 1.9.4 2018-09-02 21:15:17 +01:00
mzwiessele
141ceeb7fb pkg: merged and tested, no py37 2018-09-02 21:15:10 +01:00
mzwiessele
9dbb1a945a add py37 2018-09-02 19:17:52 +01:00
mzwiessele
8446da628b fix: samples tests and plotting, multioutput 2018-09-02 19:07:23 +01:00
mzwiessele
d8db1b6847 fix: py37 cython not compatible 2018-07-27 15:30:33 +02:00
mzwiessele
a190c3320b Bump version: 1.9.2 → 1.9.3 2018-07-27 14:48:57 +02:00
mzwiessele
fc6bf2b9f4 fix: python=3.7 2018-07-27 14:48:52 +02:00
mzwiessele
f496dd4f2b Bump version: 1.9.1 → 1.9.2 2018-02-23 00:09:55 +01:00
mzwiessele
fb498060da Bump version: 1.9.0 → 1.9.1 2018-02-22 18:11:44 +01:00
mzwiessele
96b07085a4 Bump version: 1.8.7 → 1.9.0 2018-02-22 18:07:03 +01:00
mzwiessele
13a411915e Bump version: 1.8.6 → 1.8.7 2018-02-22 17:06:02 +01:00
mzwiessele
1227849398 Bump version: 1.8.5 → 1.8.6 2018-02-22 16:34:03 +01:00
Zhenwen Dai
460cfd3d12 bump the version: 1.8.4 -> 1.8.5 2017-12-01 13:34:45 +00:00
mzwiessele
116b2136ff fix: appveyor comment missing 2017-10-06 14:29:24 +01:00
mzwiessele
f8c3611ae6 Bump version: 1.8.3 → 1.8.4 2017-10-06 13:59:20 +01:00
mzwiessele
393e8a2893 fix: pkg: appveyor upload stderr using twine 2017-10-06 13:57:11 +01:00
mzwiessele
f7f8f31b0c fix: pkg: faster throughput: 2017-10-06 13:52:14 +01:00
mzwiessele
d0513315c7 fix: pkg: appveyor build without ps 2017-10-06 13:49:58 +01:00
Max Zwiessele
37d1749694 Update appveyor.yml 2017-10-06 13:27:59 +01:00
mzwiessele
0ddae6103b Bump version: 1.8.2 → 1.8.3 2017-10-02 16:04:53 +01:00
mzwiessele
00f9ca1650 Bump version: 1.8.1 → 1.8.2 2017-10-02 14:38:02 +01:00
mzwiessele
5e261657a8 Bump version: 1.8.0 → 1.8.1 2017-10-02 10:13:39 +01:00
mzwiessele
838625271a Bump version: 1.7.7 → 1.8.0 2017-09-11 11:07:54 +01:00
mzwiessele
7592088a1c Bump version: 1.7.6 → 1.7.7 2017-06-19 14:41:04 +01:00
mzwiessele
72bd8c46f5 fix: pkg: appveyor still making problems 2017-06-19 14:40:58 +01:00
mzwiessele
c0237088de chg: pkg: trying to make appveyor more stable 2017-06-19 14:29:42 +01:00
mzwiessele
7bb0113c9c chg: pkg: trying to make appveyor more stable 2017-06-19 14:18:03 +01:00
mzwiessele
3379293bab Bump version: 1.7.5 → 1.7.6 2017-06-19 13:34:35 +01:00
mzwiessele
ad02c948fa fix: appveyor not uploading to testpypi for now 2017-06-19 13:34:27 +01:00
mzwiessele
cc4456eb4d Bump version: 1.7.4 → 1.7.5 2017-06-19 13:31:57 +01:00
mzwiessele
d2551b75c1 Bump version: 1.7.3 → 1.7.4 2017-06-19 13:19:00 +01:00
mzwiessele
fdff068bc4 Bump version: 1.7.2 → 1.7.3 2017-06-19 13:09:54 +01:00
mzwiessele
24091f5918 fix: appveyor build failing 2017-06-19 13:09:49 +01:00
mzwiessele
ff7d9a1dd2 Bump version: 1.7.1 → 1.7.2 2017-06-17 13:18:20 +01:00
mzwiessele
74b89ae7d1 fix: appveyor build python 3.6 2017-06-17 13:18:02 +01:00
mzwiessele
41eed1c100 Bump version: 1.7.0 → 1.7.1 2017-06-17 13:06:11 +01:00