We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c0f05 commit 11d3448Copy full SHA for 11d3448
ads/opctl/operator/lowcode/forecast/model/prophet.py
@@ -118,8 +118,8 @@ def objective(trial):
118
)
119
120
# Manual workaround because pandas 1.x dropped support for M and Y
121
- interval = self.spec.horizon.interval
122
- unit = self.spec.horizon.interval_unit
+ interval = self.spec.horizon
+ unit = self.spec.freq.split('-')[0] if self.spec.freq else None
123
if unit == "M":
124
unit = "D"
125
interval = interval * 30.5
0 commit comments