Bad copy paste.
@@ -2088,9 +2088,10 @@ class DataFrameUMAP(BaseEstimator):
self._small_data = True
# TODO: metric keywords not supported yet!
if metric in ("ll_dirichlet", "hellinger"):
- dmat = dist.pairwise_special_metric(X, sub_data, metric=metric)
+ dmat = dist.pairwise_special_metric(sub_data, metric=metric)
else:
- dmat = pairwise_distances(X, sub_data, metric=metric)
+ dmat = pairwise_distances(sub_data, metric=metric)
+
(
self.metric_graphs_[name],
self._sigmas[name],
