- Home
- Statistical Analysis Software
- Black-it
On the recordRead 12 Oct 202623 facts
Black-it
On the record
- Built-in losses
- Documented loss functions include MinkowskiLoss, MethodOfMomentsLoss, GslDivLoss, and FourierLoss.bancaditalia.github.io · read 12 Oct 2026
- Calibration process
- Calibration iteratively samples parameters, simulates data for each sample, and evaluates a loss against real data until the loss is close to zero or the iteration limit is reached.bancaditalia.github.io · read 12 Oct 2026
- Checkpointing
- When a saving folder is configured, calibration checkpoints are saved after each batch and can be restored to resume an interrupted run.bancaditalia.github.io · read 4 Oct 2026
- Checkpoints
- Calibration checkpoints can be saved automatically per batch and restored to resume an interrupted calibration.bancaditalia.github.io · read 12 Oct 2026
- Customization
- Users can implement custom models, loss functions, and samplers by extending the package’s interfaces.bancaditalia.github.io · read 4 Oct 2026
- Custom models
- Users can provide a custom model function or wrap an external simulator for use with the calibrator.bancaditalia.github.io · read 12 Oct 2026
- Distribution
- The package can be installed from PyPI with pip install black-it or directly from its GitHub repository.github.com · read 4 Oct 2026
- External simulators
- A Python wrapper can connect an external simulator, including models written in low-level languages or using Mesa, through a language-agnostic interface.bancaditalia.github.io · read 4 Oct 2026
- General use
- The package can also optimize built-in or custom models when several search techniques need to be combined.bancaditalia.github.io · read 4 Oct 2026
- Installation
- The documentation says the package requires Python 3.9 or later and can be installed with pip install black-it.bancaditalia.github.io · read 12 Oct 2026
- Intended audience
- PyPI classifies the package for developers and science or research users.pypi.org · read 12 Oct 2026
- Intended use
- The package was created with agent-based models in mind and can also be used as a general optimizer for built-in or custom models.bancaditalia.github.io · read 12 Oct 2026
- Intended users
- The project describes use across economics, epidemiology, biology, logistics, and other agent-based modeling or simulation research.github.com · read 4 Oct 2026
- License
- Black-it is released under the GNU Affero General Public License v3 or later (AGPLv3+).bancaditalia.github.io · read 12 Oct 2026
- Maker
- The project documentation credits Banca d'Italia and identifies original author Gennaro Catapano and co-authors or maintainers.bancaditalia.github.io · read 12 Oct 2026
- Parallel execution
- Model simulation is parallelized by default across the computer’s CPU cores, and the process count can be set with n_jobs.bancaditalia.github.io · read 4 Oct 2026
- Parallelization
- Model simulations are parallelized by default across the computer's cores, and the number of processes can be set with n_jobs.bancaditalia.github.io · read 12 Oct 2026
- Purpose
- Black-it is a black-box calibrator that estimates model parameters using a loss function and selected search algorithms.bancaditalia.github.io · read 12 Oct 2026