GraphCanon updated Sep 26, 2026 · GitHub synced Sep 26, 2026
41views this month
Decision brief
Metric-learn is a Python library for metric learning that offers a range of algorithms compatible with scikit-learn's API and supports various methods like LMNN, ITML, LFDA among others.
Good fit when
- When you need to use specific metric learning techniques such as Large Margin Nearest Neighbor (LMNN) or Neighborhood Components Analysis (NCA), which are implemented efficiently in Python.
- When your project is compatible with the scikit-learn framework and you want to integrate new methods without changing existing pipelines.
Avoid when
- If your development environment does not already use Python, as metric-learn is specific to this language and its ecosystem.
- For applications that require real-time performance critical operations, since the library may rely on computationally intensive algorithms that could affect latency in real-time systems.
- Requirements:
- The application requires Python version 3.6 or higher and specific dependencies such as numpy, scipy, and scikit-learn.
Observed Jul 17, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Slowing (190d since push)
- As of Sep 26, 2026
- Provenance
- Not a fork · Organization account
- As of Sep 26, 2026
- Security (OSV)
- No lockfile
- As of Jul 11, 2026
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install metric-learn PyPIHow it fits your stack(1)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
metric-learn contains efficient Python implementations of several metric learning algorithms compatible with scikit-learn's API.
Capability facts
- Languages
- python
Source: github.language · Sep 26, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Sep 26, 2026)
metric-learn: Metric Learning in PythonSource link
Tags
README
GitHub Actions Build Status License PyPI version Code coverage metric learn: Metric Learning in Python ======================================= metric learn contains efficient Python implementations of several popular supervised and weakly supervised metric learning algorithms. As...
For agents
This page has a .md twin and JSON over the API.