Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 2.64 KB

File metadata and controls

45 lines (24 loc) · 2.64 KB
graph LR
    graphgym_train_train["graphgym.train.train"]
    graphgym_train_train_epoch["graphgym.train.train_epoch"]
    graphgym_train_eval_epoch["graphgym.train.eval_epoch"]
    graphgym_train_train -- "calls" --> graphgym_train_train_epoch
    graphgym_train_train -- "calls" --> graphgym_train_eval_epoch
Loading

CodeBoardingDemoContact

Details

The Experiment Orchestrator subsystem, primarily encapsulated in graphgym/train.py, manages the lifecycle of machine learning experiments from initialization through iterative training and evaluation.

graphgym.train.train

This function serves as the central control flow for the entire experiment. It initializes the training process, manages the iterative execution of training and evaluation epochs, and oversees the overall experiment lifecycle. It embodies the "Experiment Orchestrator" pattern by coordinating various stages of the ML pipeline.

Related Classes/Methods:

graphgym.train.train_epoch

This function encapsulates the logic for a single training iteration (epoch). It is responsible for iterating through data batches, performing forward passes, calculating loss, backpropagating gradients, and updating model parameters. This represents a distinct "Task Execution" stage within the overall pipeline.

Related Classes/Methods:

graphgym.train.eval_epoch

This function encapsulates the logic for a single evaluation iteration (epoch). It involves iterating through validation/test data, performing forward passes, and computing relevant evaluation metrics without updating model parameters. This also represents a distinct "Task Execution" stage within the pipeline.

Related Classes/Methods: