Closed tim-mcwilliams closed 11 months ago
When you say buc.py, are you talking about the version online or your local version? This function was introduced on June 12, 2023.
You may have to update your version of the package.
From: Tim McWilliams @.> Sent: Tuesday, September 26, 2023 11:29:46 AM To: devindg/pybuc @.> Cc: devindg @.>; Mention @.> Subject: [devindg/pybuc] plot_trace not working??? (Issue #59)
Hi again, @devindghttps://github.com/devindg !!
Running through some model iterations and wanted to see what the trace plots are looking like. I saw in buc.py that there is a function for plot_trace, but when trying to implement its throwing an error.
bayes_uc.plot_trace(burn=mcmc_burn) plt.show()
Gives
AttributeError Traceback (most recent call last) Cell In[275], line 2 1 # Plot trace of posterior ----> 2 bayes_uc.plot_trace(burn=mcmc_burn) 3 plt.show()
AttributeError: 'BayesianUnobservedComponents' object has no attribute 'plot_trace'
— Reply to this email directly, view it on GitHubhttps://github.com/devindg/pybuc/issues/59, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIQFZS45LWJ4VC4KOMWHCLLX4L7HVANCNFSM6AAAAAA5IADYTY. You are receiving this because you were mentioned.Message ID: @.***>
ahh ok, will update the version then. thanks!
Hi again, @devindg !!
Running through some model iterations and wanted to see what the trace plots are looking like. I saw in
buc.py
that there is a function forplot_trace
, but when trying to implement its throwing an error.Gives