-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UrbanSim using outdated version of Patsy #169
Comments
@apdjustino I know it's been a while, but do you remember if the segmented MNL model was indeed breaking on v0.4.0, or were you maybe on an earlier version? I'm able to reproduce this error on Patsy v0.2.1 (which urbansim currently requires, so it's clear we need to bump the required version), but for me the issue is resolved upon upgrading to v0.3.0. |
We're going to update the Patsy required version to |
Addressed with #195. |
Reopening this as @sablanchard found a similar bug. We should likely bump required version of Patsy all the way up to
|
Resolved in PR #225. |
I discovered this error while trying to fit a SegmentedMNLDiscreteChoiceModel. Patsy throws an error when creating the dmatrix. Looking into it I found that the author of Patsy fixed this when upgrading Patsy from v.0.4.0 to v0.4.1
I upgraded Patsy and this corrected the error. I don't know if the latest UrbanSim release bundles Patsy 0.4.1, but it will need the newer version of the package to fit models.
The text was updated successfully, but these errors were encountered: