27 references to MedianAggregatorUtils
Microsoft.ML.Data (10)
Transforms\NormalizeColumnDbl.cs (5)
613
private
MedianAggregatorUtils
.MaxHeap<double> _belowMedianHeap;
614
private
MedianAggregatorUtils
.MinHeap<double> _aboveMedianHeap;
620
_belowMedianHeap = new
MedianAggregatorUtils
.MaxHeap<double>(contatinerStartingSize);
621
_aboveMedianHeap = new
MedianAggregatorUtils
.MinHeap<double>(contatinerStartingSize);
632
MedianAggregatorUtils
.GetMedianSoFar(value, ref _median, ref _belowMedianHeap, ref _aboveMedianHeap);
Transforms\NormalizeColumnSng.cs (5)
771
private
MedianAggregatorUtils
.MaxHeap<float> _belowMedianHeap;
772
private
MedianAggregatorUtils
.MinHeap<float> _aboveMedianHeap;
778
_belowMedianHeap = new
MedianAggregatorUtils
.MaxHeap<TFloat>(contatinerStartingSize);
779
_aboveMedianHeap = new
MedianAggregatorUtils
.MinHeap<TFloat>(contatinerStartingSize);
790
MedianAggregatorUtils
.GetMedianSoFar(value, ref _median, ref _belowMedianHeap, ref _aboveMedianHeap);
Microsoft.ML.Tests (17)
Transformers\NormalizerTests.cs (17)
1097
var minHeap = new
MedianAggregatorUtils
.MinHeap<float>((numberOfItems / 2) + 1);
1098
var maxHeap = new
MedianAggregatorUtils
.MaxHeap<float>((numberOfItems / 2) + 1);
1102
MedianAggregatorUtils
.GetMedianSoFar(num, ref heapMedian, ref maxHeap, ref minHeap);
1127
MedianAggregatorUtils
.MinHeap<float> heap = new
MedianAggregatorUtils
.MinHeap<float>(10);
1138
heap = new
MedianAggregatorUtils
.MinHeap<float>(10);
1149
heap = new
MedianAggregatorUtils
.MinHeap<float>(10);
1160
heap = new
MedianAggregatorUtils
.MinHeap<float>(10);
1170
heap = new
MedianAggregatorUtils
.MinHeap<float>(10);
1181
heap = new
MedianAggregatorUtils
.MinHeap<float>(10000);
1200
MedianAggregatorUtils
.MaxHeap<float> heap = new
MedianAggregatorUtils
.MaxHeap<float>(10);
1211
heap = new
MedianAggregatorUtils
.MaxHeap<float>(10);
1222
heap = new
MedianAggregatorUtils
.MaxHeap<float>(10);
1233
heap = new
MedianAggregatorUtils
.MaxHeap<float>(10);
1244
heap = new
MedianAggregatorUtils
.MaxHeap<float>(10);
1255
heap = new
MedianAggregatorUtils
.MaxHeap<float>(10000);