-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_node_experiments.sh
More file actions
executable file
·59 lines (53 loc) · 1.18 KB
/
run_node_experiments.sh
File metadata and controls
executable file
·59 lines (53 loc) · 1.18 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
# Run node classification experiments with hyperparameters from Appendix C.1 (Table 3)
# Use the hgt conda environment
PYTHON="\path\to\your\conda\envs\python.exe"
# Cora
echo "Training on Cora..."
$PYTHON scripts/train_node.py \
--dataset cora \
--cuda 2 \
--lr 0.1 \
--weight_decay 5e-4 \
--M 100 \
--R 7 \
--theta 2.0 \
--epochs 1000 \
--save_model
# Citeseer - Commented out
# echo "Training on Citeseer..."
# $PYTHON scripts/train_node.py \
# --dataset citeseer \
# --cuda 0 \
# --lr 0.1 \
# --weight_decay 5e-4 \
# --M 100 \
# --R 5 \
# --theta 2.5 \
# --epochs 1000 \
# --save_model
# Pubmed - Commented out
# echo "Training on Pubmed..."
# $PYTHON scripts/train_node.py \
# --dataset pubmed \
# --cuda 0 \
# --lr 0.1 \
# --weight_decay 5e-4 \
# --M 100 \
# --R 5 \
# --theta 3.8 \
# --epochs 1000 \
# --save_model
# Cornell - M=100, R=6, Θ=2.9, Lr=7.3e-2, Wd=3.7e-4
# echo "Training on Cornell..."
# $PYTHON scripts/train_node.py \
# --dataset cornell \
# --cuda 0 \
# --lr 7.3e-2 \
# --weight_decay 3.7e-4 \
# --M 100 \
# --R 6 \
# --theta 2.9 \
# --epochs 1000 \
# --save_model
echo "All experiments completed!"