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