RankingMetrics.DiscountedCumulativeGains Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List of discounted cumulative gains (DCG), where the N-th element represents DCG@N. Discounted Cumulative Gain is the sum of the relevance gains up to the N-th position for all the instances i, normalized by the natural logarithm of the instance + 1. DCG is an increasing metric, with a higher value indicating a better model. Note that unlike the Wikipedia article, ML.NET uses the natural logarithm.
$DCG@N = \sum_{i = 1}^N \frac{g_i}{ln(i + 1)}$, where $g_i$ is the relevance gain at the i-th position.
public System.Collections.Generic.IReadOnlyList<double> DiscountedCumulativeGains { get; }
member this.DiscountedCumulativeGains : System.Collections.Generic.IReadOnlyList<double>
Public ReadOnly Property DiscountedCumulativeGains As IReadOnlyList(Of Double)
Property Value
Remarks
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for