Commit graph

161 commits

Author SHA1 Message Date
KOLANICH
2c22f1e9c5
Fix the URLs in package metadata (#1005) 2023-09-21 09:48:38 -04:00
Martin Bubel
3c3ec60dea
Fix issues encountered in modern python versions (#1011)
* Update setup.py

remove special handling of scipy dependencies for old python versions

* Update __init__.py

replace numpy type by native type

* replace np.bool by bool
2023-04-21 17:32:33 +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
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
62c7ebec0d setup.py: Install scipy < 1.5.0 when using Python 3.5 2020-06-17 16:19:23 +02: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
Zhenwen Dai
19b572eff6
Add cython into installation requirement 2020-04-07 20:37:05 +01:00
kae_mihara
31ef0f2844
Update setup.py
bump min require version of scipy to 1.3.0
2020-03-09 19:23:08 +08:00
Geoffrey Neal
9cf4b0f339
Fix clean install of Python 2.7
If using Python 2.7 and don't have numpy installed before hand this error will occur: `NameError: name 'ModuleNotFoundError' is not defined`
2019-05-29 16:10:26 -07:00
Alexander Pitchford
be1b8bcd0a Merge branch 'fix-cython-import_array' into install_fixes 2019-01-10 11:33:34 +00:00
Zhenwen Dai
a86723c8ab
Fix the bug in the prediction of full covariance matrix (#702)
* fix the bug in the prediction of full covariance matrix

* Fix the test cases.

* update the version requirement for matplotlib
2018-10-30 07:43:44 +00:00
Alexander Pitchford
7e48d6e5b7 ext sources changed to pyx 2018-10-18 17:54:21 +01:00
David Sheldon
2ca138ea68
Allow setup.py to be parsed without numpy
If numpy isn't available, don't define ext_mods, pip will then determine numpy is required, install it, then call us again.

Fixes #653
2018-07-24 15:43:29 +01:00
mzwiessele
c1b70fd2d1 fix: rtd 2018-02-22 23:40:03 +01:00
mzwiessele
d2044435bd fix: paramz newest version 2018-02-22 18:10:11 +01:00
mzwiessele
5a0dc22426 fix: use paramz 0.8.5 2017-10-02 16:03:17 +01:00
mzwiessele
a9d3433c59 fix: paramz 0.8 2017-10-02 10:13:32 +01:00
mzwiessele
80b6d798b7 fix: paramz version for parallel optimization fix 2017-06-19 13:17:02 +01:00
mzwiessele
70765ae862 fix: support for 3.5 and higher now that 3.6 is out 2017-06-17 12:11:45 +01:00
mzwiessele
480aedb74a fix: updated keywords 2017-04-12 11:53:05 +01:00
Max Zwiessele
15db5f48ca fix: Installation #451 2016-10-30 11:36:21 +00:00
Mike Croucher
a94d26d85d Update setup.py 2016-10-25 14:08:00 +01:00
Max Zwiessele
73e59571b4 chg: version update on paramz 2016-10-03 12:23:44 +01:00
mzwiessele
0037244b5f [init] updated readme 2016-08-26 12:39:52 +01:00
mzwiessele
e529c5a7e0 [paramz] update included 2016-08-16 15:08:41 +01:00
mzwiessele
feed4c6b8d [priorizable] small edit to be usable with paramz 0.6.1 and greater 2016-08-16 13:47:12 +01:00
mzwiessele
fc8cb8e29c [setup] more setup changes 2016-07-29 11:07:50 +01:00
Max Zwiessele
f1ec8802cd Merge branch 'devel' of github.com:SheffieldML/GPy into devel 2016-04-11 08:51:26 +01:00
Max Zwiessele
47b3a22bc6 [setup] readme in setup 2016-04-11 08:51:21 +01:00
Max Zwiessele
247ab6642c Update setup.py 2016-04-09 20:55:43 +01:00
Max Zwiessele
4ee3799773 [config] softfail when config cannot be written 2016-04-08 11:38:46 +01:00
Max Zwiessele
e54b94485a [doc] readthedocs strangeness 2016-04-08 07:58:16 +01:00
Max Zwiessele
14c881834e [setup] fix #360 2016-04-04 10:21:03 +01:00
Max Zwiessele
15fedcac16 Update setup.py 2016-04-01 23:07:44 +01:00
Max Zwiessele
6682f620ea Update setup.py 2016-04-01 23:07:31 +01:00
Alexander Grigorievskiy
9c07bd167c UPD: Major update, changed interface of the module, Cython support added.
Although cython gives almost no speed-up.
2016-03-15 17:33:56 +02:00
mzwiessele
6c6bc987b6 [coverage] updated coveragerc 2015-11-12 12:06:50 +00:00
Max Zwiessele
d3ce255cbe Have pypi show the link to github
rendering of the rst file is way too strict to fuzz about with.
2015-11-08 10:48:29 +00:00
mzwiessele
89403071a6 [description] was not being converted to rst 2015-11-07 12:18:51 +00:00
mzwiessele
2577334ffa [description] was not being converted to rst 2015-11-07 11:59:51 +00:00
mzwiessele
6d381a3c10 [description] was still in 2015-11-07 11:54:18 +00:00
mzwiessele
f4aa9e8d77 [rst] pypandoc 2015-11-07 11:24:17 +00:00
mzwiessele
9e8b7fd542 [desc] no long desc 2015-11-07 11:19:37 +00:00
mzwiessele
9fb42cbe2a [plotting_tests] failed, because of same name? 2015-11-07 10:59:06 +00:00
mzwiessele
0c11ba0bf8 [plotting_tests] failed, because of same name? 2015-11-07 10:46:17 +00:00
mzwiessele
5d605277bc Merge branch 'devel' into paramz
Conflicts:
	GPy/core/parameterization/parameter_core.py
	GPy/testing/pickle_tests.py
2015-11-02 10:11:26 +00:00
Max Zwiessele
6b6938bd11 [pickling] have the pickling test against a model, which is now being shipped with the distro 2015-10-16 15:46:13 +01:00
mzwiessele
e79ab98385 [setup] paramz integrated 2015-10-15 15:02:42 +01:00
mzwiessele
e49c75ce2e [paramz] started to pull paramz out 2015-10-14 10:28:23 +01:00