MagmaClustR: Clustering and Prediction using Multi-Task Gaussian Processes with Common Mean

An implementation for the multi-task Gaussian processes with common mean framework. Two main algorithms, called 'Magma' and 'MagmaClust', are available to perform predictions for supervised learning problems, in particular for time series or any functional/continuous data applications. The corresponding articles has been respectively proposed by Arthur Leroy, Pierre Latouche, Benjamin Guedj and Servane Gey (2022) <doi:10.1007/s10994-022-06172-1>, and Arthur Leroy, Pierre Latouche, Benjamin Guedj and Servane Gey (2023) <>. Theses approaches leverage the learning of cluster-specific mean processes, which are common across similar tasks, to provide enhanced prediction performances (even far from data) at a linear computational cost (in the number of tasks). 'MagmaClust' is a generalisation of 'Magma' where the tasks are simultaneously clustered into groups, each being associated to a specific mean process. User-oriented functions in the package are decomposed into training, prediction and plotting functions. Some basic features (classic kernels, training, prediction) of standard Gaussian processes are also implemented.

Version: 1.2.1
Depends: R (≥ 2.10)
Imports: broom, dplyr, ggplot2, magrittr, methods, mvtnorm, plyr, purrr, Rcpp, rlang, stats, tibble, tidyr, tidyselect
LinkingTo: Rcpp
Suggests: gganimate, gifski, gridExtra, knitr, plotly, png, rmarkdown, testthat (≥ 3.0.0), transformr
Published: 2024-06-28
DOI: 10.32614/CRAN.package.MagmaClustR
Author: Arthur Leroy ORCID iD [aut, cre], Pierre Latouche [aut], Pierre Pathé [ctb], Alexia Grenouillat [ctb], Hugo Lelievre [ctb]
Maintainer: Arthur Leroy < at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: MagmaClustR results


Reference manual: MagmaClustR.pdf


Package source: MagmaClustR_1.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): MagmaClustR_1.2.1.tgz, r-oldrel (arm64): MagmaClustR_1.2.1.tgz, r-release (x86_64): MagmaClustR_1.2.1.tgz, r-oldrel (x86_64): MagmaClustR_1.2.1.tgz
Old sources: MagmaClustR archive


Please use the canonical form to link to this page.