metric_learn.base_metric
.MetricTransformer
- class metric_learn.base_metric.MetricTransformer[source]
Base class for all learners that can transform data into a new space with the metric learned.
Methods
transform
(X)Applies the metric transformation.
Examples using metric_learn.base_metric.MetricTransformer
Sandwich demo
Algorithms walkthrough