8 references to Heap
Microsoft.ML.Data (4)
DataView\Transposer.cs (1)
553
var heap = new
Heap
<KeyValuePair<int, int>>((p1, p2) => p1.Key > p2.Key || (p1.Key == p2.Key && p1.Value > p2.Value), _rbuff.Length);
Deprecated\Vector\VectorUtils.cs (2)
77
var topHeap = new
Heap
<KeyValuePair<int, float>>((left, right) => right.Value < left.Value, top + 1);
78
var bottomHeap = new
Heap
<KeyValuePair<int, float>>((left, right) => right.Value > left.Value, bottom + 1);
Evaluators\AnomalyDetectionEvaluator.cs (1)
457
_topExamples = new
Heap
<TopExamplesInfo>((exampleA, exampleB) => exampleA.Score > exampleB.Score, topK);
Microsoft.ML.KMeansClustering (2)
KMeansPlusPlusTrainer.cs (2)
1611
heap = new
Heap
<WeightedPoint>((x, y) => x.Weight > y.Weight, numSamples);
1654
finalHeap = new
Heap
<WeightedPoint>((x, y) => x.Weight > y.Weight, numSamples);
Microsoft.ML.Transforms (2)
LearnerFeatureSelection.cs (1)
234
var heap = new
Heap
<float>((f1, f2) => f1 > f2, topk);
MutualInformationFeatureSelection.cs (1)
285
var heap = new
Heap
<float>((f1, f2) => f1 > f2, topk);