Open
Description
Description of your problem
Hi when running GP find_MAP in PyMC version4 seems to return different results compared to PyMC3.
Example 1: The GP salmon notebook
Pymc v4: https://github.com/danhphan/gp_experiments/blob/main/examples/gp_salmon_pymc_v4.ipynb
{'ρ_log__': array(1.60943791),
'η_log__': array(1.60943791),
'σ_log__': array(3.91202301),
'ρ': array(5.),
'η': array(5.),
'σ': array(50.)}
Pymc v3: https://github.com/danhphan/gp_experiments/blob/main/examples/gp_salmon_pymc_v3.ipynb
{'ρ_log__': array(-7.95467461),
'η_log__': array(-31.66553291),
'σ_log__': array(3.96207137),
'ρ': array(0.00035102),
'η': array(1.76943166e-14),
'σ': array(52.56609719)}
Example 2: GP-Kron
PyMC V4: https://github.com/danhphan/gp_experiments/blob/main/examples/GP-Kron.ipynb
{'ls1_log__': array(0.),
'ls2_log__': array(0.),
'eta_log__': array(0.69314718),
'sigma_log__': array(0.69314718),
'ls1': array(1.),
'ls2': array(1.),
'eta': array(2.),
'sigma': array(2.)}
PyMC v3: https://github.com/pymc-devs/pymc-examples/blob/main/examples/gaussian_processes/GP-Kron.ipynb
{'ls1_log__': array(0.3382134),
'ls2_log__': array(0.00040654),
'eta_log__': array(0.9907769),
'sigma_log__': array(-1.39195968),
'ls1': array(1.40243975),
'ls2': array(1.00040662),
'eta': array(2.69332612),
'sigma': array(0.24858767)}
The detailed versions of main packages are printed at the end of each notebook. Thanks
- Python Version: 3.9
- Operating system: Ubuntu 20.04
- How did you install PyMC/PyMC3: (conda/pip) pip