1 write to Offset
Microsoft.ML.Data (1)
Transforms\Normalizer.cs (1)
965
Offset
= offset;
20 references to Offset
Microsoft.ML.Samples (8)
Dynamic\Transforms\NormalizeBinning.cs (4)
79
var offset = (transformParams.
Offset
.Length == 0 ? 0 : transformParams
80
.
Offset
[0]);
100
offset = (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)
160
Assert.True(0 == floatBinData.
Offset
);
166
Assert.True(0 == floatBinDataVec.
Offset
.Length);
171
Assert.Equal(0, doubleBinData.
Offset
);
176
Assert.Empty(doubleBinDataVec.
Offset
);
281
Assert.True(0 == floatBinModel.
Offset
);
291
Assert.True(0 == floatBinModelVector.
Offset
.Length);
298
Assert.Equal(0, doubleBinModel.
Offset
);
307
Assert.Empty(doubleBinModelVector.
Offset
);
362
Assert.True(0 == floatBinModel.
Offset
);
372
Assert.True(0 == floatBinModelVector.
Offset
.Length);
379
Assert.Equal(0, doubleBinModel.
Offset
);
388
Assert.Empty(doubleBinModelVector.
Offset
);