Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

MEANSHIFT

MeanShift method


Description

Run MeanShift for clustering.

Usage

MEANSHIFT(
  d,
  kernel = "NORMAL",
  bandwidth = rep(1, ncol(d)),
  alpha = 0,
  iterations = 10,
  epsilon = 1e-08,
  epsilonCluster = 1e-04,
  ...
)

Arguments

d

The dataset (matrix or data.frame).

kernel

A string indicating the kernel associated with the kernel density estimate that the mean shift is optimizing over.

bandwidth

Used in the kernel density estimate for steepest ascent classification.

alpha

A scalar tuning parameter for normal kernels.

iterations

The number of iterations to perform mean shift.

epsilon

A scalar used to determine when to terminate the iteration of a individual query point.

epsilonCluster

A scalar used to determine the minimum distance between distinct clusters.

...

Other parameters.

Value

The clustering (meanshift object).

See Also

Examples

## Not run: 
require (datasets)
data (iris)
MEANSHIFT (iris [, -5], bandwidth = .75)

## End(Not run)

fdm2id

Data Mining and R Programming for Beginners

v0.9.5
GPL-3
Authors
Alexandre Blansché [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.