1 write to UpperBounds
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
963UpperBounds = upperBounds;
56 references to UpperBounds
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
936/// increasing <see cref="BinNormalizerModelParameters{TData}.UpperBounds"/>.
Microsoft.ML.Samples (6)
Dynamic\Transforms\NormalizeBinning.cs (2)
89transformParams.UpperBounds[0])); 110fixZeroParams.UpperBounds[1]));
Dynamic\Transforms\NormalizeSupervisedBinning.cs (2)
106transformParams.UpperBounds[0])); 128fixZeroParams.UpperBounds[1]));
Dynamic\WithOnFitDelegate.cs (2)
66for (int i = 0; i < binningParam.UpperBounds.Length; i++) 68var upperBounds = string.Join(", ", binningParam.UpperBounds[i]);
Microsoft.ML.Tests (49)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (2)
124for (int i = 0; i < binningParam.UpperBounds.Length; i++) 126var upperBounds = string.Join(", ", binningParam.UpperBounds[i]);
Transformers\NormalizerTests.cs (47)
158Assert.True(35 == floatBinData.UpperBounds.Length); 163Assert.True(4 == floatBinDataVec.UpperBounds.Length); 164Assert.True(35 == floatBinDataVec.UpperBounds[0].Length); 169Assert.Equal(35, doubleBinData.UpperBounds.Length); 174Assert.Equal(35, doubleBinDataVec.UpperBounds[0].Length); 277Assert.True(35 == floatBinModel.UpperBounds.Length); 278Assert.True(0.550632954f == floatBinModel.UpperBounds[0]); 279Assert.True(float.PositiveInfinity == floatBinModel.UpperBounds[34]); 284Assert.True(4 == floatBinModelVector.UpperBounds.Length); 285Assert.True(35 == floatBinModelVector.UpperBounds[0].Length); 286Assert.True(0.550632954f == floatBinModelVector.UpperBounds[0][0]); 287Assert.True(float.PositiveInfinity == floatBinModelVector.UpperBounds[0][floatBinModelVector.UpperBounds[0].Length - 1]); 288Assert.True(0.0600000024f == floatBinModelVector.UpperBounds[3][0]); 289Assert.True(float.PositiveInfinity == floatBinModelVector.UpperBounds[3][floatBinModelVector.UpperBounds[3].Length - 1]); 294Assert.Equal(35, doubleBinModel.UpperBounds.Length); 295Assert.True(0.550632911392405 == doubleBinModel.UpperBounds[0]); 296Assert.True(double.PositiveInfinity == doubleBinModel.UpperBounds[34]); 301Assert.Equal(35, doubleBinModelVector.UpperBounds[0].Length); 302Assert.True(0.550632911392405 == doubleBinModelVector.UpperBounds[0][0]); 303Assert.True(double.PositiveInfinity == doubleBinModelVector.UpperBounds[0][doubleBinModelVector.UpperBounds[0].Length - 1]); 304Assert.True(0.060000000000000012 == doubleBinModelVector.UpperBounds[3][0]); 305Assert.True(double.PositiveInfinity == doubleBinModelVector.UpperBounds[3][doubleBinModelVector.UpperBounds[3].Length - 1]); 358Assert.True(4 == floatBinModel.UpperBounds.Length); 359Assert.True(0.6139241f == floatBinModel.UpperBounds[0]); 360Assert.True(float.PositiveInfinity == floatBinModel.UpperBounds[3]); 365Assert.True(4 == floatBinModelVector.UpperBounds.Length); 366Assert.True(4 == floatBinModelVector.UpperBounds[0].Length); 367Assert.True(0.6139241f == floatBinModelVector.UpperBounds[0][0]); 368Assert.True(float.PositiveInfinity == floatBinModelVector.UpperBounds[0][floatBinModelVector.UpperBounds[0].Length - 1]); 369Assert.True(0.32f == floatBinModelVector.UpperBounds[3][0]); 370Assert.True(float.PositiveInfinity == floatBinModelVector.UpperBounds[3][floatBinModelVector.UpperBounds[3].Length - 1]); 375Assert.Equal(4, doubleBinModel.UpperBounds.Length); 376Assert.True(0.61392405063291133 == doubleBinModel.UpperBounds[0]); 377Assert.True(float.PositiveInfinity == doubleBinModel.UpperBounds[3]); 382Assert.Equal(4, doubleBinModelVector.UpperBounds[0].Length); 383Assert.True(0.6139240506329113335 == doubleBinModelVector.UpperBounds[0][0]); 384Assert.True(double.PositiveInfinity == doubleBinModelVector.UpperBounds[0][doubleBinModelVector.UpperBounds[0].Length - 1]); 385Assert.True(0.32 == doubleBinModelVector.UpperBounds[3][0]); 386Assert.True(double.PositiveInfinity == doubleBinModelVector.UpperBounds[3][doubleBinModelVector.UpperBounds[3].Length - 1]);