MeanShift_cpp
MeanShift_cpp copied to clipboard
Mean shift clustering Implementation in C++
Thanks for your work! Is there any vision to support the input data for cols>2?
By reading your source code, I did not found how the clusters are gonna be counted. How do we know many clusters are there? Sorry if the question is not...
[This line](https://github.com/mattnedrich/MeanShift_cpp/blob/master/MeanShift.h#L16) should actually be: ``` MeanShift(double (*_kernel_func)(double,double)) { set_kernel(_kernel_func); } ``` This causes the code to bug when defining a custom kernel function.
1. Fix class MeanShift constructor with custom kernel function 2. Write shifted points to the file
It is needed to set datafile separator otherwise gnuplot ignores X axe. gnuplot set datafile separator "," plot ...
Hi, shouldn't `MeanShift(double (*_kernel_func)(double,double)) { set_kernel(kernel_func); }` be `MeanShift(double (*_kernel_func)(double,double)) { set_kernel(_kernel_func); }`? Cheers, Phil