2 writes to PosSample
Microsoft.ML.Data (2)
Evaluators\AucAggregator.cs (2)
93
PosSample
= _posReservoir.GetSample();
101
PosSample
= _posExamples;
7 references to PosSample
Microsoft.ML.Data (7)
Evaluators\AucAggregator.cs (7)
114
Contracts.Check(
PosSample
!= null && NegSample != null, "Must call Finish() before computing AUC");
115
Contracts.CheckParam(
PosSample
.Any(), nameof(
PosSample
), "AUC is not defined when there is no positive class in the data");
132
Contracts.AssertValue(
PosSample
);
135
using (var posSorted =
PosSample
.OrderByDescending(x => x).GetEnumerator())
233
Contracts.AssertValue(
PosSample
);
236
using (var posSorted =
PosSample
.OrderByDescending(x => x.Score).GetEnumerator())