2 writes to _rank
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
456
_rank
= rank;
488
_rank
= ctx.Reader.ReadInt32();
14 references to _rank
Microsoft.ML.PCA (14)
PcaTrainer.cs (14)
489
Host.CheckDecode(FloatUtils.IsFinite(
_rank
));
505
_eigenVectors = new VBuffer<float>[
_rank
];
506
_meanProjected = new float[
_rank
];
507
for (int i = 0; i <
_rank
; ++i)
533
writer.Write(
_rank
);
543
for (int i = 0; i <
_rank
; ++i)
563
writer.WriteLine("Rank: {0}",
_rank
);
579
for (var i = 0; i <
_rank
; ++i)
591
var cols = new VBuffer<float>[
_rank
+ 1];
592
var names = new string[
_rank
+ 1];
593
for (var i = 0; i <
_rank
; ++i)
598
names[
_rank
] = "MeanVector";
599
cols[
_rank
] = _mean;
645
for (int i = 0; i <
_rank
; i++)