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)
- BUG: NaNs in logp mess up resampling step in SMC HOT 6
- BUG: Slicing after adstock transformation not working HOT 3
- Implement `Ordered` distribution factory HOT 6
- Add PyArrow backend
- Runtime error windows. Anaconda HOT 1
- BUG: NotConstantValueError when using coordinates observed data with missing values with pymc==5.14.0 HOT 3
- BUG: passing the 'max_n_steps' parameter as kwarg to HurdleNegativeBinomial distribution does not work HOT 2
- Refactor/Upgrade `find_MAP` HOT 1
- ENH: Update reported sampler diagnostics for `pm.Slice()` step method HOT 2
- BUG: Adding a Deterministic results in the error: `All variables needed to compute inner-graph must be provided as inputs under strict=True` HOT 8
- Test `freeze_rv_and_dims` with `PartiallyObservedRV` HOT 1
- ENH: Customizable plate labels HOT 11
- First time congratulatory message images are huge HOT 8
- DOC: Plots squished in the documentation page HOT 2
- Problematic casting of integers in `convert_observed_data`
- ENH: Get sampling working using Apple Silicon GPU via jax backend HOT 32
- DOC: conflicting `fixed_params` type-hint in `find_constrained_prior` HOT 1
- ENH: Support foward sampling via JAX HOT 7
- ConnectionResetError from multiprocess sampling
- BUG: Repeated predictions from GP grow steadily slower (pytensor cache issue?) HOT 1
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.