-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSG does not work with multivariate target #3233
Comments
cc @ferrine |
cc @shkr |
Investigating the issue. |
@konstmish I am working on an example notebook with multi variate CSG, I had started working on this, but stopped midway. Just getting back on track. |
Ping @shkr |
CSG is now moved to pymc3-experimental. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of your problem
Please provide a minimal, self-contained, and reproducible example.
Please provide the full traceback.
Please provide any additional information below.
I made the target 2-dimensional and added covariance matrix to the likelihood. The rest is mainly taken from the CSG example (https://docs.pymc.io/notebooks/constant_stochastic_gradient.html). Note that everything works perfectly with 1-D target. If I change use_csg to False, then the nuts sampler is used and chains do not fail, so the issue seems to be in CSG. It also breaks with: 3 targets; init='advi+adapt_diag'; two independent likelihoods for each target. If two likelihoods are used, the error is different, "DisconnectedInputError:". However, it works if we use a simpler covariance matrix:
We really hope that we will be able to use CSG as for 1-D target it's orders of magnitude faster.
Versions and main components
The text was updated successfully, but these errors were encountered: