{"adoption": {"forks": 1360, "observed_at": "2026-08-28T04:09:56.029188+00:00", "stars": 7121}, "canonical_url": "https://ross.abutalabs.com/products/imbalanced-learn", "card": {"archived": false, "artifact_type": "library", "description": " A Python Package to Tackle the Curse of Imbalanced Datasets in Machine Learning", "domain": ["machine-learning", "data-science"], "enriched": true, "function": ["machine-learning", "data-science", "testing"], "health_score": 93, "homepage": "https://imbalanced-learn.org", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["scikit-learn-contrib/imbalanced-learn"], "name": "scikit-learn-contrib/imbalanced-learn", "platform": ["python", "cross-platform"], "pushed_at": "2026-06-29T16:33:16+00:00", "repo": "scikit-learn-contrib/imbalanced-learn", "stars": 7121, "tags": ["imbalanced-data", "resampling", "smote", "scikit-learn", "classification"], "topics": ["machine-learning", "python", "statistics", "data-science", "data-analysis"], "urls": [], "use_cases": ["handle imbalanced classification datasets", "apply SMOTE oversampling in Python", "undersample majority class in training data", "resample data before training a scikit-learn model", "fix class imbalance in fraud or anomaly detection datasets", "combine over- and under-sampling pipelines"], "what_it_is": "imbalanced-learn is a Python library offering re-sampling techniques (over-sampling, under-sampling, and combinations) for datasets with strong class imbalance. It is fully compatible with scikit-learn and part of the scikit-learn-contrib ecosystem.", "when_to_avoid": ["your dataset is balanced or only mildly imbalanced", "you need deep-learning-specific imbalance handling outside the scikit-learn ecosystem", "you need anomaly detection rather than supervised resampling"], "when_to_choose": ["your classification dataset has heavily skewed class distributions", "you want scikit-learn-compatible transformers and pipelines for resampling", "you need well-established techniques like SMOTE, ADASYN, or Tomek links"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/imbalanced-learn", "repo": "scikit-learn-contrib/imbalanced-learn", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "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:09:56.029188+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.029188+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:40:05.391976+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f867bb6e62a132561db480a8882ff6804b4c50b42c94cb203c6ccdf90199ca14", "fetched_at": "2026-08-28T04:09:56.029188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scikit-learn-contrib/imbalanced-learn"}, {"content_hash": "07f2c310a094834fdfd23314170e52db1c855f8dd9c53092da6311d943887464", "fetched_at": "2026-08-29T08:35:36.968768+00:00", "kind": "homepage", "missing": false, "url": "https://imbalanced-learn.org"}, {"content_hash": "eb1817d08179be9f99983001b603d467b0f12f15f5c7135e23d96ffe1b78d723", "fetched_at": "2026-08-29T08:35:36.977773+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/imbalanced-learn/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 63}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4400, "days_push": 65, "days_rel": 87, "gap_med": 148.0, "n_releases_24m": 5}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}