reachability: An auxiliary function of 'lofactor()'

Description Usage Arguments Details Value Author(s) References See Also

Description

This function computes the reachability measure for each instance of a dataset. This result is used later to compute the Local Outlyingness Factor.

Usage

1
reachability(distdata, k)

Arguments

distdata

The matrix of distances.

k

The number of neighbors.

Details

This function is strongly based on the code provided by Acuna et. al. (2009) for the previously available dprep package.

Value

A vector.

Author(s)

Luis Torgo ltorgo@dcc.fc.up.pt

References

Acuna, E., and Members of the CASTLE group at UPR-Mayaguez, (2009). dprep: Data preprocessing and visualization functions for classification. R package version 2.1.

Torgo, L. (2016) Data Mining using R: learning with case studies, second edition, Chapman & Hall/CRC (ISBN-13: 978-1482234893).

http://ltorgo.github.io/DMwR2

See Also

lofactor


ltorgo/DMwR2 documentation built on May 21, 2019, 8:41 a.m.