Closed chschroeder closed 7 months ago
To make lightweight_coreset() more similar to greedy_coreset(), it should be able to similarly change the distance metric in lightweight_coreset() via an additional keyword argument distance_metric.
distance_metric
Those functions solve a similar problem, they should be kept as similar as possible. Also, it improves the functionality of lightweight_coreset().
lightweight_coreset()
dev
Feature description
To make lightweight_coreset() more similar to greedy_coreset(), it should be able to similarly change the distance metric in lightweight_coreset() via an additional keyword argument
distance_metric
.Motivation
Those functions solve a similar problem, they should be kept as similar as possible. Also, it improves the functionality of
lightweight_coreset()
.Addition comments
dev
branch (as 2.0.0 will be next).lightweight_coreset()
needs an additional unittest to verify the result.