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 8f4f362 commit c0d0565Copy full SHA for c0d0565
ads/opctl/operator/lowcode/anomaly/model/randomcutforest.py
@@ -36,7 +36,7 @@ def _build_model(self) -> AnomalyOutput:
36
# Set tree parameters
37
num_trees = model_kwargs.get("num_trees", 200)
38
shingle_size = model_kwargs.get("shingle_size", None)
39
- anamoly_threshold = model_kwargs.get("anamoly_threshold", 95)
+ anomaly_threshold = model_kwargs.get("anamoly_threshold", 95)
40
41
for target, df in self.datasets.full_data_dict.items():
42
try:
@@ -76,7 +76,7 @@ def _build_model(self) -> AnomalyOutput:
76
)
77
78
y_pred = (
79
- avg_codisp > np.percentile(avg_codisp, anamoly_threshold)
+ avg_codisp > np.percentile(avg_codisp, anomaly_threshold)
80
).astype(int)
81
82
index_col = df.columns[0]
0 commit comments