1 write to _binUpperBounds
Microsoft.ML.Data (1)
Transforms\NormalizeColumnSng.cs (1)
1400
_binUpperBounds
= binUpperBounds;
16 references to _binUpperBounds
Microsoft.ML.Data (16)
Transforms\NormalizeColumnSng.cs (16)
1401
_den = new TFloat[
_binUpperBounds
.Length];
1402
for (int i = 0; i <
_binUpperBounds
.Length; i++)
1403
_den[i] = Math.Max(1,
_binUpperBounds
[i].Length - 1);
1406
_offset = new TFloat[
_binUpperBounds
.Length];
1408
for (int i = 0; i <
_binUpperBounds
.Length; i++)
1410
_offset[i] =
_binUpperBounds
[i].FindIndexSorted(0) / _den[i];
1452
ctx.SaveSubModel("BinNormalizer", c => BinNormSerializationUtils.SaveModel(c,
_binUpperBounds
, saveText: true));
1463
Host.Check(dst.Length ==
_binUpperBounds
.Length);
1471
Contracts.Assert(input.Length ==
_binUpperBounds
.Length);
1472
int size =
_binUpperBounds
.Length;
1490
bldr.AddFeature(i, BinUtils.GetValue(values[i],
_binUpperBounds
[i], _den[i], _offset[i]));
1495
bldr.AddFeature(i, BinUtils.GetValue(values[i],
_binUpperBounds
[i], _den[i]));
1515
BinUtils.GetValue(values[ii],
_binUpperBounds
[ivDst], _den[ivDst], _offset[ivDst]));
1521
BinUtils.GetValue(zero,
_binUpperBounds
[ivDst], _den[ivDst], _offset[ivDst]));
1531
bldr.AddFeature(i, BinUtils.GetValue(values[ii],
_binUpperBounds
[i], _den[i]));
1540
_binUpperBounds
.Select(b => ImmutableArray.Create(b)).ToImmutableArray(),