Analysis Module
analysis is the top-level pipeline class. It accepts user-defined event,
graph, selection, model, and metric templates; reads ROOT and HDF5 files; builds
all compiled objects in parallel; and launches the training/evaluation loop.
It inherits from notification (logging) and tools (utilities).
Class: analysis
Header: <AnalysisG/analysis.h>
Inheritance: notification, tools
Configuration Field
Field |
Type |
Description |
|---|---|---|
|
|
Aggregated settings struct controlling output paths, thread counts, batch size, kfolds, epochs, TrainSize, etc. |
|
|
Dataset metadata objects indexed by file path. |
Registration Methods
Signature |
Description |
|---|---|
|
Registers a ROOT file or directory path under dataset label label. |
|
Registers an event-class prototype ev for files with label label. |
|
Registers a graph-class prototype gr for label label. |
|
Registers a selection prototype (applied to all events). |
|
Associates a metric mx with model mdl. |
|
Registers a model with optimiser parameters and run name. |
|
Registers a model with default optimiser parameters. |
Execution Methods
Signature |
Description |
|---|---|
|
Attaches the thread pool to the event/graph compilation workers. |
|
Runs the complete pipeline: reads files → builds events → builds graphs → builds selections → trains models → evaluates metrics. |
|
Returns per-model training progress as a map of model-name → list of (epoch, loss) pairs. |
|
Returns the current training mode string per model. |
|
Returns a human-readable progress report per model. |
|
Returns whether each model has finished all epochs. |