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