1 write to _binUpperBounds
Microsoft.ML.Data (1)
Transforms\NormalizeColumnDbl.cs (1)
1239_binUpperBounds = binUpperBounds;
16 references to _binUpperBounds
Microsoft.ML.Data (16)
Transforms\NormalizeColumnDbl.cs (16)
1240_den = new TFloat[_binUpperBounds.Length]; 1241for (int i = 0; i < _binUpperBounds.Length; i++) 1242_den[i] = Math.Max(1, _binUpperBounds[i].Length - 1); 1245_offset = new TFloat[_binUpperBounds.Length]; 1247for (int i = 0; i < _binUpperBounds.Length; i++) 1249_offset[i] = _binUpperBounds[i].FindIndexSorted(0) / _den[i]; 1291ctx.SaveSubModel("BinNormalizer", c => BinNormSerializationUtils.SaveModel(c, _binUpperBounds, saveText: true)); 1302Host.Check(dst.Length == _binUpperBounds.Length); 1310Contracts.Assert(input.Length == _binUpperBounds.Length); 1311int size = _binUpperBounds.Length; 1328bldr.AddFeature(i, BinUtils.GetValue(in values[i], _binUpperBounds[i], _den[i], _offset[i])); 1333bldr.AddFeature(i, BinUtils.GetValue(in values[i], _binUpperBounds[i], _den[i])); 1353BinUtils.GetValue(in values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1359BinUtils.GetValue(in zero, _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst])); 1369bldr.AddFeature(i, BinUtils.GetValue(in values[ii], _binUpperBounds[i], _den[i])); 1377=> new NormalizingTransformer.BinNormalizerModelParameters<ImmutableArray<TFloat>>(_binUpperBounds.Select(b => ImmutableArray.Create(b)).ToImmutableArray(),