Skip to content

Commit fd8487f

Browse files
committed
📝 change ceil to int in uplift_at_k
1 parent b4394b0 commit fd8487f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklift/metrics/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def auqc(y_true, uplift, treatment):
196196
return qini_auc_score(y_true, uplift, treatment)
197197

198198

199-
def uplift_at_k(y_true, uplift, strategy, treatment, k=0.3):
199+
def uplift_at_k(y_true, uplift, treatment, strategy, k=0.3):
200200
"""Compute uplift at first k percentage of the total sample.
201201
202202
Args:

0 commit comments

Comments
 (0)