DEV Community

Discussion on: Does Anyone Know of Any *Discrete* Clustering Algorithms?

dylan profile image
Dylan • Edited on

Can you be a bit more specific about what your data looks like? Are x and y categorical features and z continuous? I had, at some point, a SO thread about combining data specific distance functions in a nearest neighbor search. I can't find it anymore, but it would be sort of like def custom_distance(X): return scipy.dice(categorical_features) + scipy.euclidean(continuous_features)

It looks sort of like:

Found it! Hopefully something in this thread is helpful.