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

Where is development happening? #1

Open
Eh2406 opened this Issue Nov 7, 2016 · 7 comments

Comments

Projects
None yet
5 participants
@Eh2406

Eh2406 commented Nov 7, 2016

Hi, how can we get involved. We need to build a household choice model soon and are happy to help. Where is development happening? Where is it being discussed?

cc: @smmaurer @semcogli

@waddell

This comment has been minimized.

Show comment
Hide comment
@waddell

waddell Nov 7, 2016

Member

Hi, glad to know you're ready to help. Most of the discussion is happening in person with @smmaurer and @timothyb0912 and Feras at Berkeley, and we're in the process of planning the addition of sampling methods to support location choice models now -- trying to get that done in the next month or so. Hoping to have an example for using this from orca/urbansim not long after that. We'll try to make more of the issues/roadmap visible as github issues, to make it more transparent going forward. But it is still in a formative stage right now.

Member

waddell commented Nov 7, 2016

Hi, glad to know you're ready to help. Most of the discussion is happening in person with @smmaurer and @timothyb0912 and Feras at Berkeley, and we're in the process of planning the addition of sampling methods to support location choice models now -- trying to get that done in the next month or so. Hoping to have an example for using this from orca/urbansim not long after that. We'll try to make more of the issues/roadmap visible as github issues, to make it more transparent going forward. But it is still in a formative stage right now.

@waddell

This comment has been minimized.

Show comment
Hide comment
@waddell

waddell Nov 7, 2016

Member

What kind of choice model are you planning to build?

Member

waddell commented Nov 7, 2016

What kind of choice model are you planning to build?

@Eh2406

This comment has been minimized.

Show comment
Hide comment
@Eh2406

Eh2406 Nov 7, 2016

I believe we are building a household choose model, but I am new so @semcogli can give you more details.

In person is fast. I get how in the formative stage speed is important. When you have time to slow down, we are hear to work together on it.

Eh2406 commented Nov 7, 2016

I believe we are building a household choose model, but I am new so @semcogli can give you more details.

In person is fast. I get how in the formative stage speed is important. When you have time to slow down, we are hear to work together on it.

@waddell

This comment has been minimized.

Show comment
Hide comment
@waddell

waddell Nov 7, 2016

Member

Sounds good. I'll close this for now and we'll be forking the UAL branch to UDST as soon as we can, at which point issues will be easier to engage with.

Member

waddell commented Nov 7, 2016

Sounds good. I'll close this for now and we'll be forking the UAL branch to UDST as soon as we can, at which point issues will be easier to engage with.

@waddell waddell closed this Nov 7, 2016

@semcogli

This comment has been minimized.

Show comment
Hide comment
@semcogli

semcogli Nov 8, 2016

@Eh2406 Paul and others,

As Jacob said, we are looking forward to building HH location choice model for the new forecast. And we would like to test out this new model. From the user conference presentation, it looks like pylogit can handle estimation if the choice sample is random but is still not ready for more complicated situation, such as sampling housing units from buildings, which may have one or more units. I assume the sampling method you are working on will include this? Anyway, it will be our pleasure to test this new model and integrate it in our forecast work.

@Eh2406 @smmaurer

semcogli commented Nov 8, 2016

@Eh2406 Paul and others,

As Jacob said, we are looking forward to building HH location choice model for the new forecast. And we would like to test out this new model. From the user conference presentation, it looks like pylogit can handle estimation if the choice sample is random but is still not ready for more complicated situation, such as sampling housing units from buildings, which may have one or more units. I assume the sampling method you are working on will include this? Anyway, it will be our pleasure to test this new model and integrate it in our forecast work.

@Eh2406 @smmaurer

@smmaurer

This comment has been minimized.

Show comment
Hide comment
@smmaurer

smmaurer Nov 16, 2016

Member

Hi, I wanted to add some information here.

The core estimation libraries that are going into ChoiceModels are in good shape, and for now you can find them at timothyb0912/pylogit and ual/lccm.

ChoiceModels will add optimizations for large choice sets and sampling of alternatives, and have an API that's more similar to Statsmodels. That work is happening in the ual/choicemodels fork, but it's still early in development.

@Eh2406 @semcogli In the meantime, the UrbanSim library already has a module that works well for household location choice with random sampling of alternatives. It's the MNLDiscreteChoiceModel class in urbansim.models, and there are usage examples in MTC's Bay Area UrbanSim repo and other places.

Hope this helps!

Member

smmaurer commented Nov 16, 2016

Hi, I wanted to add some information here.

The core estimation libraries that are going into ChoiceModels are in good shape, and for now you can find them at timothyb0912/pylogit and ual/lccm.

ChoiceModels will add optimizations for large choice sets and sampling of alternatives, and have an API that's more similar to Statsmodels. That work is happening in the ual/choicemodels fork, but it's still early in development.

@Eh2406 @semcogli In the meantime, the UrbanSim library already has a module that works well for household location choice with random sampling of alternatives. It's the MNLDiscreteChoiceModel class in urbansim.models, and there are usage examples in MTC's Bay Area UrbanSim repo and other places.

Hope this helps!

@smmaurer smmaurer reopened this Nov 16, 2016

@bridwell

This comment has been minimized.

Show comment
Hide comment
@bridwell

bridwell Nov 18, 2016

I'm not sure if this helps, or how to best collaborate, but we've done a fair amount of work on the prediction/simulation side, specifically in regard to sampling of alternatives when the alternatives have capacities (I don't believe this is supported in the Urbansim DCM at this time). The typical use case is for a household location choice model with household variables such as income as well as building variables such as price. The constraint here would be the number of vacant units.

This is still going through some refactoring and re-development, but see:
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/choice.py#L491
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/tests/test_choice.py#L146

This notebook demonstrates the usage and does some stress testing for a super trivial example:
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/notebooks/choice_with_sampling_testing.ipynb

bridwell commented Nov 18, 2016

I'm not sure if this helps, or how to best collaborate, but we've done a fair amount of work on the prediction/simulation side, specifically in regard to sampling of alternatives when the alternatives have capacities (I don't believe this is supported in the Urbansim DCM at this time). The typical use case is for a household location choice model with household variables such as income as well as building variables such as price. The constraint here would be the number of vacant units.

This is still going through some refactoring and re-development, but see:
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/choice.py#L491
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/tests/test_choice.py#L146

This notebook demonstrates the usage and does some stress testing for a super trivial example:
https://github.com/AZMAG/smartpy_core/blob/master/smartpy_core/notebooks/choice_with_sampling_testing.ipynb

smmaurer added a commit that referenced this issue Jun 28, 2017

Merge pull request #1 from ual/smmaurer
Adding demo notebooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment