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-based discrete choice modelling estimation Python library package. It has a particular focus on estimation of hybrid neural networks and Logit models, as well as on Mixed Logit models. PyCMTensor models are based on computational graphs and models estimated using generalized backpropagation algorithms. PyCMTensor can be used to fully specify Multinomial Logit and Mixed Logit models, perform model estimation using computational graphs and generate statistical test results for econometric analysis.

Key features

Main features:

  • Interpretable and customizable utility specification syntaxes
  • Ability to specifying neural nets with weight and bias parameters inside a utility functions (e.g. TasteNet)
  • Perform specification testing, analyze covariances, standard errors for taste parameters.
  • Fast execution of model estimation including of simulation based methods, e.g. Mixed Logit models, using computational graph approach
  • Model estimating tuning with 1st order (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, e.g. Biogeme, xlogit, PyLogit, etc., PyCMTensor strives to fully implement deep learning based methods written in a simplified syntax for utility equation specification.

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

Uploaded Source

Built Distribution

pycmtensor-1.7.0-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycmtensor-1.7.0.tar.gz
  • Upload date:
  • Size: 32.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Linux/6.2.0-1011-azure

File hashes

Hashes for pycmtensor-1.7.0.tar.gz
Algorithm Hash digest
SHA256 47b202f6c421c765048e105a3ffc6ada4ae53a48ae7a18a27e110f2603ae1c35
MD5 b3905a3b8ba15be485e05b710892cd0e
BLAKE2b-256 9298ccd0e79efca469deca52c01737d120af175f5f3991dcd8774395df401377

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pycmtensor-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.5 Linux/6.2.0-1011-azure

File hashes

Hashes for pycmtensor-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cfd156e3b5dcb4bc57cabc021fe38f18c93dc36ed93d8bc1e552332cd42a135
MD5 08c557c3044946715b7e4314ded57fd7
BLAKE2b-256 f9f79193749440564040935cf6c4031ebb7595e4ab37aabd44460985dcc5cd85

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