-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathutility_stats.sh
More file actions
30 lines (25 loc) · 820 Bytes
/
utility_stats.sh
File metadata and controls
30 lines (25 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# List of ratios
ratios=(0.1)
# List of datasets to run
datasets=("cora")
# List of unlearning methods
methods=("MEGU")
base_model=("GCN")
for method in "${methods[@]}"; do
for dataset in "${datasets[@]}"; do
for ratio in "${ratios[@]}"; do
for base in "${base_model[@]}"; do
echo "Running for ratio=$ratio, dataset=$dataset, method=$method, base model=$base"
python GULib-master/evaluate_unlearning.py \
--unlearn_task "node" \
--unlearn_ratio "$ratio" \
--dataset_name "$dataset" \
--unlearning_methods "$method" \
--num_runs 1 \
--base_model "$base"
echo -e "\n"
done
done
done
done