amelie
implements anomaly detection with maximum likelihood estimates and normal probability density functions. The package follows the approach described in Andrew Ng's course on machine learning.
Current CRAN version: 0.2.0
Development version (this repository): 0.2.1
install.packages("amelie")
# install.packages("devtools")
devtools::install_github("dbolotov/amelie")
library(amelie)
x1 <- c(1,.2,3,1,1,.7,-2,-1)
x2 <- c(0,.5,0,.4,0,1,-.3,-.1)
x <- do.call(cbind,list(x1,x2))
y <- c(0,0,0,0,0,0,1,1)
dframe <- data.frame(x,y)
df_fit <- ad(y ~ x1 + x2, dframe)
- Introduction vignette for a description of the algorithm.
- Package site for package documentation (built with
pkgdown
).