{"adoption": {"forks": 1148, "observed_at": "2026-08-28T04:07:56.179033+00:00", "stars": 3318}, "canonical_url": "https://ross.abutalabs.com/products/pgmpy", "card": {"archived": false, "artifact_type": "library", "description": "Python Toolkit for Causal and Probabilistic Reasoning", "domain": ["machine-learning", "data-science"], "enriched": true, "function": ["machine-learning", "data-science", "simulation", "data-generation", "sdk"], "health_score": 97, "homepage": "https://pgmpy.org/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["pgmpy/pgmpy"], "name": "pgmpy/pgmpy", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-19T13:19:42+00:00", "repo": "pgmpy/pgmpy", "stars": 3318, "tags": ["bayesian-networks", "causal-inference", "causal-discovery", "probabilistic-graphical-models", "structure-learning", "parameter-estimation", "scikit-learn-compatible", "graphical-models", "algorithms", "statistics"], "topics": ["python", "bayesian-networks", "causal-inference", "causal-discovery", "causal-identification", "causal-models", "probabilistic-inference", "mixed-data", "synthetic-data", "causal-validation", "simulation", "causal-effect", "causal-prediction", "graphical-models", "hacktoberfest"], "urls": [], "use_cases": ["learn causal graph structure from data", "run probabilistic inference on a bayesian network", "estimate causal effects from observational data", "fit conditional probability distributions to a known graph", "simulate synthetic data from a fitted model", "check whether a causal effect is identifiable from a causal graph", "build a probabilistic graphical model in python"], "what_it_is": "pgmpy is a Python library for causal and probabilistic reasoning with graphical models such as Bayesian Networks, Dynamic Bayesian Networks, DAGs, and Structural Equation Models. It provides a unified, scikit-learn compatible API covering causal discovery, parameter estimation, probabilistic and causal inference, causal identification, model validation, and data simulation.", "when_to_avoid": ["you need deep-learning-based probabilistic modeling or neural networks", "you need a GUI for building Bayesian networks", "you only need general-purpose graph algorithms without probabilistic semantics"], "when_to_choose": ["you need causal discovery, identification, or effect estimation in Python", "you want exact or approximate inference over Bayesian Networks", "you want sklearn-compatible estimators that fit into ML pipelines", "you need to simulate observational or interventional data from graphical models"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pgmpy", "repo": "pgmpy/pgmpy", "role": "main", "score": 81}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/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:07:56.179033+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:56.179033+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:42:03.481556+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1bc36778b3ae2ae110436723d35115e809768eccee15e912792fea8b62bcc258", "fetched_at": "2026-08-28T04:07:56.179033+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pgmpy/pgmpy"}, {"content_hash": "92367549a1d0f0de7263fc612c93596081685199d39e0c169de7b91412ec9fb7", "fetched_at": "2026-08-29T09:35:04.687346+00:00", "kind": "homepage", "missing": false, "url": "https://pgmpy.org/"}, {"content_hash": "88550ef1becaad370dfb2814bae504ba88aef58019c314e69e1229841a369c01", "fetched_at": "2026-08-29T09:35:04.696357+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/documentation.html"}, {"content_hash": "e81a0e72e3de30eee9c0d0e15d29d0fc757ce13b45862a411ccea9cfdc9551a8", "fetched_at": "2026-08-29T09:35:04.698138+00:00", "kind": "site_page", "missing": false, "url": "https://pgmpy.org/started/quickstart.html"}, {"content_hash": "43547e910dbd766cef6040c8a39bc79cf24c630a1fa6197068c5b5644981c2fe", "fetched_at": "2026-08-29T09:35:04.700270+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pgmpy/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 49}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4730, "days_push": 14, "days_rel": 125, "gap_med": 196.5, "n_releases_24m": 3}, "score": 81, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}