This repository contains the source of the document: "IA Responsable: Manual técnico - Ciclo de vida de la inteligencia artificial":
Although there are a significant number of principles that seek ethical AI, they only provide high-level guidance on what should or should not be done in its development and there is very little clarity on what the best practices are for putting them into operation(Vayena, 2019). The objective of this manual is to provide these recommendations and good technical practices in order to avoid results contrary (often unexpected) to the objectives of decision makers. These purposes are varied: they can refer to undesirable consequences from the point of view of decision makers, wasting of resources due to inadequate targeting or any other objective that the decision maker is seeking to achieve.
This manual is intended for technical teams working on the application of machine learning algorithms for public policy. However, all the challenges it covers are common to any application of this technology. It is assumed that the reader has basic knowledge of statistics and programming, although when concepts are named, brief descriptions are included and additional bibliography is shared. The manual includes workbooks with various examples of the challenges and solutions explained. Different types of models (linear, tree-based, and others) and different implementations (R, Keras, Xgboost) are used to show that these problems arise regardless of the choice of particular tools. Although the codes and examples were developed in R, all the topics and methodologies applied and described in this manual can be implemented in any other programming language.
Using the rocker/rstudio container
Build image
docker build -t ia-responsable .
Run container
docker run -d -p 8787:8787 -e PASSWORD=yourpassword -e ROOT=TRUE -v $PWD/:/home/rstudio/ ia-responsable
Visit localhost:8787 in your browser and log in with username rstudio and the password you set. NB: Setting a password is now REQUIRED. Container will error otherwise.
The IDB is not responsible, under any circumstance, for damage or compensation, moral or patrimonial; direct or indirect; accessory or special; or by way of consequence, foreseen or unforeseen, that could arise:
I. Under any concept of intellectual property, negligence or detriment of another part theory; I ii. Following the use of the Digital Tool, including, but not limited to defects in the Digital Tool, or the loss or inaccuracy of data of any kind. The foregoing includes expenses or damages associated with communication failures and / or malfunctions of computers, linked to the use of the Digital Tool.
Copyright © [2025]. Inter-American Development Bank ("IDB"). Authorized Use.
The procedures and results obtained based on the execution of this software are those programmed by the developers and do not necessarily reflect the views of the IDB, its Board of Executive Directors or the countries it represents.
Copyright © [2025]. Banco Interamericano de Desarrollo ("BID"). Uso Autorizado.
Los procedimientos y resultados obtenidos con la ejecución de este software son los programados por los desarrolladores y no reflejan necesariamente las opiniones del BID, su Directorio Ejecutivo ni los países que representa.
Copyright © [2025]. Inter-American Development Bank ("IDB"). The Support and Usage Documentation is licensed under the Creative Commons License CC-BY 4.0 license. The opinions expressed in the Support and Usage Documentation are those of its authors and do not necessarily reflect the opinions of the IDB, its Board of Executive Directors, or the countries it represents.
Copyright © [2025]. Banco Interamericano de Desarrollo (BID). La Documentación de Soporte y Uso está licenciada bajo la licencia Creative Commons CC-BY 4.0. Las opiniones expresadas en la Documentación de Soporte y Uso son las de sus autores y no reflejan necesariamente las opiniones del BID, su Directorio Ejecutivo ni los países que representa.