3 writes to Rank
Microsoft.ML.Mkl.Components (3)
VectorWhitening.cs (3)
785Rank = rank; // REVIEW: make it work with pcaNum == 1. 802Rank = item.PcaNum ?? options.PcaNum; 823Rank = ctx.Reader.ReadInt32();
12 references to Rank
Microsoft.ML.Mkl.Components (12)
VectorWhitening.cs (12)
591DataViewType outType = (info.Kind == WhiteningKind.PrincipalComponentAnalysis && info.Rank > 0) ? new VectorDataViewType(NumberDataViewType.Single, info.Rank) : _srcTypes[iinfo]; 610int cslotDst = (ex.Kind == WhiteningKind.PrincipalComponentAnalysis && ex.Rank > 0) ? ex.Rank : cslotSrc; 654int rank = (parameters.Kind == WhiteningKind.PrincipalComponentAnalysis && parameters.Rank > 0) ? parameters.Rank : dimension; 786Contracts.CheckUserArg(Rank >= 0, nameof(Rank)); 803Contracts.CheckUserArg(Rank >= 0, nameof(item.PcaNum)); 824Contracts.CheckDecode(Rank >= 0); 844Contracts.Assert(Rank >= 0); 845ctx.Writer.Write(Rank);