1 write to Offset
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
965Offset = offset;
20 references to Offset
Microsoft.ML.Samples (8)
Dynamic\Transforms\NormalizeBinning.cs (4)
79var offset = (transformParams.Offset.Length == 0 ? 0 : transformParams 80.Offset[0]); 100offset = (fixZeroParams.Offset.Length == 0 ? 0 : fixZeroParams 101.Offset[1]);
Dynamic\Transforms\NormalizeSupervisedBinning.cs (4)
99") - " + (transformParams.Offset.Length == 0 ? 0 : transformParams 100.Offset[0])); 121") - " + (fixZeroParams.Offset.Length == 0 ? 0 : fixZeroParams 122.Offset[1]));
Microsoft.ML.Tests (12)
Transformers\NormalizerTests.cs (12)
160Assert.True(0 == floatBinData.Offset); 166Assert.True(0 == floatBinDataVec.Offset.Length); 171Assert.Equal(0, doubleBinData.Offset); 176Assert.Empty(doubleBinDataVec.Offset); 281Assert.True(0 == floatBinModel.Offset); 291Assert.True(0 == floatBinModelVector.Offset.Length); 298Assert.Equal(0, doubleBinModel.Offset); 307Assert.Empty(doubleBinModelVector.Offset); 362Assert.True(0 == floatBinModel.Offset); 372Assert.True(0 == floatBinModelVector.Offset.Length); 379Assert.Equal(0, doubleBinModel.Offset); 388Assert.Empty(doubleBinModelVector.Offset);