Package: outForest 1.0.2

outForest: Multivariate Outlier Detection and Replacement

Provides a random forest based implementation of the method described in Chapter 7.1.2 (Regression model based anomaly detection) of Chandola et al. (2009) <doi:10.1145/1541880.1541882>. It works as follows: Each numeric variable is regressed onto all other variables by a random forest. If the scaled absolute difference between observed value and out-of-bag prediction of the corresponding random forest is suspiciously large, then a value is considered an outlier. The package offers different options to replace such outliers, e.g. by realistic values found via predictive mean matching. Once the method is trained on a reference data, it can be applied to new data.

Authors:Michael Mayer [aut, cre]

outForest_1.0.2.tar.gz
outForest_1.0.2.zip(r-4.7)outForest_1.0.2.zip(r-4.6)outForest_1.0.2.zip(r-4.5)
outForest_1.0.2.tgz(r-4.6-any)outForest_1.0.2.tgz(r-4.5-any)
outForest_1.0.2.tar.gz(r-4.7-any)outForest_1.0.2.tar.gz(r-4.6-any)
outForest_1.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
outForest/json (API)
NEWS

# Install 'outForest' in R:
install.packages('outForest', repos = c('https://mayer79.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mayer79/outforest/issues

On CRAN:

Conda:

machine-learningoutlieroutlier-analysisoutlier-detectionrandom-forest

5.12 score 14 stars 19 scripts 229 downloads 1 mentions 5 exports 7 dependencies

Last updated from:33820d4914. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK117
source / vignettesOK156
linux-release-x86_64OK114
macos-release-arm64OK87
macos-oldrel-arm64OK122
windows-develOK77
windows-releaseOK77
windows-oldrelOK72
wasm-releaseOK98

Exports:DatagenerateOutliersis.outForestoutForestoutliers

Dependencies:FNNlatticeMatrixmissRangerrangerRcppRcppEigen

Using 'outForest'

Rendered fromoutForest.Rmdusingknitr::rmarkdownon May 15 2026.

Last update: 2023-05-21
Started: 2021-04-11

Readme and manuals

Help Manual

Help pageTopics
Extracts DataData Data.default Data.outForest
Adds OutliersgenerateOutliers
Type Checkis.outForest
Multivariate Outlier Detection and ReplacementoutForest
Extracts Outliersoutliers outliers.default outliers.outForest
Plots outForestplot.outForest
Out-of-Sample Applicationpredict.outForest
Prints outForestprint.outForest
Summarizes outForestsummary.outForest