Skip to content

ActiveLearning4SPM

0.1.0Package record

Active Learning for Process Monitoring

0packages depend
2.9Kdownloads / year
66.5%test coverage
13/13flavors OK

Overview

About

Implements the methodology introduced in Capezza, Lepore, and Paynabar (2025) doi:10.1080/00401706.2025.2561744 for process monitoring with limited labeling resources. The package provides functions to (i) simulate data streams with true latent states and multivariate Gaussian observations as done in the paper, (ii) fit partially hidden Markov models (pHMMs) using a constrained Baum-Welch algorithm with partial labels, and (iii) perform stream-based active learning that balances exploration and exploitation to decide whether to request labels in real time. The methodology is particularly suited for statistical process monitoring in industrial applications where labeling is costly.

Changes in 0.1.0

Initial release:

  • simulate_stream() generates simulates data to perform stream-based active learning for process monitoring, as shown in the simulation study of Capezza, Lepore and Paynabar (2025).
  • fit_pHMM() fits a partially hidden Markov model (pHMM) to the data, as described in Capezza, Lepore and Paynabar (2025).
  • fit_pHMM_auto() fits a pHMM to the data with automatic selection of the number of hidden states and with automatic initialization, as shown in Capezza, Lepore and Paynabar (2025).
  • active_learning_pHMM() performs stream-based active learning for process monitoring, as described in Capezza, Lepore and Paynabar (2025).

References:

  • Capezza, C., Lepore, A., & Paynabar, K. (2025). Stream-Based Active Learning for Process Monitoring. Technometrics. <doi:10.1080/00401706.2025.2561744>.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.1 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 2,741 wordsVignettesNoNEWSYes · 67% structured · mentions 0.1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
5 (1 internal)includes a package overview page
Examples that run
75%3 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
80%

Downloads

2.9K
CRAN downloads in the past year
Rank #15,027 · ~8/day · ~241/mo
Daily download trend is not available in this view yet.
28230 days
81190 days
2.9K1 year
Compare downloads with other packages →
Also on364 r2u16 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing ActiveLearning4SPM adds 16 packages (13 with compiled code, 24 MB of source tarballs). Heaviest: BH 14 MB, robustbase 2.2 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.2
LinkingTo (2)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2025)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2025-10-07 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-07
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.2
Download size
26 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("ActiveLearning4SPM")
Capezza, C., Lepore, A., & Paynabar, K. (2025). ActiveLearning4SPM: Active Learning for Process Monitoring (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.ActiveLearning4SPM

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 ActiveLearning4SPM version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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