-
Notifications
You must be signed in to change notification settings - Fork 99
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
Missing model_settings arguments for estimator #650
Comments
bwentl
added a commit
to TransLinkForecasting/conda_env
that referenced
this issue
Feb 8, 2023
see issues related to this fix here TransLinkForecasting/abm#57 ActivitySim/activitysim#650
This was referenced Feb 8, 2023
Looks like the fix is now merged. Closing this issue. Thanks! - Bo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In transit_pass_ownership, transit_pass_subsidy, telecommute_frequency, and work_from_home,
model_settings
is not included in the call forestimator.write_coefficients
. This results in an AssertionError when running these models with estimation mode enabled.activitysim/activitysim/abm/models/transit_pass_ownership.py
Line 54 in d0776af
activitysim/activitysim/abm/models/transit_pass_subsidy.py
Line 54 in d0776af
activitysim/activitysim/abm/models/telecommute_frequency.py
Line 60 in d0776af
activitysim/activitysim/abm/models/work_from_home.py
Line 61 in d0776af
Error traceback with activitysim v1.2.0:
The fix should be quite simple by adding
model_settings
to calls withestimator.write_coefficients
. For example, this error does not occur for auto_ownership ifestimator.write_coefficients
is used properly:activitysim/activitysim/abm/models/auto_ownership.py
Line 38 in d0776af
The text was updated successfully, but these errors were encountered: