
Metric-learn is a Python library for metric learning that integrates seamlessly with scikit-learn. It provides a collection of algorithms to learn distance metrics tailored to specific tasks, improving performance in classification, clustering, and retrieval problems. The library is designed to be user-friendly, offering tools that are compatible with scikit-learn's estimators and workflows. Users can access various algorithms, such as supervised and weakly supervised metric learners, through a consistent API.