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)
1341
public sealed class DataStore : IEnumerable<DataStore.
DataItem
>
1367
private
DataItem
[] _data;
1380
_data = new
DataItem
[Math.Min(4, capacity)];
1388
/// An enumerator over the <see cref="
DataItem
"/> entries sorted by score.
1391
public IEnumerator<
DataItem
> GetEnumerator()
1395
var comp = Comparer<
DataItem
>.Create((x, y) => x.Score.CompareTo(y.Score));
1492
foreach (
var
di in Data)
1538
foreach (
var
d_i in Data)
1580
foreach (
var
d_i in Data)
1885
foreach (
var
di in Data) // this will iterate in sorted order