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
Found a better way actually, since the fit function in the Regression Model in urbansim_templates uses the model_fit from urbansim.models, which at the same time, uses the statsmodels.regression.linear_model.OLSResults we can get the residuals from the fit object like the urbansim.models does here : https://github.com/UDST/urbansim/blob/master/urbansim/models/regression.py#L344.
So, I would suggest the following two lines to solve this:
From @cvanoli:
The text was updated successfully, but these errors were encountered: