-
Notifications
You must be signed in to change notification settings - Fork 118
Description
- Consolidated Improve Estimation Functionality (Improve Estimation Functionality #737) with this issue
- Consolidated Complete Estimation Mode for Trip Models (Complete Estimation Mode for Trip Models #726) with this issue
Estimation Mode Refinement
The current Estimation Mode features of ActivitySim are very much built in the spirit of similar functionality in DaySim: updated observed (survey) data can be fed into the process, and the combination of ActivitySim and Larch can work together somewhat automatically to generate updated parameter estimates. The tools that have been built allow Larch to construct a model that exactly mirrors the defined model in ActivitySim, re-estimate model parameters, and output ActivitySim coefficient files with new parameter estimates that can be used as a drop-in replacement for the existing coefficient files.
However, this tight integration breaks down when the user wants to update not only the coefficient values but also the functional form of utility equations. This leaves the user with two choices: (a) returning to ActivitySim for every tiny change to the specification files and re-running the entire estimation mode process, or (b) editing the utility equations in Larch while exploring different functional forms, and then needing to reconstruct matching specification files later in ActivitySim once the desired function form is selected. The former solution is tedious and slow, while the latter solution is error prone and requires fairly expert level understanding of the usage of both ActivitySim and Larch.
The goals of this task would be to more tightly integrate Larch and ActivitySim, to achieve (1) allowing users to move between these tools using a common utility specification format, (2) to speed up the generation of data to support revisions to utility functional forms, especially for large data bundles (i.e. destination and scheduling components, possibly by sampling), (3) to extend and enhance the documentation of the estimation process, and (4) improve error handling.
Improve Estimation Functionality
ActivitySim currently uses the Larch software to estimate models, which allows estimation results to be used directly by the simulation — dramatically reducing errors common in translating utility expressions into the ActivitySim specification. In version 1.5, numerous improvements are made to the estimation procedures including reducing the size of the estimation data bundles, increasing the speed at which they can be estimated, improving the reporting and error messaging capabilities of Larch, and improving the usability of the coefficient files created by the ActivitySim procedures. Further, an auditing will be done to confirm that the estimation procedures for each ActivitySim component are working as expected.
Complete Estimation Mode for Trip Models
Fully implement estimation mode for all submodels. Seem like we are going to get close in phase 5, but may not be totally complete.
Additional Description:
- Purpose: Finish estimation integration which is targeted to all agencies
- Create and clean-up example survey files for trips
- Add trip models to infer module
- Implement estimators for trip models
- Implement a larch estimation notebook for trip destination and mode choice
- Add tests and documentation
- Additional tidying up of estimation integration as budget allows
Metadata
Metadata
Assignees
Labels
Type
Projects
Status