Skip to main content

A robust and efficient Python package leveraging tensor computations for advanced discrete choice modelling.

Project description

PyCMTensor

Licence PyPI version codecov Downloads DOI

PyCMTensor: Advanced Tensor-based Choice Modelling in Python

Welcome to PyCMTensor, a Python library for tensor-based discrete choice modelling estimation. This package is designed with a focus on hybrid neural networks and Logit models, including Mixed Logit models. PyCMTensor models leverage computational graphs and are estimated using generalized backpropagation algorithms.

With PyCMTensor, you can fully specify Multinomial Logit and Mixed Logit models, perform model estimation using computational graphs, and generate statistical test results for econometric analysis.

Key Features

  • Interpretable and customizable utility specification syntaxes: Easily define your models with an intuitive syntax.
  • Neural network specification: Specify neural networks with weight and bias parameters inside utility functions (e.g., TasteNet).
  • Comprehensive analysis tools: Perform specification testing, analyze covariances, and compute standard errors for taste parameters.
  • Fast model estimation: Quickly estimate models, including simulation-based methods like Mixed Logit models, using a computational graph approach.
  • Flexible optimization methods: Tune the model estimation with 1st order methods (e.g., Adam, Stochastic Gradient Descent) or 1.5th order methods (e.g., Stochastic BFGS).

While other choice modelling estimation software in Python are available, such as Biogeme, xlogit, and PyLogit, PyCMTensor sets itself apart by fully implementing deep learning-based methods with a simplified syntax for utility equation specification.

Documentation

For more information on how to use PyCMTensor, please refer to our documentation.

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

Uploaded Source

Built Distribution

pycmtensor-1.9.0-py2.py3-none-any.whl (42.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pycmtensor-1.9.0.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for pycmtensor-1.9.0.tar.gz
Algorithm Hash digest
SHA256 a3a8516092520f2bc7cafe295490facb4fb65ec4a536e6b1492f0837951cf315
MD5 04d1f8efe6c5a814c46c9ed19db9afbe
BLAKE2b-256 7c6edf47034c7b9808be7bd2b1c73c1f2d80eea1b943b3977286c59c9e9aab0c

See more details on using hashes here.

Provenance

File details

Details for the file pycmtensor-1.9.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pycmtensor-1.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.7 Linux/6.2.0-1018-azure

File hashes

Hashes for pycmtensor-1.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8660a4c879d0c6247582ea7c98de8304bc7731123c701e44645977c24f0af8d0
MD5 852ea3161b8fc1ace5349ec7576a1b7d
BLAKE2b-256 3902f3534d52b34c495f74d90aeb33d3d517b6395da7f0f016453bad77fc099c

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