Skip to content

MagmaClustR

1.2.1

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

0packages depend
3.3Kdownloads / year
13.9%test coverage
13/13checks pass

Overview

About
Maintained by Arthur LeroyFirst published 2022-06-067 releasesCRAN page ↗GitHub ↗

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) https://jmlr.org/papers/v24/20-1321.html. 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.

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.05
13.9%
Coverage · measured lines
97%
Documentation · exports
14
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 522 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #12,453 · ~9/day · ~272/mo
Daily download trend is not available in this view yet.
21930 days
80490 days
3.3K1 year
Compare downloads with other packages →
Also on390 r2u25 autocran

Repository

Repository
21Stars
7Forks
0Open issues
1Open PRs
7Releases
179Commits
3Contributors
r-packagergaussian-processesmulti-task-predictionmulti-task-learning
179 commits · Last activity 2026-08-03 · 0% stars, 30d

Stars over time

2025-07-27 · 172026-07-07 · 21

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/arthurleroy/magmaclustr on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 2.10
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Contributors (3)
Contributor · added in 1.1.1
Contributor · added in 1.1.0
Contributor
Listed in earlier versions (1)
no longer listed · 1.1.0
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.1Latest
    2024-06-28 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.0
    2024-03-21 · diff ↗
  • 1.1.2
    2023-05-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.1
    2023-01-17 · diff ↗
  • unarchivedReturned to CRAN
    2023-01-17
  • archivedRemoved from CRAN
    2022-11-17
    issues were not corrected in time
  • 1.1.0
    2022-11-01 · diff ↗
  • 1.0.1
    2022-08-29 · diff ↗
  • 1.0.0
    2022-06-06
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-06-06
Total releases
7 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
215 KB / 2 files
Download size
1.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("MagmaClustR")
Leroy, A., Grenouillat, A., Latouche, P., Lelievre, H., & Pathé, P. (2024). MagmaClustR: Clustering and Prediction using Multi-Task Gaussian Processes with Common Mean (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.MagmaClustR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for MagmaClustR version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy