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