New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mcbs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcbs

A benchmarking sandbox for mode choice models

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc