Skip to content

Commit

Permalink
Hotfix parameter type.
Browse files Browse the repository at this point in the history
  • Loading branch information
AxiomAlive committed Feb 16, 2025
1 parent f2b1601 commit adda834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experiment/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def fit(
def predict(self, X_test: Union[np.ndarray, pd.DataFrame]) -> np.ndarray:
raise NotImplementedError()

def _make_imbalance(self, X_train, y_train, class_belongings, pos_label) -> Tuple[Union[pd.DataFrame, np.ndaray], Union[pd.DataFrame, np.ndaray]]:
def _make_imbalance(self, X_train, y_train, class_belongings, pos_label) -> Tuple[Union[pd.DataFrame, np.ndarray], Union[pd.DataFrame, np.ndarray]]:
is_dataset_initially_imbalanced = True
number_of_positives = class_belongings.get(pos_label)

Expand Down

0 comments on commit adda834

Please sign in to comment.