A benchmarking sandbox for mode choice models
Project description
Mode Choice Benchmarking Sandbox (MCBS)
A Python package for benchmarking discrete choice models for transportation mode choice analysis.
Installation
You can install MCBS using pip:
pip install mcbs
Quick Start
from mcbs.benchmarking import Benchmark
from mcbs.datasets import DatasetLoader
# Load a dataset
benchmark = Benchmark("swissmetro_dataset")
# Define your models
models = {
"MNL - Base Model": your_model_function
}
# Run benchmark
results = benchmark.run(models)
# Compare results
benchmark.compare_results(results)
Features
- Easy access to transportation mode choice datasets
- Standardized benchmarking metrics
- Support for Biogeme model estimation
- Visualization of benchmark results
Datasets
Currently available datasets:
- Swissmetro
- London Transport
- Mode Canada
Requirements
- Python >=3.8
- NumPy >=2.0.0
- Pandas >=2.0.0
- Biogeme >=3.2.14
- Matplotlib >=3.0.0
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
We welcome contributions! Please see our contributing guidelines for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcbs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcbs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bd2ed1ad5efd152c20869f1f07a2e1ea9b88721f940afda865959c58a34f600
|
|
| MD5 |
9e11c81a34a306c075fb959e882529cf
|
|
| BLAKE2b-256 |
687d532666d25a9f4a129d21a604713413f152ff84ccc3991cf6a8d31be0dd7e
|