UDST/choicemodels

Name: choicemodels

Owner: Urban Data Science Toolkit

Description: A general package for discrete choice model estimation and simulation, covering basic Multinomial Logit and various generalizations.

Created: 2016-06-02 23:38:40.0

Updated: 2018-04-28 08:14:21.0

Pushed: 2018-05-18 01:00:24.0

Homepage: null

Size: 417

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status Coverage Status

ChoiceModels

This is a package for discrete choice model estimation and simulation, with an emphasis on large choice sets and behavioral refinements to multinomial models. Most of these models are not available in Statsmodels or Scikit-learn.

The underlying estimation routines come from two main places: (1) the urbanchoice codebase, which has been moved into ChoiceModels, and (2) Timothy Brathwaite's PyLogit package, which handles more flexible model specifications.

Documentation

Package documentation is available on readthedocs.

Installation

Install with pip:

pip install choicemodels

or with conda-forge.

Current functionality

choicemodels.tools.MergedChoiceTable()

choicemodels.MultinomialLogit()

chociemodels.MultinomialLogitResults()

There's documentation in these classes' docstrings, and a usage demo in a Jupyter notebook.

https://github.com/udst/choicemodels/blob/master/notebooks/Destination-choice-models-02.ipynb


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.