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