You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Exception raised when there is an issue with the schema."""
9
12
@@ -12,7 +15,7 @@ def __init__(self, error: str):
12
15
"Invalid forecast operator specification. Check the YAML structure and ensure it "
13
16
"complies with the required schema for forecast operator. \n"
14
17
f"{error}"
15
-
"\nPlease refer to the troubleshooting guide at https://github.com/oracle/accelerated-data-science/blob/main/ads/opctl/operator/lowcode/forecast/model/troubleshooting.MD for resolution steps."
18
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
16
19
)
17
20
18
21
@@ -24,5 +27,5 @@ def __init__(self, error: str):
24
27
"Invalid input data. Check the input data and ensure it "
25
28
"complies with the validation criteria. \n"
26
29
f"{error}"
27
-
"\nPlease refer to the troubleshooting guide at https://github.com/oracle/accelerated-data-science/blob/main/ads/opctl/operator/lowcode/forecast/model/troubleshooting.MD for resolution steps."
30
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
"AUTOMLX explanation accuracy mode is only supported for AutoMLX models. "
721
722
"Please select mode other than AUTOMLX from the available explanations_accuracy_mode options"
722
-
"\nPlease refer to the troubleshooting guide at https://github.com/oracle/accelerated-data-science/blob/main/ads/opctl/operator/lowcode/forecast/model/troubleshooting.MD for resolution steps."
723
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
f"is not supported. Supported models: {SupportedModels.values()}"
24
-
"\nPlease refer to the troubleshooting guide at https://github.com/oracle/accelerated-data-science/blob/main/ads/opctl/operator/lowcode/forecast/model/troubleshooting.MD for resolution steps."
29
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
f"The Historical Data ends on {historical_data.get_max_time()}. The additional data horizon starts on {add_dates[-spec.horizon]}. The horizon should have exactly {spec.horizon} dates after the Historical at a frequency of {historical_data.freq}"
67
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
f"The Additional Data must be present for all historical data and the entire horizon. The Historical Data ends on {historical_data.get_max_time()}. The additonal data horizon starts after {add_dates[-(spec.horizon+1)]}. These should be the same date."
72
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
from .model.forecast_datasetsimportForecastDatasets
@@ -79,7 +82,7 @@ def generate_k_fold_data(
79
82
raiseInsufficientDataError(
80
83
"Insufficient data to evaluate multiple models. Please specify a model "
81
84
"instead of using auto-select."
82
-
"\nPlease refer to the troubleshooting guide at https://github.com/oracle/accelerated-data-science/blob/main/ads/opctl/operator/lowcode/forecast/model/troubleshooting.MD for resolution steps."
85
+
f"\nPlease refer to the troubleshooting guide at {TROUBLESHOOTING_GUIDE} for resolution steps."
0 commit comments