Skip to main content

A machine learning library for economics and finance

Project description

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.

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

gingado-0.2.1.zip (74.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gingado-0.2.1-py3-none-any.whl (66.0 kB view details)

Uploaded Python 3

File details

Details for the file gingado-0.2.1.zip.

File metadata

  • Download URL: gingado-0.2.1.zip
  • Upload date:
  • Size: 74.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for gingado-0.2.1.zip
Algorithm Hash digest
SHA256 ab210196634c7e8f4075003893b097e8ac6b5f3bd06e45cc83d63d11c1963025
MD5 ac055cd5d8364a7f133164a5cf4de586
BLAKE2b-256 d09bfd343097bd11cdafec29966e950594d2a9fbd6e2c2d8c42a2bea3e60f977

See more details on using hashes here.

File details

Details for the file gingado-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gingado-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 66.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for gingado-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4c8dd143af6b89029dc6d23a07686d413555c49adacdb80f16d61dabb2de184d
MD5 f47d878cf76ef999c7ba18d5138e3281
BLAKE2b-256 7a9fb71ca1ab32cee6c5a2ef538b41fdf5db0584b46514b4ca527777e3ab38d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page