2 writes to Eigenvectors
Microsoft.ML.PCA (2)
PcaTransformer.cs (2)
131
Eigenvectors
= new float[Rank][];
383
transformInfos[iinfo].
Eigenvectors
= PostProcess(b[iinfo], smallEigenvalues, smallEigenvectors, transformInfos[iinfo].Dimension, oversampledRank[iinfo]);
8 references to Eigenvectors
Microsoft.ML.PCA (8)
PcaTransformer.cs (8)
134
Eigenvectors
[i] = ctx.Reader.ReadFloatArray(Dimension);
135
Contracts.CheckDecode(FloatUtils.IsFinite(
Eigenvectors
[i]));
159
Contracts.Assert(FloatUtils.IsFinite(
Eigenvectors
[i]));
160
ctx.Writer.WriteSinglesNoCount(
Eigenvectors
[i].AsSpan(0, Dimension));
168
Contracts.AssertValue(
Eigenvectors
);
177
MeanProjected[i] = VectorUtils.DotProduct(
Eigenvectors
[i], mean);
594
editor.Values[i] = VectorUtils.DotProductWithOffset(transformInfo.
Eigenvectors
[i], 0, in src) -
643
Array.Copy(transformInfo.
Eigenvectors
[i], 0, principalComponents, i * transformInfo.Dimension, transformInfo.Dimension);