Skip to content

voiage.cli.calculate_validation

calculate_validation([positional or keyword] surface_file: Path = typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data for model-validation VOI'), [positional or keyword] output_file: Path | None = typer.Option(None, '--output', '-o', help='File to save model-validation result')) -> None

Calculate value of model validation from a JSON surface file.

Calculate validation regret and consensus strategy:

.. code-block:: bash

voiage calculate-validation validation_surface.json

Parameters:

  • surface_file Path (default: typer.Argument(..., exists=True, file_okay=True, dir_okay=False, readable=True, help='Path to JSON surface data for model-validation VOI'))
  • output_file Path | None (default: typer.Option(None, '--output', '-o', help='File to save model-validation result'))

Returns: None