-
Notifications
You must be signed in to change notification settings - Fork 100
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
Discrete Choice Model Capabilities #3
Comments
I've opened UDST/urbansim#134 with the changes to support more general discrete choice modeling in urbansim. |
Is there any reason not to merge the DCM branch on UrbanSim and close this issue? I do use the changes in the MNL interaction in activitysim so it would be handy to depend on master rather than depending on the dcm branch. |
Yeah if you're using it let's merge it. I wasn't sure if any of the changes were actually being used. |
Sounds good - merge away! |
* move other resources into folder since examples now part of package as well * Add new skim lookups for the TNC bridge tolls return charges below. - odr - origin to destination reverse - dor - destination to origin reverse TNC revisions: - Update TNC bridge tolls so return charges are included - Added ride-hail single and taxi constants for trip mode choice within ride-hail tour mode choice - Reduced TNC wait time mean and sd slightly to in the highest density category - Turned on origin density index constant (already used for walk, bike and walk-transit modes) for TNC single and TNC shared * allow for a small number of stop locations within walking distance * updated tnc ascs from tm 1.5 run * add notebooks * add readme for notebooks folder * Interactive tutorial (#3) * Add verification jupyter notebook * add shapefile * code review * cleanup * update shapefile note Co-authored-by: Ben Stabler <bstabler@users.noreply.github.com> Co-authored-by: bstabler <benstabler@yahoo.com> * clean up folder setup * finish summaries notebook * updated getting started tutorial * continue work on the recipe book * estimation notebooks for larch (#19) * notebooks for auto ownership and workplace location estimation * minimally functional larch estimation mode notebooks includes auto ownership, workplace location, tour mode requires larch >= 5.3.7 * revised notebooks uses new EDB for tour_mode_choice * update example EDBs and estimation notebooks * Fix tour mode choice notebook (#20) Fill in missing values in values DataFrame * update notebook * update getting started notebook * more notebook updates * notebook for estimating school location (#21) * create two and three zone test data, see also https://github.com/ActivitySim/activitysim/wiki/Multiple-Zone-Systems-Design * update notebook markdown * after merge from develop, resolve conflicts, pycodestyle, and add header to school location notebook * small doc fix * update tests EXPECT_TOUR_COUNT * resolve conflict Co-authored-by: Blake <blake.rosenthal@rsginc.com> Co-authored-by: Jeffrey Newman <jeff@newman.me> Co-authored-by: Jeff Doyle <toliwaga@gmail.com>
simwrapper is on conda-forge now; remove pip install rules & docs
* CDAP estimation with joint component * fixing person_rank call
* pydantic for estimation settings * allow df as type in config * fix table_info * auto ownership * repair for pydantic * update for ruff * updated for simple models * repair for Pydantic * simple simulate and location choice * df is attribute * scheduling * stop freq * test locations * cdap * nonmand_and_joint_tour_dest_choice * nonmand_tour_freq * fix ci to stop using mamba * test updates * use larch6 from pip * use numba for stop freq * fix for pandas 1.5 * fix stop freq test for numba * Sharrow Cache Dir Setting (ActivitySim#893) * setting necessary filesystem changes from settings file * set for multiprocessing * repair github actions * github action updates (ActivitySim#903) * script to make data * unified script for making data * remove older * bug * doc note * load from parquet if available * add original alt ids to EDB output when using compact * fix MP race * script arg to skip to EDB * clean up CDAP and blacken * refactor model_estimation_table_types change to estimation_table_types, to avoid pydantic namespace clash * repair drop_dupes * blacken * location choice with compact * choice_def for compact * spec changes for simple-simulate * re-estimation demo for auto ownership * clean up status messages * change name to stop pydantic warnings * edit configs * default estimation sample size is same as regular sample size * allow location alts not in cv format * dummy zones for location choice * update scheduling model estimation * various cleanup * stop freq * tidy build script * update 02 school location for larger example * update notebook 04 * editable model re-estimation for location choice * fix test names * update notebooks * cdap print filenames as loading * notebook 07 * tests thru 07 * notebooks 08 09 * build the data first * runnable script * change larch version dependency * keep pandas<2 * notebooks 10 11 * notebook 12 * remove odd print * add matplotlib * notebook 13 14 * test all the notebooks * add xlsxwriter to tests * notebook 15 * CDAP revise model spec demo * notebook 16 * notebook 17 * longer timeout * notebook 18 * notebook 19 * notebook 20 * smaller notebook 15 * configurable est mode setup * notebook 21 * notebook 22 * config sample size in GA * notebook 23 * updates for larch and graphviz * change default to compact * compare model 03 * test updates * rename test targets * repair_av_zq * move doctor up * add another repair * oops --------- Co-authored-by: David Hensle <51132108+dhensle@users.noreply.github.com>
UrbanSim has location choice models, but they are somewhat specialized to their application in real estate modeling. (For example, the LCMs always remove choices from the alternatives pool once they have been chosen.) As a first step toward adding models to ActibitySim we're working to generalize the discrete choice classes in UrbanSim so that they can be reused here. You can follow my work in the dcm branch in UrbanSim.
Also related to this, we've added tests of UrbanSim's MNL implementation to make sure it matches R's mlogit package. You can see that work in UDST/urbansim#132.
The text was updated successfully, but these errors were encountered: