8 references to Heap
Microsoft.ML.Data (4)
DataView\Transposer.cs (1)
553var 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)
77var topHeap = new Heap<KeyValuePair<int, float>>((left, right) => right.Value < left.Value, top + 1); 78var 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)
1611heap = new Heap<WeightedPoint>((x, y) => x.Weight > y.Weight, numSamples); 1654finalHeap = new Heap<WeightedPoint>((x, y) => x.Weight > y.Weight, numSamples);
Microsoft.ML.Transforms (2)
LearnerFeatureSelection.cs (1)
234var heap = new Heap<float>((f1, f2) => f1 > f2, topk);
MutualInformationFeatureSelection.cs (1)
285var heap = new Heap<float>((f1, f2) => f1 > f2, topk);