-
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
[0.1.dev17] latest updates to segmented MNL #61
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Some comments:
-
Should add docstrings for
LargeMultinomialLogitStep.run()
explaining thatchooser_batch_size
will be passed through toiterative_lottery_choices()
, and is a temporary solution that will eventually be replaced by a class parameter/setting (i can take care of it with issue Settings objects for groups of common parameters #54). -
In the same place, instead of adding an
interaction_terms
argument, would you want to just accept a customMergedChoiceTable
like is done higher up in thefit()
method? This is more flexible, but i guess might be more work for the user. Either one would be temporary -- issue Settings objects for groups of common parameters #54 will include a solution for orca to manage interaction terms. -
Can you bump the version number in
setup.py
and the top-level__init__.py
? The current master branch is 0.1.dev16, so you can make this dev17. I'll wait to merge the other open PR, and can change it to dev18.
The tests look good and all pass on my machine.
I like your temporary solution for printing the segment name. Ok if i wait to implement the full solution from issue #59? We can leave it open so i don't forget.
Thanks for the notes Sam. Here are my answers:
Also, yes, sorry, I actually didn't mean to commit the segment name printing change to the code so I'm happy to ignore it. |
|
And thanks for the changes! Looks great to merge. |
this PR addresses: