Package: magp 0.12.0

magp: Mapping-Based Additive Gaussian Process Models

Fits mapping-based additive Gaussian process models for experiments in which each component has both a quantitative level and a position in an ordered sequence. Two model structures are available: a compact two-dimensional mapping and a full mapping with one fewer dimension than the number of components. Both models support parameter estimation, point prediction, and plug-in predictive uncertainty. Input checks validate the sequence data and apply consistent scaling to the quantitative inputs. Computationally intensive covariance and gradient calculations are implemented in C++ with 'Rcpp'. Initial-design functions combine a space-filling Latin hypercube with sequence permutations. The sequence portion can be generated randomly or optimized with simulated annealing or space-filling threshold accepting. Expected improvement can be optimized over both parts of the input, and a sequential interface supports Bayesian optimization of an expensive user-supplied objective. An integrated workflow can generate the initial design, evaluate the objective, and continue the sequential search in one call. The model was introduced by Xiao et al. (2024) <doi:10.1080/01621459.2022.2123335>.

Authors:Tony Wang [aut, cre, cph], Qian Xiao [aut, cph], Yaping Wang [cph], Abhyuday Mandal [cph], Xinwei Deng [cph]

magp_0.12.0.tar.gz
magp_0.12.0.zip(r-4.7-x86_64)magp_0.12.0.zip(r-4.7-arm64)magp_0.12.0.zip(r-4.6-x86_64)magp_0.12.0.zip(r-4.6-arm64)magp_0.12.0.zip(r-4.5-x86_64)
magp_0.12.0.tgz(r-4.6-x86_64)magp_0.12.0.tgz(r-4.6-arm64)magp_0.12.0.tgz(r-4.5-x86_64)magp_0.12.0.tgz(r-4.5-arm64)
magp_0.12.0.tar.gz(r-4.7-arm64)magp_0.12.0.tar.gz(r-4.7-x86_64)magp_0.12.0.tar.gz(r-4.6-arm64)magp_0.12.0.tar.gz(r-4.6-x86_64)
magp_0.12.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
magp/json (API)

# Install 'magp' in R:
install.packages('magp', repos = c('https://twskr.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/twskr/magp/issues

Pkgdown/docs site:https://twskr.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

4.81 score 2.1k downloads 13 exports 2 dependencies

Last updated from:b4c1d5bf6d. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK107
linux-devel-x86_64OK125
source / vignettesOK162
linux-release-arm64OK108
linux-release-x86_64OK139
macos-release-arm64OK146
macos-release-x86_64OK246
macos-oldrel-arm64OK123
macos-oldrel-x86_64OK416
windows-devel-arm64OK225
windows-devel-x86_64OK159
windows-release-arm64OK226
windows-release-x86_64OK101
windows-oldrel-x86_64OK95
wasm-releaseOK101

Exports:magp_bayes_optimizemagp_bayes_optimize_from_scratchmagp_expected_improvementmagp_initial_designmagp_joint_criterionmagp_next_pointmagp_quantitative_criterionmagp_quantitative_designmagp_sequence_criterionmagp_sequence_designmagp2d_fitmagp2d_rmsemagpfull_fit

Dependencies:nloptrRcpp

Design and sequential optimization
Define an objective | Start without initial data | Choose the initial sequence method | Continue from completed experiments

Last update: 2026-10-06
Started: 2026-09-04

Get started with magp
Input layout | Fit the two-dimensional model | Predict new runs | Use the full mapping | Citation

Last update: 2026-10-06
Started: 2026-09-04

Computational benchmark
Reproduce the benchmark | Recorded result

Last update: 2026-09-04
Started: 2026-09-04