Skip to main content

Welcome to gingado!

gingado seeks to facilitate the use of machine learning in economic and finance use cases, while promoting good practices. This package aims to be suitable for beginners and advanced users alike. Use cases may range from simple data retrievals to experimentation with machine learning algorithms to more complex model pipelines used in production.

Overview

gingado is a free, open source library built different functionalities:

  • data augmentation, to add data from official sources, improving the machine models being trained by the user;

  • relevant datasets, both real and simulated, to allow for easier model development and comparison;

  • automatic benchmark model, to assess candidate models against a reasonably well-performant model;

  • machine learning-based estimators, to help answer questions of academic or practical importance;

  • support for model documentation, to embed documentation and ethical considerations in the model development phase; and

  • utilities, including tools to allow for lagging variables in a straightforward way.

Each of these functionalities builds on top of the previous one. They can be used on a stand-alone basis, together, or even as part of a larger pipeline from data input to model training to documentation!

Tip

New functionalities are planned over time, so consider checking frequently on gingado for the latest toolsets.

Install

Note

Please make sure you have read and understood the license disclaimer in the NOTES.md file in our GitHub repository before using gingado.

To install gingado, simply run the following code on the terminal:

$ pip install gingado

Attribution

If you use this package in your work, please consider citing Araujo (2023).

In BibTeX format:

@techreport{gingado,
    author = {Araujo, Douglas KG},
    title = {gingado: a machine learning library focused on economics and finance},
    series = {BIS Working Paper},
    type = {Working Paper},
    institution = {Bank for International Settlements},
    year = {2023},
    number = {1122}
}

Over time, new tools that are described in specific papers might be added (eg, a machine learning-based econometric estimator). Please consider citing them as well if used in your work. Specific information, if any, can be found in the documentation.

Design principles

The choices made during development of gingado derive from the following principles, in no particular order:

  • flexibility: users can use gingado out of the box or build custom processes on top of it;

  • compatibility: gingado works well with other widely used libraries in machine learning, such as scikit-learn and pandas; and

  • responsibility: gingado facilitates and promotes model documentation, including ethical considerations, as part of the machine learning development workflow.

For more information about gingado, please read the paper.

Acknowledgements

gingado’s API is inspired on the following libraries:

  • scikit-learn (Buitinck et al. 2013)

  • keras (website here and also, this essay)

  • fastai (Howard and Gugger 2020)

In addition, gingado is developed and maintained using quarto.

References

Araujo, Douglas KG. 2023. “Gingado: A Machine Learning Library Focused on Economics and Finance.” Working Paper 1122. BIS Working Paper. Bank for International Settlements.

Buitinck, Lars, Gilles Louppe, Mathieu Blondel, Fabian Pedregosa, Andreas Mueller, Olivier Grisel, Vlad Niculae, et al. 2013. “API Design for Machine Learning Software: Experiences from the Scikit-Learn Project.” CoRR abs/1309.0238. http://arxiv.org/abs/1309.0238.

Howard, Jeremy, and Sylvain Gugger. 2020. “Fastai: A Layered API for Deep Learning.” Information 11 (2). https://doi.org/10.3390/info11020108.

Metadata

Release files for gingado 0.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gingado 0.2.9
File Size Uploaded Provenance Actions
gingado-0.2.9.tar.gz 5.5 MB Without provenance Details for gingado-0.2.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gingado 0.2.9
File Interpreter ABI Platform Actions
gingado-0.2.9-py3-none-any.whl Python 3 none any Details for gingado-0.2.9-py3-none-any.whl

Total release size: 11.0 MB

Release files / gingado-0.2.9.tar.gz

Download URL gingado-0.2.9.tar.gz
Size 5.5 MB
Tags Source
SHA-256 checksum
How to use checksums
0de6a9e19a04d8b91fff29ea99f4c15adb4dd183b0d14738a368ae8169673e24
BLAKE2b-256 checksum
How to use checksums
6ef7d19174bda1bd850de648dd449094badc7ee32917cd554223dac4f0021779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.16

Release files / gingado-0.2.9-py3-none-any.whl

Download URL gingado-0.2.9-py3-none-any.whl
Size 5.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
52977fa9d6375123de55b8ba2d9abb92e8e63cf1b4cdf60f86b5cd36e579b7c9
BLAKE2b-256 checksum
How to use checksums
ef163c3991e10b70074998896dcc2e77a6810976bd25f18831f0f8dfd6a244e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.16

Security for gingado 0.2.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page