Skip to content

Commit

Permalink
Update lib/scholar/metrics/discounted_cumulative_gain.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
paulsullivanjr and josevalim authored Oct 24, 2023
1 parent ce1e47a commit 2cb9bcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/scholar/metrics/discounted_cumulative_gain.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
defmodule Scholar.Metrics.DiscountedCumulativeGain do
@moduledoc """
Discounted Cumulative Gain (DCG) is a measure of ranking quality.
It is based on the assumption that highly relevant documents appearing lower
in a search result list should be penalized as the graded relevance value is
reduced logarithmically proportional to the position of the result.
Expand Down

0 comments on commit 2cb9bcf

Please sign in to comment.