Skip to content

yuki-oyama/prism-rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prism-constrained Recursive Logit Model

Python code for the estimation of a prism-constrained recursive logit (Prism-RL) model.

Paper

For more details, please see the paper

Oyama, Y. (2023) Capturing positive network attributes during the estimation of recursive logit models: A prism-based approach. Transportation Research Part C: Emerging Technologies 147, 104014.

If you find this code useful, please cite the paper:

@article{oyama2023prism,
  title={Capturing positive network attributes during the estimation of recursive logit models: A prism-based approach},
  author={Oyama, Yuki},
  journal={Transportation Research Part C: Emerging Technologies},
  volume={147},
  pages={104014},
  year={2023},
  publisher={Elsevier}
}

Quick Start

Estimate a Prism-RL model using synthetic observations in the Sioux Falls network.

python run_estimation.py --rl True --prism True --n_samples 1 --test_ratio 0

For cross-validation, split the data into estimation and validation samples by setting test ratio greater than zero.

python run_estimation.py --rl True --prism True --n_samples 10 --test_ratio 0.2

About

Prism-constrained recursive logit model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages