Description Usage Arguments Value Author(s) Examples
Adds new data to a model and detects rare events
1 | detectEvent(JEMM, newdata, measure = "Cosine", threshold = 0.2)
|
JEMM |
The EMM model to detect rare events for |
newdata |
The data that you want to add |
measure |
The clustering algorithm |
threshold |
The threshold for the clustering algorithm |
Prints out the rare states
Benjamin Koopferstock
1 2 3 4 5 6 | library(RJEMM)
data(anomaly)
emm <- create_EMM(measure = "Dice", threshold = 0.3 )
build( emm, anomaly)
data(anomalyRare)
detectEvent(emm, anomalyRare, "Dice")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.