Mean shift for finding modes

The submission finds modes in data. Data is generated from a mixture of gaussian with added outliers

You are now following this Submission

Run plotModes() to see result.
Note: 40% generated data is added outlier.

Correction:
In findModes.m, go to kernelized_weights() function and replace:
euclidean_dist = sum(offset.*offset,2) .* inv_bandwidth_sq;

with:
euclidean_dist = sum(offset.*offset,2);

Cite As

Soumitry J Ray (2026). Mean shift for finding modes (https://www.mathworks.com/matlabcentral/fileexchange/39079-mean-shift-for-finding-modes), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Description change

1.0.0.0