Multivariate Outlier Detection and Replacement
Overview
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.
- Use latex formulas in help files.
- Improved documentation.
- Fixed typos.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9
- Examples that run
- 100%9 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 11%
- Using 'outForest' HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 17
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mayer79/outforest on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-04-06 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Installing outForest adds 5 packages (4 with compiled code, 3.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, ranger 175 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.1Latest
- 1.0.02023-04-25 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.32023-03-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.1.22022-01-31 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.1.12021-01-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.02020-01-13
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-01-13
- Total releases
- 6 / 6 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 85 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("outForest")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.