Skip to content

Commit 2a5b354

Browse files
MatthewMiddlehurstpattplatt
authored andcommitted
test params
1 parent 68ca69a commit 2a5b354

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aeon/anomaly_detection/whole_series/_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _predict(self, X):
5959
@classmethod
6060
def _get_test_params(cls, parameter_set="default"):
6161
return {
62-
"estimator": SummaryClassifier(
62+
"classifier": SummaryClassifier(
6363
estimator=RandomForestClassifier(n_estimators=5)
6464
)
6565
}

aeon/anomaly_detection/whole_series/_outlier_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ def _predict(self, X):
5555

5656
@classmethod
5757
def _get_test_params(cls, parameter_set="default"):
58-
return {"estimator": IsolationForest(n_estimators=3)}
58+
return {"detector": IsolationForest(n_estimators=3)}

0 commit comments

Comments
 (0)