Megosztás a következőn keresztül:


RankingMetrics.DiscountedCumulativeGains Property

Definition

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

Discounted Cumulative Gain

Applies to