1 write to Scale
Microsoft.ML.Data (1)
Transforms\NormalizeColumn.cs (1)
457
Scale
= scale;
10 references to Scale
Microsoft.ML.Data (10)
Transforms\NormalizeColumn.cs (2)
466
bldr.AddPrimitive("AffineScale", typeSrc,
Scale
);
471
=> new NormalizingTransformer.AffineNormalizerModelParameters<TFloat>(
Scale
, Offset);
Transforms\NormalizeColumnDbl.cs (4)
689
value = (input - Offset) *
Scale
;
694
AffineNormSerializationUtils.SaveModel(ctx, 1, null, new[] {
Scale
}, new[] { Offset }, saveText: true);
698
=> PfaUtils.Call("*", PfaUtils.Call("-", srcToken, Offset),
Scale
);
703
nodeProtoWrapper.AddAttribute("scale", Enumerable.Repeat(
Scale
, featureCount));
Transforms\NormalizeColumnSng.cs (4)
847
value = (input - Offset) *
Scale
;
852
AffineNormSerializationUtils.SaveModel(ctx, 1, null, new[] {
Scale
}, new[] { Offset }, saveText: true);
856
=> PfaUtils.Call("*", PfaUtils.Call("-", srcToken, Offset),
Scale
);
861
node.AddAttribute("scale", Enumerable.Repeat(
Scale
, featureCount));