Skip to content
Andrea Vandin edited this page Jul 21, 2022 · 26 revisions

This repository contains code to process weighted graphs from https://networks.skewed.de/?tags=Weighted to export them in a CSV format supported by the https://www.erode.eu/ tool

Please open the following jupyter lab notebook on Google colab and run it.

  • Please click on this badge: Open In Colab

After following the link:

  • Click on 'Copy to Drive' to create your own copy of this file on your Google drive
    • highly suggested, otherwise you will loose any change applied and file created
  • Add all graphs of interest in the list model_names
    • model_names=["blumenau_drug"]
    • You shall use the identifier in the first column here
    • E.g.: model_names=["blumenau_drug","kangaoo"]
  • Set flags download_file and store_on_gdrive to True or False
    • store_on_gdrive=True implies that exported CSV files will be stored in your google drive
    • store_on_gdrive=True (and at the same time store_on_gdrive=False) implies that exported CSV files will be downloaded
  • Run all cells.
    • All installation steps will be performed
    • The weighted graph blumenau_drug will be processed
Clone this wiki locally