Commit graph

6035 commits

Author SHA1 Message Date
Martin Bubel
4685d10463 migrate minibatch_tests to pytest 2023-10-08 23:41:44 +02:00
Martin Bubel
4070fd68ff format on save 2023-10-08 23:29:28 +02:00
Martin Bubel
4d66d8b34f migrate meanfunc_test to pytest 2023-10-08 23:29:01 +02:00
Martin Bubel
3935b7203e format on save 2023-10-06 18:59:10 +02:00
Martin Bubel
c20a361179 migrate mapping_tests to pytest 2023-10-06 18:58:00 +02:00
Martin Bubel
618f35531d format on save 2023-10-06 18:56:50 +02:00
Martin Bubel
7340cf7f7f migrate link_function_tests to pytest 2023-10-06 18:56:26 +02:00
Martin Bubel
393f9938ea format on save 2023-10-06 18:52:02 +02:00
Martin Bubel
ef7d2f299c migrate linalg test to pytest 2023-10-06 18:51:48 +02:00
Martin Bubel
8af7c8286c format on save 2023-10-06 18:50:55 +02:00
Martin Bubel
58f61d5a5c migrate likelihood_tests to pytest 2023-10-06 18:50:21 +02:00
Martin Bubel
4df152048c format on save 2023-10-06 18:28:35 +02:00
Martin Bubel
b9df83a4d2 migrate kernel_tests to pytest 2023-10-06 08:54:48 +02:00
Martin Bubel
a02f4039fa format on save 2023-10-06 08:16:56 +02:00
Martin Bubel
03fcf7311d mirgrate inference_tests to pytest 2023-10-06 08:16:39 +02:00
Martin Bubel
0b92d3a57c format on save 2023-10-06 08:13:42 +02:00
Martin Bubel
779f31da9c migrate grid tests to pytest 2023-10-06 08:13:24 +02:00
Martin Bubel
2568201d1b format on save 2023-10-06 08:12:38 +02:00
Martin Bubel
6fcb9e48fd migrate gpy_kernsl-state_space_tests 2023-10-06 08:06:52 +02:00
Martin Bubel
d88ff47e37 format on save 2023-10-04 21:37:35 +02:00
Martin Bubel
d0c65eaa28 migrate gp_tests to pytest 2023-10-04 21:37:21 +02:00
Martin Bubel
9263f572eb format on save 2023-10-04 21:35:48 +02:00
Martin Bubel
59657bc49d migrate fitc to pytest 2023-10-04 21:35:09 +02:00
Martin Bubel
ba1c5d8b49 format on save 2023-10-04 21:25:16 +02:00
Martin Bubel
d82100278b migrate examples_tests to pytest 2023-10-04 21:24:08 +02:00
Martin Bubel
f48837e01d format on save 2023-10-04 21:16:50 +02:00
Martin Bubel
2eb237f656 update ep_likelihood_tests 2023-10-04 21:16:20 +02:00
Martin Bubel
4d41594e18 migrate ep_likelihood_test to pytest 2023-10-04 20:42:54 +02:00
Martin Bubel
1e5dd36bc7 format on save 2023-10-04 20:38:20 +02:00
Martin Bubel
4edfff6596 migrate cython test to pytest 2023-10-04 20:37:49 +02:00
Martin Bubel
1dc7e90cd9 format on save 2023-10-04 20:30:15 +02:00
Martin Bubel
c82ef3b3a1 update gitignore 2023-10-04 20:27:22 +02:00
Martin Bubel
279f8e83f1
Merge pull request #1017 from cycl0n3sab3r/devel
replace `np.int` with `np.int64`
2023-10-04 08:04:46 +02:00
Jeremy Sanders
c22b5294bf
Rerun with cython 0.29.35 to fix Python 3.11 compatibility issues (#1020) 2023-09-23 12:59:59 -04:00
mgranit
9c1db7aa34
Enhance multioutput grad obs (#995)
* multiplied RBF kernels can now be used with gradient observations

* standard periodic kernels can now be used with gradient observations

* predictive gradients (derivatives of posterior means and variances) can now be calculated when using gradient observations

* simplified and commented RBF & StdP kernel derivatives

* updated kernel slicing and commented prod kernel derivatives

* removed caching from stdp kern, as it breaks optimization for some reason

* fixed hyperparameter optimization for prod kernel

* improved code readability

* added unit tests for gradient observing MultioutputGP models

* added predictions check to unit tests

* bugfix for multioutput_kern

* improved testing coverage

* reduced size of some tests; led to an issue in an unrelated test

* updated testing

* added gradient MultioutputGP prod kernel example

* added keywords and plotting to example
2023-09-21 09:53:42 -04:00
KOLANICH
2c22f1e9c5
Fix the URLs in package metadata (#1005) 2023-09-21 09:48:38 -04:00
Demelza Robinson
5aae3cfc08
Merge pull request #1 from cycl0n3sab3r/cycl0n3sab3r-patch-1
Update plot_util.py
2023-05-26 09:34:56 +12:00
Demelza Robinson
d2bca8e1b5
Update plot_util.py
`np.int` has been deprecated, suggest changing to `np.int64`
2023-05-26 09:34:14 +12:00
Zhenwen Dai
9ec3e50e3b
Drop the Python 3.5 from the test env 2023-04-28 09:42:20 +01:00
Zhenwen Dai
54d87b3b5e
Drop the Python 3.5 from the test env 2023-04-28 09:41:43 +01:00
Zhenwen Dai
159695944a
bump the version 2023-04-21 17:46:25 +01:00
Zhenwen Dai
1d574f68b5
Merge branch 'deploy' into devel 2023-04-21 17:45:58 +01:00
Zhenwen Dai
8ddd14c75f
Bump the version 2023-04-21 17:39:13 +01:00
Zhenwen Dai
b9686fbeb4
Bump the version 2023-04-21 17:38:11 +01: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
KOLANICH
232b63121d Move the most of metadata into PEP 621-compliant pyproject.toml. 2023-02-13 01:06:52 +03:00
KOLANICH
1f34225fc8 Move the most of metadata into setup.cfg.
Add `pyproject.toml` according to PEP 517.
2023-02-13 00:53:29 +03:00
KOLANICH
68e5752503 Fix the URLs in package metadata 2023-02-12 22:30:11 +03:00
Noam Finkelstein
f63ed48b0d
Add error message for excess inducing points (#746)
The number of inducing points in the latent space defaults to 10, which creates an error if there are fewer than 10 conditions (i.e. output dimension is less than 10). Currently this error shows up somewhat opaquely. This fix makes the error explicit, which may save time for future developers.

The current error shown is:

```
~/code/anaconda/lib/python3.6/site-packages/GPy/inference/latent_function_inference/vardtc_svi_multiout_miss.py in inference_d(self, d, beta, Y, indexD, grad_dict, mid_res, uncertain_inputs_r, uncertain_inputs_c, Mr, Mc)
     82         LcInvPsi1_cT = dtrtrs(Lc, psi1_c.T)[0]
     83         LrInvPsi1_rT = dtrtrs(Lr, psi1_r.T)[0]
---> 84 
     85         tr_LrInvPsi2_rLrInvT_LrInvSrLrInvT = (LrInvPsi2_rLrInvT*LrInvSrLrInvT).sum()
     86         tr_LcInvPsi2_cLcInvT_LcInvScLcInvT = (LcInvPsi2_cLcInvT*LcInvScLcInvT).sum()

ValueError: operands could not be broadcast together with shapes (5,5) (6,6) 
```
2022-04-17 09:28:05 -07:00
Yixin Lin
0a9893e839
Fix rank>0 thread exiting during SparseGP multiprocessing (#731)
If you run mpiexec -n 2 on any code to try to use MPI multiprocessing for SparseGPRegression, it crashes (see #618) because the rank>1 processes do not have ret defined.
2022-04-17 09:25:17 -07:00