Skip to content

ActiveLearning4SPM

Active Learning for Process Monitoring

v0.1.0 · Oct 7, 2025 · GPL-3

Description

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.

Downloads

204

Last 30 days

16285th

521

Last 90 days

521

Last year

Trend: -35.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Changelog

Full NEWS →

v0.1.0

# ActiveLearning4SPM 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>.

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026

Dependency Network

Dependencies Reverse dependencies Rcpp Rfast mvnfast rrcov caTools abind pROC ActiveLearning4SPM

Version History

new 0.1.0 Mar 9, 2026