QUT-Digital-Observatory / coordination-network-toolkit

A small command line tool and set of functions for studying coordination networks in Twitter and other social media data.
MIT License
71 stars 14 forks source link

Different time windows share the same graph. Example python code issue #56

Open myrainbowandsky opened 1 year ago

myrainbowandsky commented 1 year ago

python 3.8.15 ubuntu 22.04.1 LTS

coord_net_tk.compute_networks.compute_co_similar_tweet(db_name, n_threads=50, time_window=55)

similarity_graph1 = coord_net_tk.graph.load_networkx_graph(db_name, "co_retweet")

coord_net_tk.compute_networks.compute_co_similar_tweet(db_name, n_threads=50, time_window=5)

similarity_graph2 = coord_net_tk.graph.load_networkx_graph(db_name, "co_retweet")

similarity_graph1 and similarity_graph2 are identical.

What happened??