{"adoption": {"forks": 452, "observed_at": "2026-08-28T04:05:16.931799+00:00", "stars": 1651}, "canonical_url": "https://ross.abutalabs.com/products/benhamner-metrics", "card": {"archived": false, "artifact_type": "library", "description": "Machine learning evaluation metrics, implemented in Python, R, Haskell, and MATLAB / Octave", "domain": ["machine-learning", "data-science"], "enriched": true, "function": ["machine-learning", "benchmarking", "math"], "health_score": 20, "homepage": null, "language": "Python", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["benhamner/Metrics"], "name": "benhamner/Metrics", "platform": ["python", "cross-platform"], "pushed_at": "2023-01-11T06:01:24+00:00", "repo": "benhamner/Metrics", "stars": 1651, "tags": ["evaluation-metrics", "r", "haskell", "matlab", "octave", "kaggle", "algorithms"], "topics": [], "urls": [], "use_cases": ["compute auc and log loss for model evaluation", "calculate mean absolute error and rmse in python", "evaluate ranking models with map at k", "compare metric implementations across python and r", "score kaggle competition submissions with standard metrics", "compute quadratic weighted kappa for grading tasks"], "what_it_is": "A multi-language library providing implementations of supervised machine learning evaluation metrics such as AUC, log loss, MAE, RMSE, and average precision at K. It offers consistent metric implementations across Python, R, Haskell, and MATLAB/Octave.", "when_to_avoid": ["you already use scikit-learn or a modern ML framework with built-in metrics", "you need actively maintained libraries with recent updates", "you need deep learning specific metrics"], "when_to_choose": ["you need standard ML evaluation metrics in Python, R, Haskell, or MATLAB/Octave", "you want consistent metric definitions across multiple languages", "you need metrics like MAP@K or quadratic weighted kappa not in your framework"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/benhamner-metrics", "repo": "benhamner/Metrics", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:16.931799+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:45:01.430035+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e6a1ed46600ff445c3a075f7e5251c625d02bc50e7d1a42c97756cf418c82efa", "fetched_at": "2026-08-28T04:05:16.931799+00:00", "kind": "readme", "missing": false, "url": "https://github.com/benhamner/Metrics"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5195, "days_push": 1330, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}