Skip to content

GDELT/chain_results.json missing some nodes #1

Description

@Kewth

The GDELT dataset contains 6,786 nodes, but the pre-processed file GDELT/chain_results.json only contains entries for 5,849 nodes.

When running the model, the code attempts to access features for node IDs that exist in the graph but are missing from the JSON file, causing the following crash:

File ".../TemporalChainModules.py", line 39, in find_temporal_chain_features
    temporal_chain_timestamp, temporal_chain_feature = self.temporal_chain_features[node_id]
KeyError: np.int64(5910)

Is the provided chain_results.json outdated/incomplete?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions