2 writes to _truncationLevel
Microsoft.ML.Data (2)
Evaluators\RankingEvaluator.cs (2)
709
_truncationLevel
= truncationLevel;
724
_truncationLevel
= ctx.Reader.ReadInt32();
10 references to _truncationLevel
Microsoft.ML.Data (10)
Evaluators\RankingEvaluator.cs (10)
710
_discountMap = RankingUtils.GetDiscountMap(
_truncationLevel
);
712
_bindings = new Bindings(Host, Source.Schema, true, LabelCol, ScoreCol, GroupCol,
_truncationLevel
);
725
Host.CheckDecode(0 <
_truncationLevel
);
727
_bindings = new Bindings(Host, input.Schema, false, LabelCol, ScoreCol, GroupCol,
_truncationLevel
);
741
Host.Assert(0 <
_truncationLevel
);
742
ctx.Writer.Write(
_truncationLevel
);
804
return new RowCursorState(
_truncationLevel
);
816
RankingUtils.QueryMaxDcg(_labelGains,
_truncationLevel
, _discountMap, state.QueryLabels, state.QueryOutputs,
818
RankingUtils.QueryDcg(_labelGains,
_truncationLevel
, _discountMap, state.QueryLabels, state.QueryOutputs, state.DcgCur);
819
for (int t = 0; t <
_truncationLevel
; t++)