Skip to main content

Python Tensor based package for discrete choice modelling.

Project description

PyCMTensor

Licence PyPI version codecov Downloads DOI

Tensor-based choice modelling estimation Python package

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 syntax
  • Perform statistical tests and generate var-covar matrices for taste parameters.
  • Fast execution of model estimation including of simulation based methods, e.g. Mixed Logit models
  • Model estimation with 1st order (Stochastic Gradient Descent) or 2nd order methods (BFGS)
  • Specifying neural nets with weight and bias parameters inside a utility function [TODO]

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 the same syntax format as Biogeme. Different software programs may occasionally vary in their behaviour and estimation results. The following are some of the key differences between PyCMTensor and other choice modelling estimation packages:

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.3.tar.gz (33.6 kB view details)

Uploaded Source

Built Distribution

pycmtensor-1.6.3-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file pycmtensor-1.6.3.tar.gz.

File metadata

  • Download URL: pycmtensor-1.6.3.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure

File hashes

Hashes for pycmtensor-1.6.3.tar.gz
Algorithm Hash digest
SHA256 42c6099ab8962f9c15bf9a37ab4a00bdfd466c0f16fd0a63351dbc42c38d6341
MD5 5fd84a235b3c195692b0c8762683e4a3
BLAKE2b-256 6a09e030320a79f7a3422bce30a70995633910d5e5a617a0cba829fad9ac23df

See more details on using hashes here.

Provenance

File details

Details for the file pycmtensor-1.6.3-py3-none-any.whl.

File metadata

  • Download URL: pycmtensor-1.6.3-py3-none-any.whl
  • Upload date:
  • Size: 38.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1042-azure

File hashes

Hashes for pycmtensor-1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9097fbe61af1d7a73348375c16f8bceebae3f2783a2bcdde7add4ce3b5b3af6a
MD5 e4ec6772b4e7a1d1e66f6ff88433b31e
BLAKE2b-256 dafde7e74b4bad981b8e64b64f0e140ca6aa296bcefc4b035cf26053e38bd2bd

See more details on using hashes here.

Provenance

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