Description Usage Arguments Value Examples
Compute anomaly scores
1 | compute_anomaly_score(obj, x, window_size = 1L, ...)
|
obj |
object |
x |
data.frame to compute anomaly scores |
window_size |
integer. |
... |
additional arguments |
matrix of anomaly scores
1 2 3 4 5 6 7 8 | library(sGMRFmix)
set.seed(314)
train_data <- generate_train_data()
fit <- sGMRFmix(train_data, K = 7, rho = 10)
test_data <- generate_test_data()
compute_anomaly_score(fit, test_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.