1 instantiation of DataItem
Microsoft.ML.Data (1)
Prediction\Calibrator.cs (1)
1421_data[index] = new DataItem(isPositive, weight, score);
10 references to DataItem
Microsoft.ML.Data (10)
Prediction\Calibrator.cs (10)
1341public sealed class DataStore : IEnumerable<DataStore.DataItem> 1367private DataItem[] _data; 1380_data = new DataItem[Math.Min(4, capacity)]; 1388/// An enumerator over the <see cref="DataItem"/> entries sorted by score. 1391public IEnumerator<DataItem> GetEnumerator() 1395var comp = Comparer<DataItem>.Create((x, y) => x.Score.CompareTo(y.Score)); 1492foreach (var di in Data) 1538foreach (var d_i in Data) 1580foreach (var d_i in Data) 1885foreach (var di in Data) // this will iterate in sorted order