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 c48ebaf commit 0771997Copy full SHA for 0771997
ads/opctl/operator/lowcode/anomaly/utils.py
@@ -9,7 +9,7 @@
9
10
from ads.opctl import logger
11
12
-from .const import SupportedMetrics, SupportedModels
+from ..const import NonTimeADSupportedModels, SupportedMetrics, SupportedModels
13
from .operator_config import AnomalyOperatorSpec
14
15
@@ -80,6 +80,6 @@ def default_signer(**kwargs):
80
81
82
def select_auto_model(operator_config):
83
- if operator_config.spec.datetime_column.name is not None:
+ if operator_config.spec.datetime_column is not None:
84
return SupportedModels.AutoTS
85
- return SupportedModels.IsolationForest
+ return NonTimeADSupportedModels.IsolationForest
0 commit comments