3 writes to MeanProjected
Microsoft.ML.PCA (3)
PcaTransformer.cs (3)
138
MeanProjected
= ctx.Reader.ReadFloatArray();
171
MeanProjected
= null;
175
MeanProjected
= new float[Rank];
12 references to MeanProjected
Microsoft.ML.PCA (12)
PcaTransformer.cs (12)
139
Contracts.CheckDecode(
MeanProjected
== null || (
MeanProjected
.Length == Rank && FloatUtils.IsFinite(
MeanProjected
)));
162
Contracts.Assert(
MeanProjected
== null || (
MeanProjected
.Length == Rank && FloatUtils.IsFinite(
MeanProjected
)));
163
ctx.Writer.WriteSingleArray(
MeanProjected
);
177
MeanProjected
[i] = VectorUtils.DotProduct(Eigenvectors[i], mean);
595
(transformInfo.
MeanProjected
== null ? 0 : transformInfo.
MeanProjected
[i]);
649
if (transformInfo.
MeanProjected
!= null)
651
Array.Copy(transformInfo.
MeanProjected
, zeroMean, transformInfo.Rank);