Skip to content

Commit

Permalink
add ZILN loss for ltv prediction task
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxudong committed Nov 12, 2024
1 parent 38dfe80 commit 60ca6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easy_rec/python/model/rank_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def _build_metric_impl(self,
LossType.PAIR_WISE_LOSS, LossType.BINARY_FOCAL_LOSS,
LossType.PAIRWISE_FOCAL_LOSS, LossType.PAIRWISE_LOGISTIC_LOSS,
LossType.JRC_LOSS, LossType.LISTWISE_DISTILL_LOSS,
LossType.LISTWISE_RANK_LOSS
LossType.LISTWISE_RANK_LOSS, LossType.ZILN_LOSS
}
metric_dict = {}
if metric.WhichOneof('metric') == 'auc':
Expand Down

0 comments on commit 60ca6d8

Please sign in to comment.