MeanShift: (KDE-based) Mean shift

Description Usage Arguments Value References

View source: R/SCMS.R

Description

(KDE-based) Mean shift

Usage

1
MeanShift(X, h, Y0 = NULL, minD = 1e-12, maxIter = 100L, silent = FALSE)

Arguments

X

Data, an N-by-n matrix.

h

Bandwidth for isotropic Gaussian kernel density estimation, a scalar.

Y0

Initial points, an M-by-n matrix, defaults to X.

minD

Convergence criterion, length of mean shift vector.

maxIter

Maximum number of iterations.

Value

A list: 'Y', the final points; 'updatedPoints', the number of updated points per update.

References

@Comaniciu2002


rudazhang/plmr documentation built on Aug. 30, 2021, 5:43 p.m.