Commit 64c1464
v4 refactor for GP module (#5055)
* np.int -> int, fix np DepricationWarning
* remove shape arg from non-kron implementations, TODO for is_observed in Marginal, mark for deprecation
* np.int -> int in gp/util.py
* force all mean_func, cov_func args to GP constructors to be required kwargs (often default zero mean_func is used)
* fix predictt functions, rename to _predict_at. because theano -> aesara
* fix TP tests, force mean_func, cov_func to be req kwarg
* fix TP reparameterization to sample studentt instead of chi2/norm
* change naming shape->size where appropriate
* add deprecation warning for is_observed
* add jitter arg for covs headed for cholesky decomps, previously fixed at 1e-6. add deprecation warning for is_observed arg
* clean up trivial aesara.function usage to .eval() instead
* fix gp.util.replace_with_values to handle case with no symbolic values, .eval() works
* jitter=0 for conditonals/predicts, fix replace_with_values calls
* fix more tests
- use model.logp instead of variable.logp
- set req kwargs cov_func and mean_func
- fix weirdly small scale on some input X, y
- move predict calls into model block
- the two kron models outstanding
* black stuff
* small fixes to get kronlatent and kronmarginal to pass
* remove leftover prints
* dep warning -> future warning
* roll back mkl and mkl-service version
* fix precommit
* remove old DeprecationWarning
* improve tests
cleanup gp.util.replace_with_values and add docstrings
* fix pre-commit issue
* fix precommit on cov.py
* fix comment
* dont force blas version in windows dev enviornment (roll back changes)
* update release notes
* add removed ... line from release notes
* add link to PR
* remove is_observed usage from TestMarginalVsLatent
* remove is_observed usage from TestMarginalVsMarginalSparse
* Update RELEASE-NOTES.md
Co-authored-by: Thomas Wiecki <thomas.wiecki@gmail.com>1 parent d74537c commit 64c1464
File tree
6 files changed
+498
-329
lines changed- conda-envs
- pymc
- gp
- tests
6 files changed
+498
-329
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
48 | 56 | | |
49 | 57 | | |
50 | | - | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
0 commit comments