GUDHI/gudhi-devel

Representations - kernel_methods : Undefined name `metric`

VincentRouvreau opened this issue · 2 comments

In _sklearn_wrapper(metric, **kwargs), metric is undefined, cf.

return _pairwise(pairwise_kernels, False, XX, YY, metric=_sklearn_wrapper(metric, **kwargs), n_jobs=n_jobs)

Yes good catch it should be kernel instead I think

Just created PR #1037