SIENTIAPDE-1222
Update model configuration keys in MLFlowRepository for consistency - Changed 'model_retention' to 'retention_minutes' and 'is_compressed' to 'compressed' in model configuration handling, ensuring alignment with updated configuration standards.
This commit is contained in:
@@ -40,9 +40,9 @@ class MLFlowRepository():
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
model_retention = model_config.get('model_retention', 0)
|
model_retention = model_config.get('retention_minutes', 0)
|
||||||
flavor = model_config.get('transform_flavor', 'sklearn')
|
flavor = model_config.get('transform_flavor', 'sklearn')
|
||||||
compressed = model_config.get('is_compressed', False)
|
compressed = model_config.get('compressed', False)
|
||||||
retention_target = model_config.get('retention_target', 'model')
|
retention_target = model_config.get('retention_target', 'model')
|
||||||
transform_keyword = model_config.get(
|
transform_keyword = model_config.get(
|
||||||
'transform_function_keyword', 'predict')
|
'transform_function_keyword', 'predict')
|
||||||
|
|||||||
Reference in New Issue
Block a user