hatvis.datasets.make_news_transactions#
- hatvis.datasets.make_news_transactions(n_per_period=120, periods=('2021', '2022', '2023'), random_state=None)[source]#
Synthetic news articles described by their themes (a stand-in for GDELT-type data).
Each article (hyperedge) mixes one or two narratives (theme groups) and some background themes; the popularity of the narratives changes over the periods (e.g. finance and loss-and-damage grow, energy shifts), so frequent patterns, communities and their evolution can be studied. Returns a
TemporalHypergraphwithedge_data["time"]and the plantednarrativeof each article.
Examples using hatvis.datasets.make_news_transactions#
Simpliciality and nestedness: hypergraph or simplicial complex?
Simpliciality and nestedness: hypergraph or simplicial complex?