View source: R/har_ensemble_fuzzy.R
| har_ensemble_fuzzy | R Documentation |
Score-based ensemble across multiple Harbinger detectors with optional temporal fuzzification, thresholding, and non-maximum suppression.
This variant preserves the richer aggregation logic that was previously mixed
into har_ensemble(), but keeps the simple majority-vote ensemble separate.
har_ensemble_fuzzy(...)
... |
One or more detector objects. |
A har_ensemble_fuzzy object.
Ogasawara, E., Salles, R., Porto, F., Pacitti, E. Event Detection in Time Series. 1st ed. Cham: Springer Nature Switzerland, 2025. doi:10.1007/978-3-031-75941-3
library(daltoolbox)
data(examples_changepoints)
dataset <- examples_changepoints$simple
model <- har_ensemble_fuzzy(hcp_amoc(), hcp_pelt(), hcp_cf_lr())
model <- fit(model, dataset$serie)
detection <- detect(model, dataset$serie, time_tolerance = 8, use_nms = TRUE)
print(detection[detection$event, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.