loo1nn: Leave-one-out One-nearest-neighbor Evaluation

Description Usage Arguments Value Author(s) References See Also

Description

Evaluates a clustering distance matrix within a supervised learning scheme: leave-one-out one-neares-neighbor cross-validation. This yields a rough estimate of the suitabilty of a distance function for discriminating between classes if ground-truth is known.

Usage

1
loo1nn(x, y)

Arguments

x

A pdclust object.

y

A vector of the true class labels.

Value

Returns a percentage-correct estimate.

Author(s)

Andreas Brandmaier brandmaier@mpib-berlin.mpg.de

References

Brandmaier, A. M. (2015). pdc: An R Package for Complexity-Based Clustering of Time Series. Journal of Statistical Software, 67(5), 1–23.

See Also

pdc.dist pdclust


pdc documentation built on May 2, 2019, 9 a.m.