nodepred_cora_sage.yaml 1.02 KB
Newer Older
Jinjing Zhou's avatar
Jinjing Zhou committed
1
# Accuracy across 10 runs: 0.8163 ± 0.006856
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
device: cuda:0
data:
  name: cora
model:
  name: sage
  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.
  activation: relu
  dropout: 0.5                # Dropout rate.
  aggregator_type: gcn        # Aggregator type to use (``mean``, ``gcn``, ``pool``, ``lstm``).
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
27
  save_path: "results"        # Directory to save the experiment results
Jinjing Zhou's avatar
Jinjing Zhou committed
28
  num_runs: 10                # Number of experiments to run