batch_fit_model

batch_fit_model(fit_function: Callable, model_name: str, fit_func_kwargs: dict = {}) → None[source]

Generic function to fit a fit_function to the data of all data sources and save them to file

Parameters
  • fit_function (Callable) – Implementation of a model with fit_data_model

  • model_name (str) – Name of the model which is fitted, used to generate the path

  • fit_func_kwargs (dict, optional) – Additional kwargs passed to fit_function, by default {}