Skip to content

Commit

Permalink
clean up lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Jan 25, 2024
1 parent dfa9f4a commit ec8346d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastprop/fastprop_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ def __init__(self, number_features, target_scaler, num_epochs, hidden_size, lear
def get_metrics(problem_type):
if problem_type == "regression":
return "mse", "rmse"
elif problem_type == "multilabel":
elif problem_type == "multilabel":
return "bce", "auroc"
elif problem_type == "multiclass":
elif problem_type == "multiclass":
return "kldiv", "auroc"
elif problem_type == "binary":
elif problem_type == "binary":
return "bce", "accuracy"
else:
raise RuntimeError(f"Unsupported problem type '{problem_type}'!")
Expand Down

0 comments on commit ec8346d

Please sign in to comment.