Skip to main content

Python Tensor based package for discrete choice modelling.

Project description

PyCMTensor

Licence PyPI version codecov Downloads DOI

A Tensor-based choice modelling estimation package written in Python

Welcome

PyCMTensor is a tensor-optimized discrete choice model estimation Python library package, written with optimization compilers to speed up estimation of large datasets, simulating very large mixed logit models or implementing neural network functions into utility equations in choice models.

Currently, PyCMTensor can be used to fully specify Multinomial Logit and Mixed Logit models, estimate and generate statistical tests, using optimized tensor operations via Aesara tensor libraries.

Key features

Main features:

  • Interpretable and customizable utility specification syntaxes
  • Perform statistical tests, analyze covariances for taste parameters.
  • Fast execution of model estimation including of simulation based methods, e.g. Mixed Logit models, using Tensor based libraries
  • Model estimation with 1st order (e.g. Adam, Stochastic Gradient Descent) or 1.5th order methods (e.g. Stochastic BFGS)
  • Specifying neural nets with weight and bias parameters inside a utility function (TasteNet)

While other choice modelling estimation software in Python are available, e.g. Biogeme, xlogit, PyLogit, etc., PyCMTensor strives to fully implement deep learning based methods written in a simplified syntax for utility equation specification. Different software programs may occasionally vary in their behaviour and estimation results.

Documentation

See documentation at https://mwong009.github.io/pycmtensor/

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

pycmtensor-1.6.4.tar.gz (30.9 kB view hashes)

Uploaded Source

Built Distribution

pycmtensor-1.6.4-py3-none-any.whl (35.4 kB view hashes)

Uploaded Python 3

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