Package: deadwood 0.9.2.9001

deadwood: Outlier Detection via Pruning Mutual Reachability Minimum Spanning Trees

Implements an anomaly detection algorithm based on a dataset's mutual reachability minimum spanning tree: 'deadwood' prunes protruding tree segments and marks small debris as outliers; see Gagolewski (2026) <https://deadwood.gagolewski.com/>. More precisely, tree edges with weights greater than the detected elbow point are removed. All the resulting connected components whose sizes do not exceed a prespecified threshold are deemed anomalous. The use of a mutual reachability distance pulls peripheral observations farther away from one another. If the dataset is comprised of well-separated clusters of heterogeneous densities, an attempt to split the dataset and refine the outlierness markers will be made. The 'Python' version of 'deadwood' is available via 'PyPI'.

Authors:Marek Gagolewski [aut, cre, cph]

deadwood_0.9.2.9001.tar.gz
deadwood_0.9.2.9001.zip(r-4.7-x86_64)deadwood_0.9.2.9001.zip(r-4.7-arm64)deadwood_0.9.2.9001.zip(r-4.6-x86_64)deadwood_0.9.2.9001.zip(r-4.6-arm64)deadwood_0.9.2.9001.zip(r-4.5-x86_64)
deadwood_0.9.2.9001.tgz(r-4.6-x86_64)deadwood_0.9.2.9001.tgz(r-4.6-arm64)deadwood_0.9.2.9001.tgz(r-4.5-x86_64)deadwood_0.9.2.9001.tgz(r-4.5-arm64)
deadwood_0.9.2.9001.tar.gz(r-4.7-arm64)deadwood_0.9.2.9001.tar.gz(r-4.7-x86_64)deadwood_0.9.2.9001.tar.gz(r-4.6-arm64)deadwood_0.9.2.9001.tar.gz(r-4.6-x86_64)
deadwood_0.9.2.9001.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
deadwood/json (API)

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

Bug tracker:https://github.com/gagolews/deadwood/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

anomaly-detectiondata-sciencemachine-learningmachine-learning-algorithmsminimum-spanning-treeminimum-spanning-treesmstnoise-detectionoutlier-detectionoutlierscppopenmp

5.75 score 1 stars 10 packages 2.0k downloads 3 exports 2 dependencies

Last updated from:c59a416916. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK121
linux-devel-x86_64OK96
source / vignettesOK228
linux-release-arm64OK126
linux-release-x86_64OK103
macos-release-arm64OK92
macos-release-x86_64OK215
macos-oldrel-arm64OK92
macos-oldrel-x86_64OK274
windows-devel-arm64OK205
windows-devel-x86_64OK136
windows-release-arm64OK235
windows-release-x86_64OK92
windows-oldrel-x86_64OK105
wasm-releaseOK107

Exports:deadwoodkneedle_increasingmst

Dependencies:quitefastmstRcpp

Readme and manuals

Help Manual

Help pageTopics
Deadwood: Outlier Detection via Pruning Mutual Reachability Minimum Spanning Treesdeadwood deadwood.default deadwood.dist deadwood.mst deadwood.mstclust
Knee/Elbow Point Detectionkneedle kneedle_increasing
Euclidean and Mutual Reachability Minimum Spanning Treesmst mst.default mst.dist