Skip to content

Commit

Permalink
typing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bmramor committed Mar 19, 2024
1 parent 289f8eb commit 54dd256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outrank/algorithms/importance_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_importances_estimate_nonmyopic(args: Any, tmp_df: pd.DataFrame):
pass


def initialize_classifier(surrogate_model: string):
def initialize_classifier(surrogate_model: str):
if 'surrogate-LR' in surrogate_model:
return LogisticRegression(max_iter=100000)
elif 'surrogate-SVM' in surrogate_model:
Expand Down

0 comments on commit 54dd256

Please sign in to comment.