-
Notifications
You must be signed in to change notification settings - Fork 101
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
Inference Tutorials of a Stochastic Differential Equation runs incorrectly #281
Comments
I've moved this issue since it is about https://turing.ml/dev/tutorials/10-bayesian-differential-equations/.
The core of this issue is that the Differential Equations tutorial is never evaluated in an automated job because it takes too long to do so. If it would be evaluated regularly, we could have spotted and fixed this issue earlier. The tutorials would be helped by having more computing power available, but efforts such as #280 have stalled. |
The tutorial was just updated yesterday (#296) and runs fine with the latest versions of Turing and DifferentialEquations (see https://turing.ml/dev/tutorials/10-bayesian-differential-equations/). It's part of our CI pipeline, and hence it should be easy to spot and fix regressions when e.g. updating Turing or DifferentialEquations in the future. |
Thanks for the update @devmotion I may have a small comment about this closed issue. It uses the original LV ode data (with gaussian noise) instead of the ensemble of SDE solutions generated in the previous cell. for i in 1:length(predicted)
data[:, i] ~ MvNormal(predicted[i], σ^2 * I)
end will fail with
|
Well, it was what I wanted to do. The model is written such that the observations are a single trajectory, and the noisy ODE data is one possibility. I viewed the ensembles of SDE solutions merely as an illustration of the SDE behaviour and the stochasticity. However, https://github.com/TuringLang/TuringTutorials/blob/0e1fa7a385037c59b4f00f0aa521680601472f53/tutorials/10-bayesian-differential-equations/10_bayesian-differential-equations.jmd#L371 indicates that possibly the intention of the original author was different and they wanted to use multiple trajectories instead. |
Yes, indeed that is what I think too. |
When I ran the tutorial SDE, I ended up with an error “DimensionMismatch("parent has 101 elements, which is incompatible with size (202,)")” ,Why is this?
![image](https://user-images.githubusercontent.com/67664965/146896282-99b61cc7-187d-416b-9831-984287c2af93.png)
The text was updated successfully, but these errors were encountered: