gpmp-contrib provides higher-level workflows, models, and sequential design
algorithms built on top of gpmp.
It is intended for practical Gaussian-process pipelines where you want to compose:
- model containers and ready-to-use Matérn model classes,
- sequential strategies for optimization / excursion / set inversion,
- diagnostics and visualization helpers,
- specialized procedures such as relaxed GP (reGP).
- Model classes:
Model_ConstantMean_Maternp_MLModel_ConstantMean_Maternp_REMLModel_ConstantMean_Maternp_REMAPModel_Noisy_ConstantMean_Maternp_REML
- Sequential strategies:
- grid-search based (
SequentialStrategyGridSearch) - SMC-adaptive (
SequentialStrategySMC) - BSS-style (
SequentialStrategyBSS)
- grid-search based (
- Optimization / design modules:
- expected improvement (
gpmpcontrib.optim.expectedimprovement) - excursion set estimation (
gpmpcontrib.optim.excursionset) - set inversion and Pareto utilities
- expected improvement (
- reGP utilities:
gpmpcontrib.regp
gpmpcontrib/models/: preconfigured Matérn model classesgpmpcontrib/modelcontainer.py: multi-output container and wrappersgpmpcontrib/sequentialprediction.py: prediction/update orchestrationgpmpcontrib/sequentialstrategy.py: sequential decision strategiesgpmpcontrib/optim/: EI, excursion, set inversion, Pareto toolsgpmpcontrib/regp/: relaxed GP utilitiesexamples/: runnable scripts
- Python
>=3.9 gpmp >= 0.9.34numpy,scipy>=1.12.0,matplotlib
Clone the repository:
git clone https://github.com/gpmp-dev/gpmp-contrib.git
cd gpmp-contribInstall in dev mode:
pip install -e .import gpmpcontrib as gpc
# See examples/ for full workflows
problem = gpc.ComputerExperiment(
1,
[[-1.0], [1.0]],
single_function=lambda x: x**2,
)The examples/ directory includes:
- model construction and prediction (
example01toexample05) - expected improvement optimization (
example10,example11,example12) - relaxed GP workflow (
example20) - excursion set estimation (
example30,example31) - set inversion workflows (
example40,example41)
See AUTHORS.md.
If you use GPmp-contrib in your research, please cite it as follows:
@software{gpmpcontrib2026,
author = {Emmanuel Vazquez},
title = {GPmp-contrib},
year = {2026},
url = {https://github.com/gpmp-dev/gpmp-contrib},
note = {Version x.y},
}Please update the version number as appropriate.
Copyright (C) 2022-2026 CentraleSupelec
GPmp contrib is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
GPmp contrib is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with gpmp. If not, see http://www.gnu.org/licenses/.