factor_agent.acceptance.Acceptance.validate#
- Acceptance.validate(selection=None)[source]#
Compare the baseline with the baseline plus a selection of the accepted factors on the validation segment.
- Parameters:
- selectionlist of str, optional
The accepted factors to add, named as
exportnames them (by description or label); every accepted factor by default.- Writes ``acceptance/validation.json`` and ``acceptance/validation.md``
- under the run directory for every accepted factor, and
- ``acceptance/validation_<digest>.json|md`` for a selection of fewer,
- the digest over its members’ labels.
- Raises:
- KeyError
If a name names no accepted factor, or a description several.
- ValueError
If there is no validation segment or no accepted factor, the selection is empty or names a factor twice.