Input files
XANESNET uses YAML configuration files for three workflow modes: training, inference, and analysis. Each mode has its own top-level sections.
Every configuration is validated against the schemas in xanesnet/schemas/.
The schemas define allowed fields, types, and default values.
The required top-level sections are:
* training: datasource, dataset, model, trainer, strategy, and encodings
* inference: datasource, dataset, and inferencer
* analysis: selectors, collectors, aggregators, reporters, and plotters
Many nested fields have defaults, so they do not need to be written when the default is suitable.
Example files are available in configs/.
The command-line workflows that consume these files are described in Running XANESNET,
and schema validation is implemented by validate_config_schema().
Configuration sections
The detailed configuration pages are organised by top-level section:
Section |
Purpose |
Details |
|---|---|---|
|
Locate raw structures and spectra. |
|
|
Prepare, represent, cache, and split the data. |
|
|
Transform spectra before model input or loss calculation. |
|
|
Select the neural network and its parameters. |
|
|
Configure optimisation, losses, validation, and stopping. |
|
|
Select single-model or ensemble training behaviour. |
|
|
Configure prediction from a trained checkpoint. |
|
Analysis lists |
Select, score, summarise, report, and plot predictions. |