Skip to content

Commit cc90178

Browse files
committed
address testing errors
1 parent dd318fe commit cc90178

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGES.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,5 @@ v<1.1.1>, <07/03/2023> -- Bump up sklearn requirement and some hot fixes.
182182
v<1.1.1>, <10/24/2023> -- Add deep isolation forest (#506).
183183
v<1.1.2>, <11/17/2023> -- Massive documentation optimization.
184184
v<1.1.2>, <11/17/2023> -- Fix the issue of contamination.
185-
v<1.1.2>, <11/17/2023> -- KPCA bug fix (#494).
185+
v<1.1.2>, <11/17/2023> -- KPCA bug fix (#494).
186+
v<1.1.3>, <02/07/2024> -- Minor fix for SUOD changes.

pyod/models/suod.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
133133
target_dim_frac=0.5, jl_method='basic', bps_flag=True,
134134
approx_clf_list=None, approx_ng_clf_list=None,
135135
approx_flag_global=True, approx_clf=None,
136-
cost_forecast_loc_fit=None, cost_forecast_loc_pred=None,
137136
verbose=False):
138137
super(SUOD, self).__init__(contamination=contamination)
139138
self.base_estimators = base_estimators
@@ -150,8 +149,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
150149
self.approx_ng_clf_list = approx_ng_clf_list
151150
self.approx_flag_global = approx_flag_global
152151
self.approx_clf = approx_clf
153-
self.cost_forecast_loc_fit = cost_forecast_loc_fit
154-
self.cost_forecast_loc_pred = cost_forecast_loc_pred
155152
self.verbose = verbose
156153

157154
# by default we will provide a group of performing models
@@ -179,8 +176,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
179176
approx_flag_global=self.approx_flag_global,
180177
approx_clf=self.approx_clf,
181178
bps_flag=self.bps_flag,
182-
cost_forecast_loc_fit=self.cost_forecast_loc_fit,
183-
cost_forecast_loc_pred=self.cost_forecast_loc_pred,
184179
verbose=self.verbose,
185180
)
186181

0 commit comments

Comments
 (0)