cpdflow.model.model.run_model

run_model(model_config: dict, log_format: str) None[source]

Run model and assigns the following to the model_config dictionary.

  • model: a fitted model

  • custom metrics: additional metrics to log in Factsheets

  • input data schema: schema of the training data

  • target: column name of target variable

Parameters:
  • config (dict) – configuration dictionary

  • log_format (str) – log format for this method