You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following info attribute is used to show the starting point of an initializer:
def info_from_model(self, model : AbstractPriorModel) -> str:
"""
Returns a string showing the bounds of the parameters in the initializer.
"""
info = "Total Free Parameters = " + str(model.prior_count) + "\n"
info += "Total Starting Points = " + str(len(self.parameter_dict)) + "\n\n"
for prior in model.priors_ordered_by_id:
key = ".".join(model.path_for_prior(prior))
try:
value = self.info_value_from(self.parameter_dict[prior])
info += f"{key}: Start[{value}]\n"
except KeyError:
info += f"{key} : {prior})\n"
return info
The following
info
attribute is used to show the starting point of an initializer:It appears as follows:
This API is not as nice as how the same
model.info
appears, lacking the whitespace and indenting:Can you update the method
model_info_from
so it appears like themodel.info
, so something liek:The text was updated successfully, but these errors were encountered: