2 writes to _rank
Microsoft.ML.PCA (2)
PcaTrainer.cs (2)
182
_rank
= options.Rank;
189
_rank
= rank;
6 references to _rank
Microsoft.ML.PCA (6)
PcaTrainer.cs (6)
197
Host.CheckUserArg(
_rank
> 0, nameof(
_rank
), "Rank must be positive");
232
if (
_rank
> dimension)
233
throw ch.Except("Rank ({0}) cannot be larger than the original dimension ({1})",
_rank
, dimension);
234
int oversampledRank = Math.Min(
_rank
+ _oversampling, dimension);
285
return new PcaModelParameters(Host,
_rank
, b, in mean);