list_networks#
- causalbase.datasets.list_networks()[source]#
Return the bundled networks and their variable counts, smallest first.
- Returns:
- dict[str, int]
Network name to number of variables.
Examples
>>> from causalbase.datasets import list_networks >>> list_networks() {'cancer': 5, 'asia': 8, 'child': 20, 'insurance': 27, 'alarm': 37}