Skip to content

Commit 297b4cf

Browse files
author
vm-aifluence-jro
committed
kwargs removed from compare
1 parent 48a9d8b commit 297b4cf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

qolmat/benchmark/comparator.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def evaluate_errors_sample(
9292
imputer: Any,
9393
df: pd.DataFrame,
9494
dict_config_opti_imputer: Dict[str, Any] = {},
95-
**kwargs,
9695
) -> pd.Series:
9796
"""Evaluate the errors in the cross-validation
9897
@@ -137,7 +136,6 @@ def evaluate_errors_sample(
137136
def compare(
138137
self,
139138
df: pd.DataFrame,
140-
**kwargs,
141139
):
142140
"""Function to compare different imputation methods on dataframe df
143141
@@ -159,7 +157,7 @@ def compare(
159157

160158
try:
161159
dict_errors[name] = self.evaluate_errors_sample(
162-
imputer, df, dict_config_opti_imputer, **kwargs
160+
imputer, df, dict_config_opti_imputer
163161
)
164162
print(f"Tested model: {type(imputer).__name__}")
165163
except Exception as excp:

0 commit comments

Comments
 (0)