2 writes to _rank
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
166
_rank
= options.Rank;
173
_rank
= rank;
6 references to _rank
Microsoft.ML.PCA (6)
PcaTrainer.cs (6)
181
Host.CheckUserArg(
_rank
> 0, nameof(
_rank
), "Rank must be positive");
216
if (
_rank
> dimension)
217
throw ch.Except("Rank ({0}) cannot be larger than the original dimension ({1})",
_rank
, dimension);
218
int oversampledRank = Math.Min(
_rank
+ _oversampling, dimension);
269
return new PcaModelParameters(Host,
_rank
, b, in mean);