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]; 1402for (int i = 0; i < _binUpperBounds.Length; i++) 1403_den[i] = Math.Max(1, _binUpperBounds[i].Length - 1); 1406_offset = new TFloat[_binUpperBounds.Length]; 1408for (int i = 0; i < _binUpperBounds.Length; i++) 1410_offset[i] = _binUpperBounds[i].FindIndexSorted(0) / _den[i]; 1452ctx.SaveSubModel("BinNormalizer", c => BinNormSerializationUtils.SaveModel(c, _binUpperBounds, saveText: true)); 1463Host.Check(dst.Length == _binUpperBounds.Length); 1471Contracts.Assert(input.Length == _binUpperBounds.Length); 1472int size = _binUpperBounds.Length; 1490bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i], _offset[i])); 1495bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i])); 1515BinUtils.GetValue(values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1521BinUtils.GetValue(zero, _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1531bldr.AddFeature(i, BinUtils.GetValue(values[ii], _binUpperBounds[i], _den[i])); 1540_binUpperBounds.Select(b => ImmutableArray.Create(b)).ToImmutableArray(),