Skip to content
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

Unable to change default parameters In location choice estimation component models. #538

Closed
stefancoe opened this issue Feb 18, 2022 · 0 comments

Comments

@stefancoe
Copy link
Contributor

@jpn-- In the auto ownership component model, I can pass in parameters like the edb_directory like so:
model, data = component_model(modelname, return_data=True, edb_directory = 'C:\output3\estimation_data_bundle\auto_ownership')

But I don't think this is possible for the location choice models like school location because the parameters are not exposed in the component model functions:
https://github.com/ActivitySim/activitysim/blob/master/activitysim/estimation/larch/location_choice.py#L297

They are available in the location_choice_model function, so could be made available to each component model:
https://github.com/ActivitySim/activitysim/blob/master/activitysim/estimation/larch/location_choice.py#L35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant