databricks.labs.dqx.anomaly.anomaly_workflow
Workflow to train anomaly detection models on Databricks.
Requires the 'anomaly' extras: pip install databricks-labs-dqx[anomaly]
AnomalyTrainerWorkflow Objects
class AnomalyTrainerWorkflow(Workflow)
Workflow wrapper for periodic anomaly model training.
train_model
@workflow_task
def train_model(ctx: WorkflowContext) -> None
Train anomaly detection model for the configured run.