Skip to content

Commit a9e2a2a

Browse files
committed
Update 03-Classification.qmd
1 parent 8c5598d commit a9e2a2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

03-Classification.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ from sklearn.metrics import RocCurveDisplay
232232
from sklearn.metrics import roc_curve, roc_auc_score
233233
234234
# Compute ROC curve
235-
fpr, tpr, thresholds = roc_curve(y_test, logit_model.predict(X_test), drop_intermediate=False, pos_label)
235+
fpr, tpr, thresholds = roc_curve(y_test, logit_model.predict(X_test), drop_intermediate=False)
236236
print(f"FPR: {fpr}")
237237
print(f"TPR: {tpr}")
238238
print(f"Thresholds: {thresholds}")

0 commit comments

Comments
 (0)