Black-it
The facts below are what the maker publishes about Black-it, checked and dated. Our editors have not written about it yet.
The facts
Each one read from Black-it's own pages, with the date it was checked.
What it does
- Built-in losses
- Documented loss functions include MinkowskiLoss, MethodOfMomentsLoss, GslDivLoss, and FourierLoss.checked 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.checked 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.checked 4 Oct 2026
- Checkpoints
- Calibration checkpoints can be saved automatically per batch and restored to resume an interrupted calibration.checked 12 Oct 2026
- Customization
- Users can implement custom models, loss functions, and samplers by extending the package’s interfaces.checked 4 Oct 2026
- Custom models
- Users can provide a custom model function or wrap an external simulator for use with the calibrator.checked 12 Oct 2026
- Distribution
- The package can be installed from PyPI with pip install black-it or directly from its GitHub repository.checked 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.checked 4 Oct 2026
- General use
- The package can also optimize built-in or custom models when several search techniques need to be combined.checked 4 Oct 2026
- Installation
- The documentation says the package requires Python 3.9 or later and can be installed with pip install black-it.checked 12 Oct 2026
- Intended audience
- PyPI classifies the package for developers and science or research users.checked 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.checked 12 Oct 2026
- Intended users
- The project describes use across economics, epidemiology, biology, logistics, and other agent-based modeling or simulation research.checked 4 Oct 2026
- License
- Black-it is released under the GNU Affero General Public License v3 or later (AGPLv3+).checked 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.checked 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.checked 12 Oct 2026
- Purpose
- Black-it is a black-box calibrator that estimates model parameters using a loss function and selected search algorithms.checked 12 Oct 2026
- Requirements
- The project requires Python 3.9 or later; the documentation also lists Poetry as a requirement.checked 4 Oct 2026
- Search algorithms
- Documented samplers include random uniform, Halton, R sequence, best batch, Gaussian process, XGBoost, random forest, and particle swarm samplers.checked 12 Oct 2026
- Search methods
- Documented samplers include uniform and low-discrepancy methods, plus methods based on prior results such as Gaussian process, XGBoost, random forest, and particle swarm samplers.checked 4 Oct 2026
- Simulator compatibility
- The simulator wrapper interface is language agnostic and the documentation describes using Python ABM frameworks such as Mesa or custom low-level models.checked 12 Oct 2026
- Support
- The project documentation directs users to GitHub Issues for support, bug reports, and feature requests, and lists author email as another feedback route.checked 12 Oct 2026
The company
- Maker
- The project documentation credits Banca d'Italia and identifies original author Gennaro Catapano and co-authors or maintainers.checked 12 Oct 2026


