smartem_backend.cli.initialise_prediction_model_weights#

Members

initialise_all_models_for_grid

Initialise prediction model weights for all available models for a specific grid.

initialise_prediction_model_for_grid

Initialise a single prediction model weight for a grid (CLI interface).

run

smartem_backend.cli.initialise_prediction_model_weights.initialise_all_models_for_grid(grid_uuid: str, engine: Engine = None) None[source]#

Initialise prediction model weights for all available models for a specific grid.

Parameters:
  • grid_uuid – UUID of the grid to initialise weights for

  • engine – Optional database engine (uses singleton if not provided)

smartem_backend.cli.initialise_prediction_model_weights.initialise_prediction_model_for_grid(name: str, weight: float, grid_uuid: str | None = None, engine: Engine = None) None[source]#

Initialise a single prediction model weight for a grid (CLI interface).

Parameters:
  • name – Prediction model name

  • weight – Weight value to assign

  • grid_uuid – Grid UUID (if None, uses first available grid)

  • engine – Optional database engine (uses singleton if not provided)