Refactor ModelMetrics to utilize DriftAnalysis for drift detection - Replaced ModelAnalysis with DriftAnalysis in the ModelMetrics class to enhance drift detection capabilities. - Updated method signatures and documentation to reflect the changes in target_name and return values. - Adjusted data handling to ensure compatibility with the new analysis methods and improved clarity in the drift metrics dataframe preparation.
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"metadata": {
|
|
"metadata": {
|
|
"model_id": "{{MODEL_ID}}",
|
|
"model_name": "test_model",
|
|
"schedule_name": "test-schedule",
|
|
"workflow_name": "predictions_batch"
|
|
}
|
|
},
|
|
"schedule_name": "test-schedule",
|
|
"model_name": "test_model",
|
|
"model_id": "{{MODEL_ID}}",
|
|
"query": "SELECT timestamp, variable, value, created_at FROM sientia_data.laborious_data WHERE model_id = {{MODEL_ID}}",
|
|
"schema": "sientia_data",
|
|
"table_name": "predictions",
|
|
"transform_table_name": "transformed_data",
|
|
"input_filters": {
|
|
"EMPTY_DATA": {
|
|
"POLICY": "STOP",
|
|
"CONFIG": {}
|
|
}
|
|
},
|
|
"mlflow_transform_filters": {
|
|
"API_ERROR": {
|
|
"POLICY": "STOP",
|
|
"CONFIG": {}
|
|
}
|
|
},
|
|
"mlflow_predict_filters": {
|
|
"API_ERROR": {
|
|
"POLICY": "STOP",
|
|
"CONFIG": {}
|
|
}
|
|
},
|
|
"path_priority": ["STOP", "CONTINUE", "REPEAT"],
|
|
"opc_output_config": {},
|
|
"pi_web_api_output_config": {},
|
|
"save_transform": true,
|
|
"prediction_store_policy": "lts:1",
|
|
"model_config": {
|
|
"target": "sensor_1",
|
|
"retention_minutes": 0
|
|
},
|
|
"datetime_columns": ["timestamp", "created_at"]
|
|
}
|