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)
489Host.CheckDecode(FloatUtils.IsFinite(_rank)); 505_eigenVectors = new VBuffer<float>[_rank]; 506_meanProjected = new float[_rank]; 507for (int i = 0; i < _rank; ++i) 533writer.Write(_rank); 543for (int i = 0; i < _rank; ++i) 563writer.WriteLine("Rank: {0}", _rank); 579for (var i = 0; i < _rank; ++i) 591var cols = new VBuffer<float>[_rank + 1]; 592var names = new string[_rank + 1]; 593for (var i = 0; i < _rank; ++i) 598names[_rank] = "MeanVector"; 599cols[_rank] = _mean; 645for (int i = 0; i < _rank; i++)