Open OMirzaei opened 2 years ago
It seems like that when "precomputed" or some callable is used as the metric
parameter, it would occur.
I do think not supporting "precomputed" is reasonable, but callable metric should be supported.
Any news on this? it would be amazing to do soft clustering on callable matrix
Hello,
I have the following distance matrix (dist_matrix.npy.zip) that I calculated using some function.
Then, I fitted a model using the attached distance matrix as follows:
After running the above command, I got the following warning (which looks like to be important if you want to predict some data in a later time):
Also, I'd like to predict the cluster of some new data points at a later time by passing a distance matrix. Does the
approximate_predict
method accept a distance matrix (because I used a custom distance matrix originally)? I believe that's not the case, at least based on the documentation.I even tried to see whether the provided example (see here) works but I got the same warning (see below).
I appreciate it if you help me understand why I get that warning originally and how I can use the above method to predict the cluster of new data points in the future.