SIENTIAPDE-1273
Update image tag to 1.1.2 in values.yaml and refactor prediction data sorting in model_repository.py for improved clarity and consistency.
This commit is contained in:
@@ -723,7 +723,7 @@ class MLFlowRepository(SientiaMonitoring):
|
|||||||
prediction_data.index = input_index
|
prediction_data.index = input_index
|
||||||
|
|
||||||
# Merge prediction data with retrain_dataset on index
|
# Merge prediction data with retrain_dataset on index
|
||||||
prediction_data = pd.merge(
|
prediction_data = pd.merge( # NOSONAR
|
||||||
retrain_dataset, prediction_data, left_index=True, right_index=True, how='left'
|
retrain_dataset, prediction_data, left_index=True, right_index=True, how='left'
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -734,7 +734,7 @@ class MLFlowRepository(SientiaMonitoring):
|
|||||||
|
|
||||||
prediction_data.reset_index(drop=True, inplace=True)
|
prediction_data.reset_index(drop=True, inplace=True)
|
||||||
|
|
||||||
prediction_data.sort_values(by='timestamp', ascending=True, inplace=True)
|
prediction_data = prediction_data.sort_values(by='timestamp', ascending=True)
|
||||||
|
|
||||||
return prediction_data
|
return prediction_data
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ image:
|
|||||||
# This sets the pull policy for images.
|
# This sets the pull policy for images.
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "1.1.1"
|
tag: "1.1.2"
|
||||||
|
|
||||||
0# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
0# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|||||||
Reference in New Issue
Block a user