Skip to main content

Tools for discrete choice estimation

Project description

[![Build Status](https://travis-ci.org/UDST/choicemodels.svg?branch=master)](https://travis-ci.org/UDST/choicemodels) [![Coverage Status](https://coveralls.io/repos/github/UDST/choicemodels/badge.svg?branch=master)](https://coveralls.io/github/UDST/choicemodels?branch=master) [![Docs Status](https://readthedocs.org/projects/choicemodels/badge/?version=latest)](https://choicemodels.readthedocs.io)

# ChoiceModels

ChoiceModels is a Python library for discrete choice modeling, with utilities for sampling, simulation, and other ancillary tasks. It’s part of the [Urban Data Science Toolkit](https://docs.udst.org) (UDST).

### Features

The library currently focuses on tools to help integrate discrete choice models into larger workflows, drawing on other packages such as the excellent [PyLogit](https://github.com/timothyb0912/pylogit) for most estimation of models.

ChoiceModels can automate the creation of choice tables for estimation or simulation, using uniform or weighted random sampling of alternatives, as well as interaction terms or cartesian merges.

It also provides general-purpose tools for Monte Carlo simulation of choices given probability distributions from fitted models, with fast algorithms for independent or capacity-constrained choices.

ChoiceModels includes a custom engine for Multinomial Logit estimation that’s optimized for fast performance with large numbers of alternatives.

### Installation

ChoiceModels can be installed using the Pip or Conda package managers:

` pip install choicemodels `

` conda install choicemodels --channel conda-forge `

### Documentation

See the online documentation for much more: https://choicemodels.readthedocs.io

Some additional documentation is available within the repo in CHANGELOG.md, CONTRIBUTING.md, /docs/README.md, and /tests/README.md.

There’s discussion of current and planned features in the [Pull requests](https://github.com/udst/choicemodels/pulls?utf8=✓&q=is%3Apr) and [Issues](https://github.com/udst/choicemodels/issues?utf8=✓&q=is%3Aissue), both open and closed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

choicemodels-0.2.2.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

choicemodels-0.2.2-py2.py3-none-any.whl (27.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file choicemodels-0.2.2.tar.gz.

File metadata

  • Download URL: choicemodels-0.2.2.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for choicemodels-0.2.2.tar.gz
Algorithm Hash digest
SHA256 05acd71d0f190047ff7c67897c0f6426d9e6dac442bfe12767694d995df0e3e1
MD5 39cd6b27bd3803066e52d79a568977da
BLAKE2b-256 99088ad93da030846dd5354c1a14f934eae4838702d18bfe72398533e2af0b65

See more details on using hashes here.

File details

Details for the file choicemodels-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: choicemodels-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

File hashes

Hashes for choicemodels-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b8c95ee386fda99b766c0e0830d0c3b27dc01bff40a6ad4dffccb78dbcce769a
MD5 b0461017e81aea40554652671c387763
BLAKE2b-256 a60c0cf59a1cbd664de6a6504aa412055b30bed5a8a41af9f1cba9a82ecb1926

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page