From 985437bee8539e0180085e914f0796412ee9793d Mon Sep 17 00:00:00 2001 From: Aryan Ramani Date: Thu, 24 Oct 2024 11:09:34 +0100 Subject: [PATCH] fix: _get_test_params method --- aeon/anomaly_detection/_cblof.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/aeon/anomaly_detection/_cblof.py b/aeon/anomaly_detection/_cblof.py index 20f755c47c..3279c82a00 100644 --- a/aeon/anomaly_detection/_cblof.py +++ b/aeon/anomaly_detection/_cblof.py @@ -136,7 +136,7 @@ def _fit_predict( return super()._fit_predict(X, y) @classmethod - def get_test_params(cls, parameter_set="default"): + def _get_test_params(cls, parameter_set="default"): """Return testing parameter settings for the estimator. Parameters @@ -153,4 +153,8 @@ def get_test_params(cls, parameter_set="default"): `MyClass(**params)` or `MyClass(**params[i])` creates a valid test instance. `create_test_instance` uses the first (or only) dictionary in `params`. """ - return {} + return { + "n_clusters": 4, + "alpha": 0.75, + "beta": 3, + }