Torch-Choice: A PyTorch Package for Large-Scale Choice Modelling with Python

04/04/2023
by   Tianyu Du, et al.
0

The is an open-source library for flexible, fast choice modeling with Python and PyTorch. provides a data structure to manage databases flexibly and memory-efficiently. The paper demonstrates constructing a from databases of various formats and functionalities of . The package implements two widely used models, namely the multinomial logit and nested logit models, and supports regularization during model estimation. The package incorporates the option to take advantage of GPUs for estimation, allowing it to scale to massive datasets while being computationally efficient. Models can be initialized using either R-style formula strings or Python dictionaries. We conclude with a comparison of the computational efficiencies of and in R as (1) the number of observations increases, (2) the number of covariates increases, and (3) the expansion of item sets. Finally, we demonstrate the scalability of on large-scale datasets.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2020

mvlearn: Multiview Machine Learning in Python

As data are generated more and more from multiple disparate sources, mul...
research
02/21/2023

SurvLIMEpy: A Python package implementing SurvLIME

In this paper we present SurvLIMEpy, an open-source Python package that ...
research
05/16/2023

torchosr – a PyTorch extension package for Open Set Recognition models evaluation in Python

The article presents the torchosr package - a Python package compatible ...
research
01/06/2021

dame-flame: A Python Library Providing Fast Interpretable Matching for Causal Inference

dame-flame is a Python package for performing matching for observational...
research
07/26/2020

multivar_horner: a python package for computing Horner factorisations of multivariate polynomials

Many applications in the sciences require numerically stable and computa...
research
02/26/2020

Simpler handling of clinical concepts in R with clinconcept

Routinely collected data in electronic healthcare records are often unde...
research
11/11/2020

SEIR-Campus: Modeling Infectious Diseases on University Campuses

We introduce a Python package for modeling and studying the spread of in...

Please sign up or login with your details

Forgot password? Click here to reset