Comments (2)
I dealt with the IndexError (commit 9988ebb), but the gradient assertion does not appear to fare well:
======================================================================
FAIL: test_gradients (pymc.tests.test_gradients.test_gradients)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/fonnescj/Code/pymc/pymc/tests/test_gradients.py", line 291, in test_gradients
check_gradients(gamma)
File "/Users/fonnescj/Code/pymc/pymc/tests/test_gradients.py", line 112, in check_gradients
" is not correct.")
File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_730b861_20110815-py2.7-macosx-10.7-x86_64.egg/numpy/testing/utils.py", line 799, in assert_array_almost_equal
header=('Arrays are not almost equal to %d decimals' % decimal))
File "/Library/Python/2.7/site-packages/numpy-2.0.0.dev_730b861_20110815-py2.7-macosx-10.7-x86_64.egg/numpy/testing/utils.py", line 635, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not almost equal to 4 decimals
analytic gradient for gamma with respect to parameter a is not correct.
(mismatch 100.0%)
x: array([-0.96673602, -1.41302081, -2.3154314 , -2.84824608, -1.73328374])
y: array([-0.54395252, -0.99024297, -1.89264995, -2.42546566, -1.31050626])
from pymc.
This error seems to have gone away.
from pymc.
Related Issues (20)
- DOC: Clarify shape vs size HOT 4
- Extend support to Python 3.12 HOT 2
- Allow partial imputation with `pm.observe`
- BUG: `pm.sample_posterior_predictive` discards new results when `extend_inferencedata=True` and `posterior_predictive` group already exists HOT 2
- `pymc.testing` attempts to import `pytest` but `pytest` is not in `pymc` install requirements HOT 2
- BUG: Generation of random draws from Weibull returns constant values HOT 2
- Add a helper `pm.compute_deterministics` to compute any deterministics on demand
- DOC: typos in example code for pymc.CustomDist HOT 1
- BUG: `pymc.sample_smc` fails with `pymc.CustomDist` HOT 2
- BUG: pymc import fails with `scipy==1.13.0` HOT 5
- Release workflow is still running on Python 3.7
- BUG: HSGP making wrong out-of-sample predictions when X domain changes
- pymc.gp.util.stabilize is broken HOT 1
- The behavior of `.squeeze()` is different between `shape=(...)` and `dims=(...)`. HOT 6
- Move CustomDist logic to its own file
- `pt.max` is not differentiable in PyMC models HOT 8
- Explain the role of Deterministics in the docs
- Revert Temporarily pin Scipy in JAX job #7255
- Numpy emits spurious cast warning on discrete models with missing data HOT 1
- Unexpected behavior with `pm.sample(var_names=...)` HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymc.