GPy/GPy/likelihoods
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
..
__init__.py maint: Wrap very long lines (> 450 chars) 2020-06-24 16:22:19 +01:00
bernoulli.py Serialization: Add docstrings 2018-06-07 09:52:13 +01:00
binomial.py Made EP faster for Binomial likelihood with Probit or ScaledProbit link functions by adding exact moments 2018-09-05 15:42:40 +03:00
exponential.py Updated sampling and plots to be correct shape, and changed plotting of sampling to be posterior samples p(f*|f), like it used to be, and samples_y to plot samples of p(y*|y) 2015-09-10 11:08:28 +01:00
gamma.py Merge from upstream 2015-03-13 14:23:40 +00:00
gaussian.py Serialization: Add docstrings 2018-06-07 09:52:13 +01:00
likelihood.py fix ImportError in likelihood.py 2020-03-09 11:56:23 +08:00
link_functions.py Added new link-function to enable derivative sign values as in Riihimaki & Vehtari (2010) paper 2018-09-05 14:58:04 +03:00
loggaussian.py fresh branch for these new likelihood functions along with test code- will work atleast with La[lace approximation ... 2017-06-01 15:03:19 +03:00
loglogistic.py change import statements for calling locally 2017-06-01 16:07:50 +03:00
mixed_noise.py to_dict() and from_dict() functionality for Coregionalize Kernel and MixedNoise Likelihood class, appveyor CI resurrected (#951) 2021-12-09 14:14:27 -05:00
multioutput_likelihood.py Switched to relative package imports 2018-09-06 12:06:40 +03:00
poisson.py Fixing bernoulli likelihood for Laplace, fixing Zep for EP, and starting working on quadrature limits 2015-10-19 19:29:57 +01:00
student_t.py [paramz] fully integrated all tests running 2015-10-15 14:59:57 +01:00
weibull.py correcting weibull- changing parameterisation from f to exp(f) similar to loglogistic 2017-07-27 21:11:20 +03:00