Skip to content

Commit

Permalink
fix: _get_test_params method
Browse files Browse the repository at this point in the history
  • Loading branch information
notaryanramani committed Oct 24, 2024
1 parent bdc4bf6 commit 985437b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions aeon/anomaly_detection/_cblof.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
}

0 comments on commit 985437b

Please sign in to comment.