2 writes to _eigenVectors
Microsoft.ML.PCA (2)
14 references to _eigenVectors
Microsoft.ML.PCA (14)
PcaTrainer.cs (14)
462_eigenVectors[i] = new VBuffer<float>(eigenVectors[i].Length, eigenVectors[i]);
463_meanProjected[i] = VectorUtils.DotProduct(in _eigenVectors[i], in mean);
464Host.CheckParam(_eigenVectors[i].GetValues().All(FloatUtils.IsFinite),
511_eigenVectors[i] = new VBuffer<float>(_dimension, vi);
512_meanProjected[i] = VectorUtils.DotProduct(in _eigenVectors[i], in _mean);
544writer.WriteSinglesNoCount(_eigenVectors[i].GetValues().Slice(0, _dimension));
581VBufferUtils.ForEachDefined(in _eigenVectors[i],
596cols[i] = _eigenVectors[i];
647float component = VectorUtils.DotProduct(in _eigenVectors[i], in src) - _meanProjected[i];
664rank = _eigenVectors.Length;
665Utils.EnsureSize(ref vectors, _eigenVectors.Length, _eigenVectors.Length);
666for (int i = 0; i < _eigenVectors.Length; i++)
667_eigenVectors[i].CopyTo(ref vectors[i]);