Building a Mean Shift clustering model