I don't know if I am doing this correctly or not but when KElbowVisualizer is used with a precomputed distance_metric, it gives an error ValueError: Precomputed metric requires shape (n_queries, n_indexed). Got ({X.shape[0]}, {X.shape[1]}) for 1 indexed. Example:
I don't know if I am doing this correctly or not but when
KElbowVisualizer
is used with a precomputeddistance_metric
, it gives an errorValueError: Precomputed metric requires shape (n_queries, n_indexed). Got ({X.shape[0]}, {X.shape[1]}) for 1 indexed
. Example: