Skip to main content

A framework for estimating and applying discrete choice models.

Project description

Larch: the logit architect

This is a tool for the estimation and application of logit-based discrete choice models. It is designed to integrate with NumPy and facilitate fast processing of linear models. If you want to estimate non-linear models, try Biogeme, which is more flexible in form and can be used for almost any model structure. If you don’t know what the difference is, you probably want to start with linear models.

This project is very much under development. There are plenty of undocumented functions and features; use them at your own risk. Undocumented features may be non-functional, not rigorously tested, deprecated or removed without notice in a future version. If a function or method is documented, it is intended to be stable in future updates.


Why is the Windows download so much larger than the Mac download?

The Windows wheel include the openblas library for linear algebra computations. The Mac version does not need an extra library because Mac OS X includes vector math libraries by default.

It is not working. Can you troubleshoot for me?

Are you using the 64 bit (amd64) version of Python? Larch is only compiled for 64 bit at present.

For some unknown reason, certain mathematical tools are not available on PyPI as wheels for Windows. You will need to download numpy, scipy, and pandas and install them manually.

You may also need to install the Microsoft Visual C++ 2015 <> redistributable libraries. Future versions of Larch may include these for you.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
larch-3.3.24-cp35-cp35m-macosx_10_6_x86_64.whl (5.7 MB) Copy SHA256 hash SHA256 Wheel cp35
larch-3.3.24-cp35-cp35m-win_amd64.whl (15.6 MB) Copy SHA256 hash SHA256 Wheel cp35
larch-3.3.24-cp36-cp36m-macosx_10_7_x86_64.whl (5.7 MB) Copy SHA256 hash SHA256 Wheel cp36
larch-3.3.24-cp36-cp36m-win_amd64.whl (15.1 MB) Copy SHA256 hash SHA256 Wheel cp36

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page