3 writes to _mean
Microsoft.ML.PCA (3)
PcaTrainer.cs (3)
469
_mean
= mean;
496
_mean
= new VBuffer<float>(_dimension, meanArray);
501
_mean
= VBufferUtils.CreateEmpty<float>(_dimension);
9 references to _mean
Microsoft.ML.PCA (9)
PcaTrainer.cs (9)
497
_norm2Mean = VectorUtils.NormSquared(
_mean
);
512
_meanProjected[i] = VectorUtils.DotProduct(in _eigenVectors[i], in
_mean
);
535
if (
_mean
.IsDense) // centered
538
writer.WriteSinglesNoCount(
_mean
.GetValues().Slice(0, _dimension));
565
if (
_mean
.IsDense)
568
foreach (var value in
_mean
.Items(all: true))
599
cols[_rank] =
_mean
;
636
var mean =
_mean
;
675
_mean
.CopyTo(ref mean);