openMWR.evaluation#
Named evaluation recipes, common-sample comparisons and portable results.
Functions
|
Evaluate a named comparison without training, downloading or saving results. |
|
Build the complete HTML in memory, including its figures. |
|
Save one standalone HTML report, preserving existing files. |
Classes
|
|
|
|
|
Editable comparison settings. |
- class openMWR.evaluation.EvaluationRecipe(project_dir, site, name, values)[source]#
Bases:
objectEditable comparison settings. Both the command and Python use this object.
- project_dir#
- site#
- name#
- values#
- class openMWR.evaluation.Evaluation(key: str, mode: str, title: str, error_types: tuple[str, ...], samples: dict, metrics: dict[str, xarray.core.dataset.Dataset], note: str = '')[source]#
Bases:
object- key#
- mode#
- title#
- error_types#
- samples#
- metrics#
- note = ''#
- class openMWR.evaluation.Analysis(metadata: dict, evaluations: list[openMWR.evaluation.Evaluation])[source]#
Bases:
object- metadata#
- evaluations#
- openMWR.evaluation.evaluate(recipe, *, retrievals=None, device='auto')[source]#
Evaluate a named comparison without training, downloading or saving results.
- openMWR.evaluation.save_evaluation(analysis, output_file=None)[source]#
Save one standalone HTML report, preserving existing files.
Numerical results remain available on
analysis.evaluationsfor custom Python work. No numerical export or report subdirectory is created.
- openMWR.evaluation.render_report(analysis)[source]#
Build the complete HTML in memory, including its figures.
References