1 write to LabelMap
Microsoft.ML.FastTree (1)
Training\DcgCalculator.cs (1)
46set { LabelMap = value; }
14 references to LabelMap
Microsoft.ML.FastTree (14)
Training\DcgCalculator.cs (14)
45get { return LabelMap; } 127Array.Clear(labelCounts, 0, LabelMap.Length); 135int topLabel = LabelMap.Length - 1; 145maxDcg += LabelMap[topLabel] / Math.Log(2.0 + t); 244double dcg = LabelMap[maxLabel1] * DiscountMap[0]; 246dcg += LabelMap[maxLabel2] * DiscountMap[1]; 248dcg += LabelMap[maxLabel3] * DiscountMap[2]; 290double dcg = LabelMap[queryLabels[0]] * DiscountMap[0] + 291LabelMap[queryLabels[1]] * DiscountMap[1] + 292LabelMap[queryLabels[2]] * DiscountMap[2]; 310result += LabelMap[labelsSorted[query][0]] / maxDCG1[query]; 353return LabelMap[argMaxLabel] * DiscountMap[0]; 422dcg = dcg + LabelMap[labels[begin + permutation[t]]] * DiscountMap[t]; 484dcg += discount[d - begin] * LabelMap[ratings[begin + order[d]]];