1 write to Scale
Microsoft.ML.Data (1)
Transforms\NormalizeColumn.cs (1)
489
Scale
= scale;
25 references to Scale
Microsoft.ML.Data (25)
Transforms\NormalizeColumn.cs (5)
487
Host.Assert(Offset == null || Offset.Length ==
Scale
.Length);
498
Host.Check(typeSrc.GetVectorSize() ==
Scale
.Length);
507
var src = new VBuffer<TFloat>(
Scale
.Length,
Scale
);
519
=> new NormalizingTransformer.AffineNormalizerModelParameters<ImmutableArray<TFloat>>(ImmutableArray.Create(
Scale
), ImmutableArray.Create(Offset));
Transforms\NormalizeColumnDbl.cs (10)
754
AffineNormSerializationUtils.SaveModel(ctx,
Scale
.Length, null,
Scale
, Offset, saveText: true);
761
var cellName = ctx.DeclareCell("AffNormScale", arrType, new JArray(
Scale
));
779
node.AddAttribute("scale",
Scale
);
793
Contracts.Check(dst.Length ==
Scale
.Length);
794
FillValues(in dst, bldr,
Scale
);
803
Contracts.Check(dst.Length ==
Scale
.Length);
804
FillValues(in dst, bldr,
Scale
, Offset);
813
Contracts.Check(dst.Length ==
Scale
.Length);
814
FillValues(in dst, bldr,
Scale
, Offset, IndicesNonZeroOffset);
Transforms\NormalizeColumnSng.cs (10)
911
AffineNormSerializationUtils.SaveModel(ctx,
Scale
.Length, null,
Scale
, Offset, saveText: true);
918
var cellName = ctx.DeclareCell("AffNormScale", arrType, new JArray(
Scale
));
936
node.AddAttribute("scale",
Scale
);
950
Contracts.Check(dst.Length ==
Scale
.Length);
951
FillValues(in dst, bldr,
Scale
);
960
Contracts.Check(dst.Length ==
Scale
.Length);
961
FillValues(in dst, bldr,
Scale
, Offset);
970
Contracts.Check(dst.Length ==
Scale
.Length);
971
FillValues(in dst, bldr,
Scale
, Offset, IndicesNonZeroOffset);