src.dienstleister_services.ml_training.ml_training_service.py

MLTrainingService

class MlTrainingService(*args, **kwargs)

Bases: FastIoTService

ML Training Service (Dienstleister)

Parameters:
  • args – Positional arguments passed to the superclass or internal use.

  • kwargs – Arbitrary keyword arguments, allowing for extensibility or forwarding to the superclass constructor or other components.

async produce()

Produces a model in regular intervals using train_model()

async train_model(**kwargs)

Trains a Mlflow-tracked model

Parameters:

kwargs – Arbitrary keyword arguments, allowing for extensibility or forwarding to the superclass constructor or other components.