nodepred_cora_gcn.yaml 1.13 KB
Newer Older
Jinjing Zhou's avatar
Jinjing Zhou committed
1
# Accuracy across 10 runs: 0.802 ± 0.005329
2
version: 0.0.2
Jinjing Zhou's avatar
Jinjing Zhou committed
3
pipeline_name: nodepred
4
pipeline_mode: train
Jinjing Zhou's avatar
Jinjing Zhou committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
device: cuda:0
data:
  name: cora
model:
  name: gcn
  embed_size: -1              # The dimension of created embedding table. -1 means using original node embedding
  hidden_size: 16             # Hidden size.
  num_layers: 2               # Number of layers.
  norm: both                  # GCN normalization type. Can be 'both', 'right', 'left', 'none'.
  activation: relu            # Activation function.
  dropout: 0.5                # Dropout rate.
  use_edge_weight: false      # If true, scale the messages by edge weights.
general_pipeline:
  early_stop:
    patience: 100             # Steps before early stop
    checkpoint_path: checkpoint.pth # Early stop checkpoint model file path
  num_epochs: 200             # Number of training epochs
  eval_period: 5              # Interval epochs between evaluations
  optimizer:
    name: Adam
    lr: 0.01
    weight_decay: 0.0005
  loss: CrossEntropyLoss
28
  save_path: "results"        # Directory to save the experiment results
Jinjing Zhou's avatar
Jinjing Zhou committed
29
  num_runs: 10                # Number of experiments to run