Commit 1a94629
Estimation Enhancements (#917)
* multiprocess initial commit
* blacken
* parquet format for EDBs
* adding pkl, fixing edb concat and write
* fixing double naming of coefficient files
* blacken
* fixing missing cdap coefficients file, write pickle function
* combact edb writing, index duplication, parquet datatypes
* sorting dest choice bundles
* adding coalesce edbs as its own step
* CI testing initial commit
* infer.py CI testing
* estimation sampling for non-mandatory and joint tours
* adding survey choice to choices_df in interaction_sample
* adding option to delete the mp edb subdirs
* changes supporting sandag abm3 estimation mode
* running test sandag example through trip dest sample
* Estimation Pydantic (#2)
* pydantic for estimation settings
* allow df as type in config
* fix table_info
* repair for Pydantic
* df is attribute
* Estimation settings pydantic update
* new compact formatting
* handling multiple columns for parquet write
* dropping duplicate columns
* actually removing duplicate columns
* dfs with correct indexes and correct mp sorting
* ignore index on sort for mp coalesce edbs
* updating estimation checks to allow for non-zero household_sample_size
* Re-estimation (#3)
* 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 (#893)
* setting necessary filesystem changes from settings file
* set for multiprocessing
* repair github actions
* github action updates (#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 <[email protected]>
* Removing estimation.yaml settings that are no longer needed
* fixing unit tests, setting parquet edb default
* one more missed estimation.yaml
* using df.items for pandas 2 compatibility
* tidy doc
* updating edb file name for NMTF
* updating numba and pandas in the conda env files
* Improve test stability (#4)
* handle dev versions of Larch
* test stability
* pin multimethod < 2.0
* add availability_expression
* starting est docs
* Resolve package version conflicts (#923)
* limit multimethod version to 2.0 and earlier
* add multimethod version to other settings
* [makedocs] update installer download link
* [makedocs] update branch docs
* GitHub Actions updates (#926)
* use libmamba solver
* add permissions [makedocs]
* add write permission for dev docs [makedocs]
* conda-solver: classic
* trace proto tables if available, otherwise synthetic population (#901)
Co-authored-by: Jeffrey Newman <[email protected]>
* release instructions (#927)
* use libmamba solver
* add permissions [makedocs]
* add write permission for dev docs [makedocs]
* conda-solver: classic
* include workflow dispatch option for tests
* update release instructions
* add installer build to instructions
* Pin mamba for now, per conda-incubator/setup-miniconda#392
* conda-remove-defaults
* when no unavailability parameters are included
* some general estimation docs
* Use pandas 2 for docbuild environment (#928)
* fix link
* allow failure to import larch
* workflow
* blacken
* try some pins
* speed up docbuild
* use pandas 2 for docs
* oops wrong file
* restore foundation
* Update HOW_TO_RELEASE.md
* refactor(shadow_pricing.py): remove a duplicated `default_segment_to_name_dict` (#930)
* fix typo
* fixing disaggregate accessibility bug in zone sampler
* Revert "fixing disaggregate accessibility bug in zone sampler"
This reverts commit be5d093.
* notes on size terms
* clean up docbuild
* fix version check
* add some doc
* tidy
* estimation docs
* more on alternative avail
* model evaluation
* add doc on component_model
* documentation enhancements
* larch6 is now larch>6
* branch docs on workflow_dispatch
* missing doc section on model respec
---------
Co-authored-by: Yue Shuai <[email protected]>
Co-authored-by: David Hensle <[email protected]>
Co-authored-by: amarin <[email protected]>
Co-authored-by: Ali Etezady <[email protected]>
Co-authored-by: Sijia Wang <[email protected]>
* handling missing data or availability conditions
* add docs on locking size terms
* include constants in CDAP
* bump larch requirement
* require larch 6.0.40
* add xlsxwriter to envs
* require larch 6.0.41
* add links
* fix typos and formatting
* cdap hh and per parquet read match csv
* add missing x_validator for mode choice and nonmand tour freq
* add tour mode choice edit example
* add to docs
* union not addition on sets
* restore nb kernel
* blacken
* replacing conda with uv in estimation tests
* add requests to github-action dependencies
* running with created virtual env instead
* Fix estimation notebook tests (#8)
* Update scheduling.py
---------
Co-authored-by: Jeffrey Newman <[email protected]>
Co-authored-by: Yue Shuai <[email protected]>
Co-authored-by: amarin <[email protected]>
Co-authored-by: Ali Etezady <[email protected]>
Co-authored-by: Sijia Wang <[email protected]>1 parent 10f8f44 commit 1a94629
File tree
161 files changed
+68669
-42774
lines changed- .github/workflows
- activitysim
- abm/models
- util
- cli
- core
- configuration
- steps
- estimation
- larch
- test
- test_edb_creation
- configs_estimation
- outputs
- infer_output
- survey_data
- test_larch_estimation
- examples
- example_estimation
- configs_estimation
- configs
- notebooks
- scripts
- placeholder_psrc/configs
- prototype_mtc/configs
- prototype_sandag_xborder/configs
- conda-environments
- docs
- dev-guide
- users-guide
- estimation-mode
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
161 files changed
+68669
-42774
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
324 | 401 | | |
325 | 402 | | |
326 | 403 | | |
| |||
397 | 474 | | |
398 | 475 | | |
399 | 476 | | |
400 | | - | |
| 477 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
772 | 773 | | |
773 | 774 | | |
774 | 775 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
| 199 | + | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
202 | 205 | | |
203 | 206 | | |
204 | | - | |
| 207 | + | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
143 | | - | |
| 142 | + | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
| |||
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
426 | | - | |
| 425 | + | |
427 | 426 | | |
428 | 427 | | |
429 | 428 | | |
| |||
512 | 511 | | |
513 | 512 | | |
514 | 513 | | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | 514 | | |
548 | 515 | | |
549 | 516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
293 | 297 | | |
294 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
295 | 301 | | |
296 | 302 | | |
297 | 303 | | |
298 | 304 | | |
299 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
300 | 308 | | |
301 | 309 | | |
302 | 310 | | |
| |||
435 | 443 | | |
436 | 444 | | |
437 | 445 | | |
| 446 | + | |
438 | 447 | | |
439 | | - | |
| 448 | + | |
| 449 | + | |
440 | 450 | | |
441 | 451 | | |
442 | 452 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| |||
265 | 271 | | |
266 | 272 | | |
267 | 273 | | |
268 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
269 | 279 | | |
270 | 280 | | |
271 | 281 | | |
| |||
0 commit comments