-
Notifications
You must be signed in to change notification settings - Fork 13
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
Argument names #4
Comments
What about |
The "settings objects" proposed in issue #54 will provide a nice solution for the problem of coming up with clear parameter names. |
I'm taking a poll! Let me know if you have opinions about the following.
I want to add some new prediction functionality to the template model classes, and tweak a few argument names to make them clearer.
Currently, UrbanSim supports sending predicted values to a different column name than estimation values came from. I'm adding support to send them to a different table as well. This will make it easier to fit a model from empirical data (CL, CHTS, etc) while specifying from the outset that prediction will take place in a separate table of synthetic data. (Right-hand-side column names will probably need to be the same in the two tables.)
For parameters related to model fitting (in a simple case like binary logit or OLS), this gives us:
tables
model_expression
filters
? (replacingfit_filters
)And for prediction:
out_tables
out_column
(replacingout_fname
)out_transform
(replacingytransform
)out_filters
? (replacingpredict_filters
)I'm uncertain whether to rename
fit_filters
andpredict_filters
, which are already clear and descriptive names. My only complaint about them is that "fit" and "predict" can be misinterpreted as verbs, but they're meant as adjectives. Calling themfilters
andout_filters
would be more consistent with the other parameter names, though.Any thoughts about the names or the proposed functionality?
@janowicz @waddell @mxndrwgrdnr
The text was updated successfully, but these errors were encountered: