Skip to content

Commit

Permalink
address testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 committed Feb 8, 2024
1 parent dd318fe commit cc90178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,5 @@ v<1.1.1>, <07/03/2023> -- Bump up sklearn requirement and some hot fixes.
v<1.1.1>, <10/24/2023> -- Add deep isolation forest (#506).
v<1.1.2>, <11/17/2023> -- Massive documentation optimization.
v<1.1.2>, <11/17/2023> -- Fix the issue of contamination.
v<1.1.2>, <11/17/2023> -- KPCA bug fix (#494).
v<1.1.2>, <11/17/2023> -- KPCA bug fix (#494).
v<1.1.3>, <02/07/2024> -- Minor fix for SUOD changes.
5 changes: 0 additions & 5 deletions pyod/models/suod.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
target_dim_frac=0.5, jl_method='basic', bps_flag=True,
approx_clf_list=None, approx_ng_clf_list=None,
approx_flag_global=True, approx_clf=None,
cost_forecast_loc_fit=None, cost_forecast_loc_pred=None,
verbose=False):
super(SUOD, self).__init__(contamination=contamination)
self.base_estimators = base_estimators
Expand All @@ -150,8 +149,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
self.approx_ng_clf_list = approx_ng_clf_list
self.approx_flag_global = approx_flag_global
self.approx_clf = approx_clf
self.cost_forecast_loc_fit = cost_forecast_loc_fit
self.cost_forecast_loc_pred = cost_forecast_loc_pred
self.verbose = verbose

# by default we will provide a group of performing models
Expand Down Expand Up @@ -179,8 +176,6 @@ def __init__(self, base_estimators=None, contamination=0.1,
approx_flag_global=self.approx_flag_global,
approx_clf=self.approx_clf,
bps_flag=self.bps_flag,
cost_forecast_loc_fit=self.cost_forecast_loc_fit,
cost_forecast_loc_pred=self.cost_forecast_loc_pred,
verbose=self.verbose,
)

Expand Down

0 comments on commit cc90178

Please sign in to comment.