2 writes to NegSample
Microsoft.ML.Data (2)
Evaluators\AucAggregator.cs (2)
95NegSample = _negReservoir.GetSample(); 102NegSample = _negExamples;
7 references to NegSample
Microsoft.ML.Data (7)
Evaluators\AucAggregator.cs (7)
114Contracts.Check(PosSample != null && NegSample != null, "Must call Finish() before computing AUC"); 116Contracts.CheckParam(NegSample.Any(), nameof(NegSample), "AUC is not defined when there is no negative class in the data"); 133Contracts.AssertValue(NegSample); 136using (var negSorted = NegSample.OrderByDescending(x => x).GetEnumerator()) 234Contracts.AssertValue(NegSample); 237using (var negSorted = NegSample.OrderByDescending(x => x.Score).GetEnumerator())