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