Closed brunoguindani closed 2 years ago
Moreover, there's one more thing to discuss. In
BaseHierarchy
we haveget_posterior_hypers()
which is a simple getter, while in individual derived hierarchies we haveget_posterior_parameters()
, which also returns posterior hypers but after computing them in a posterior update. Should we renameget_posterior_parameters()
? Maybe tocompute_posterior_hypers()
?
Yes this sounds a good name!!
I should be done :)
I feel that code-changing cleanup, which is not merely adding docstrings and switching functions around, however small, deservs its own pull request. Besides updated docstrings, formatting, and function order, changes fall in one of the following categories, mainly affecting hierarchies:
const
s andoverride
s and whatnot.Moreover, there's one more thing to discuss. In
BaseHierarchy
we haveget_posterior_hypers()
which is a simple getter, while in individual derived hierarchies we haveget_posterior_parameters()
, which also returns posterior hypers but after computing them in a posterior update. Should we renameget_posterior_parameters()
? Maybe tocompute_posterior_hypers()
?EDIT: Whoops, I just read your hierarchy README. There was a reason for some methods not to be virtual after all. I'll revert back some changes.