Skip to content

Commit

Permalink
MoMo Data window offset fix for production data (Azure#33200)
Browse files Browse the repository at this point in the history
* MoMo Data window offset fix

* test recordings
  • Loading branch information
nemanjarajic authored Nov 21, 2023
1 parent d1f2d27 commit 27d5712
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion sdk/ml/azure-ai-ml/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/ml/azure-ai-ml",
"Tag": "python/ml/azure-ai-ml_eef1c37dd2"
"Tag": "python/ml/azure-ai-ml_d2948b931b"
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _to_rest_object(self, **kwargs) -> RestMonitoringInputData:
uri=uri,
pre_processing_component_id=self.pre_processing_component,
window_size=self.data_window_size,
window_offset=self.data_window_size,
window_offset="P0D",
)
return monitoring_input_data._to_rest_object()

Expand Down Expand Up @@ -746,7 +746,7 @@ def _to_rest_object(self, **kwargs) -> RestMonitoringInputData:
uri=uri,
pre_processing_component_id=self.pre_processing_component,
window_size=self.data_window_size,
window_offset=self.data_window_size,
window_offset="P0D",
)
return monitoring_input_data._to_rest_object()

Expand Down Expand Up @@ -1029,7 +1029,7 @@ def _to_rest_object(self, **kwargs) -> RestMonitoringInputData:
job_type=self.input_data.type,
uri=self.input_data.path,
window_size=self.data_window_size,
window_offset=self.data_window_size,
window_offset="P0D",
)._to_rest_object()

@classmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jobInputType": "mltable",
"uri": "Direct:1",
"windowSize": "P60D",
"windowOffset": "P60D"
"windowOffset": "P0D"
},
"referenceData": {
"dataContext": "test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jobInputType": "mltable",
"uri": "Direct:1",
"windowSize": "P60D",
"windowOffset": "P60D"
"windowOffset": "P0D"
},
"referenceData": {
"dataContext": "test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"jobInputType": "mltable",
"dataContext": "model_inputs",
"windowSize": "P7D",
"windowOffset": "P7D",
"windowOffset": "P0D",
"columns": {
"correlation_id": "inference_correlation_id"
}
Expand All @@ -38,7 +38,7 @@
"jobInputType": "mltable",
"dataContext": "model_outputs",
"windowSize": "P7D",
"windowOffset": "P7D",
"windowOffset": "P0D",
"columns": {
"correlation_id": "inference_correlation_id",
"prediction": "is_fraud",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"correlation_id": "inference_correlation_id"
},
"windowSize": "P7D",
"windowOffset": "P7D"
"windowOffset": "P0D"
},
{
"inputDataType": "Trailing",
Expand All @@ -42,7 +42,7 @@
"prediction_probability": "is_fraud_probability"
},
"windowSize": "P7D",
"windowOffset": "P7D"
"windowOffset": "P0D"
}
],
"metricThresholds": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"jobInputType": "mltable",
"uri": "Direct:1",
"windowSize": "P60D",
"windowOffset": "P60D"
"windowOffset": "P0D"
},
"referenceData": {
"dataContext": "test",
Expand Down

0 comments on commit 27d5712

Please sign in to comment.