See the report for full documenatation:
cd
into root directory- Create venv with
python3.9 -m venv .venv
- Activate venv with
source .venv/bin/activate
- Install dependencies with
pip3 install -r requirements.txt
(don't forget to upgrade pip)
Create a config file (yaml), like the following example:
Snap_CNM_email:
lib: "snap"
dataset_path: "storage/email-Eu-core-manual-undirected-0-test.txt"
algorithm: "CNM"
gt_path: "storage/email-Eu-core-department-labels-0.txt"
gt_is_overlapping: False
cd
into root- Run programm with
python3 main.py -config <config_path> [OPTIONAL -execute_partition] [OPTIONAL -execute_fitness]
With the optional parameter -execute_partition, the result will autmatically be compared with the ground truth and several metrics will get computed. With the optional parameter -execute_fitness, the result will autmatically be analized (without ground truth) and several metrics will get computed. For the computation of the evaluation metrics we use the CDLib Library.