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
maybe it would help with the statistics, fitting, etc routines to have a 'model' class. this class would be like a function, but the parmeters of the model would be an attribute. this way you can be really strict about the function signatures. this also means you wouldn't need to constantly specify params=... in these fit functions. you instead would only have to pass model=... and the fit function would figure out the rest
The text was updated successfully, but these errors were encountered:
you may need to do something like have 'parameter' objects that inherit from np.array or something. then you could do checkType(params,parameter) along with making sure the signature only has one argument to enforce the function has a particular form.
maybe it would help with the statistics, fitting, etc routines to have a 'model' class. this class would be like a function, but the parmeters of the model would be an attribute. this way you can be really strict about the function signatures. this also means you wouldn't need to constantly specify params=... in these fit functions. you instead would only have to pass model=... and the fit function would figure out the rest
The text was updated successfully, but these errors were encountered: