How can I plot the result of distributions from two models with the same sample on the same figure? #103
-
|
Hi folks, I'm using two gddm models with slightly different parameters to fit my data, and i want to compare their performance by visualising the distribution on the same figure, but I don't know how to do it. I want to look into the function plot_fit_diagnostics, but it's empty for me (https://pyddm.readthedocs.io/en/stable/apidoc/plotting.html) like the pic attached below. How can I put distributions of two models on the same plot? I'm expecting something like this (I manually drew the green line but let me know if it's unclear to you) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Thanks for pointing out that the documentation here was empty, this was a problem with the documentation build server should be fixed now! https://pyddm.readthedocs.io/en/latest/apidoc/plotting.html You'll have to write the function you want since it does not exist, but a good place to start is plot_fit_diagnostics. |
Beta Was this translation helpful? Give feedback.
-
|
Were you able to figure out how to write the function? As of now nothing has worked for me |
Beta Was this translation helpful? Give feedback.


Thanks for pointing out that the documentation here was empty, this was a problem with the documentation build server should be fixed now!
https://pyddm.readthedocs.io/en/latest/apidoc/plotting.html
You'll have to write the function you want since it does not exist, but a good place to start is plot_fit_diagnostics.