Closed TTitscher closed 3 years ago
As mentioned in one comment, I changed the latent definition such that we now need to provide the parameter_list directly instead of this (maybe) confusing key. That now looks like this
@joergfunger Do you want to have a look at it again? I have no hurry in merging this.
InferenceProblem
as main way to interact with inference algorithmsMultiModelError
which was used as such an interface, but was misleading in cases where there was only one model errorVariationalBayesProblem
that only accepts normal distributions for the parameter prior and gamma distributions for the noise precisionNoiseModel
that extracts terms of the model error and either builds a vector for VB or a log-likelihood termvariational_bayes
to work with a list of vectors where the length of this list corresponds to the number of noise termsLatentParameter
with lengthN
andstart_idx
and multipleLatentParameter
are collected in theLatentParameters
dict, where the key is a latent name (instead of access via index)VariationalBayesProblem
to samplingbayes.vb.Gamma
to only contain a single gamma distribution.variational_bayes
now needs a list ofbayes.vb.Gamma
for multiple noise groups