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
At the moment we have some silliness in the model equations because we are extracting information from pandas DataFrames. Ideally we'd be able to use dot indexing (ie attribute look up) so you can do
θ.logk
rather than
θ['logk'].values
The same thing applies to the designs which are also held in a pandas DataFrame. For example, we have to do this data['DA'].values rather than data.DA.
This is just unnecessary faff which makes the models less clear than they should be.
Ideas
One idea is that I'm not using Pandas properly.
Use numpy record arrays because they allow for dot indexing.
The text was updated successfully, but these errors were encountered:
At the moment we have some silliness in the model equations because we are extracting information from pandas DataFrames. Ideally we'd be able to use dot indexing (ie attribute look up) so you can do
rather than
The same thing applies to the designs which are also held in a pandas DataFrame. For example, we have to do this
data['DA'].values
rather thandata.DA
.This is just unnecessary faff which makes the models less clear than they should be.
Ideas
The text was updated successfully, but these errors were encountered: