Mean shift for finding modes

The submission finds modes in data. Data is generated from a mixture of gaussian with added outliers
956 Downloads
Updated 27 Nov 2012

View License

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 .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers
Version Published Release Notes
1.2.0.0

Description change

1.0.0.0