# devtools::install_github("yanyachen/IsolationForest") install.packages("IsolationForest", repos="http://R-Forge.R-project.org") library(IsolationForest) data(stackloss) # train a model of Isolation Forest tr<-IsolationTrees(stackloss, rFactor=0) #evaluate anomaly score as<-AnomalyScore(stackloss,tr) # show anomaly score as$outF plot(stackloss$Air.Flow, stackloss$Water...