gigl.src.mocking.dataset_asset_mocking_suite#
Attributes#
Classes#
This class houses functions which are used to mock datasets for testing purposes, |
Module Contents#
- class gigl.src.mocking.dataset_asset_mocking_suite.DatasetAssetMockingSuite[source]#
This class houses functions which are used to mock datasets for testing purposes, e.g. mock_cora_homogeneous_supervised_node_classification_dataset. To add a mocking task, create a new function which starts with mock and returns a MockedDatasetInfo instance.
- class ToyGraphData[source]#
-
- edge_types: Dict[str, gigl.src.common.types.graph_data.EdgeType][source]#
- compute_datasets_to_mock(selected_datasets=None)[source]#
Returns a dictionary of mocked datasets to be used in the mocking suite. If selected_datasets is provided, only those datasets will be returned.
- Parameters:
selected_datasets (Optional[List[str]])
- Return type:
Dict[str, gigl.src.mocking.lib.mocked_dataset_resources.MockedDatasetInfo]