smartem_backend.cli.random_model_predictions
#
Members
Generate random predictions for a single foilhole using all available models. |
|
Generate random predictions for a single gridsquare using all available models. |
|
|
|
|
- smartem_backend.cli.random_model_predictions.generate_predictions_for_gridsquare(gridsquare_uuid: str, grid_uuid: str | None = None, engine: Engine = None) None [source]#
Generate random predictions for a single gridsquare using all available models.
- Parameters:
gridsquare_uuid – UUID of the gridsquare to generate predictions for
grid_uuid – UUID of the parent grid (optional, will be looked up if not provided)
engine – Optional database engine (uses singleton if not provided)
- smartem_backend.cli.random_model_predictions.generate_predictions_for_foilhole(foilhole_uuid: str, gridsquare_uuid: str | None = None, engine: Engine = None) None [source]#
Generate random predictions for a single foilhole using all available models.
- Parameters:
foilhole_uuid – UUID of the foilhole to generate predictions for
gridsquare_uuid – UUID of the parent gridsquare (optional, for validation if provided)
engine – Optional database engine (uses singleton if not provided)