30 references to WhiteningKind
Microsoft.ML.Mkl.Components (26)
MklComponentsCatalog.cs (1)
150WhiteningKind kind = VectorWhiteningEstimator.Defaults.Kind,
VectorWhitening.cs (25)
58public WhiteningKind Kind = VectorWhiteningEstimator.Defaults.Kind; 80public WhiteningKind? Kind; 439if (ex.Kind == WhiteningKind.PrincipalComponentAnalysis) 446else if (ex.Kind == WhiteningKind.ZeroPhaseComponentAnalysis) 591DataViewType outType = (info.Kind == WhiteningKind.PrincipalComponentAnalysis && info.Rank > 0) ? new VectorDataViewType(NumberDataViewType.Single, info.Rank) : _srcTypes[iinfo]; 604Host.Assert(ex.Kind == WhiteningKind.PrincipalComponentAnalysis || ex.Kind == WhiteningKind.ZeroPhaseComponentAnalysis); 610int cslotDst = (ex.Kind == WhiteningKind.PrincipalComponentAnalysis && ex.Rank > 0) ? ex.Rank : cslotSrc; 652Host.Assert(parameters.Kind == WhiteningKind.PrincipalComponentAnalysis || parameters.Kind == WhiteningKind.ZeroPhaseComponentAnalysis); 654int rank = (parameters.Kind == WhiteningKind.PrincipalComponentAnalysis && parameters.Rank > 0) ? parameters.Rank : dimension; 723public const WhiteningKind Kind = WhiteningKind.ZeroPhaseComponentAnalysis; 747public readonly WhiteningKind Kind; 771public ColumnOptions(string name, string inputColumnName = null, WhiteningKind kind = Defaults.Kind, float epsilon = Defaults.Epsilon, 779Contracts.CheckUserArg(Kind == WhiteningKind.PrincipalComponentAnalysis || Kind == WhiteningKind.ZeroPhaseComponentAnalysis, nameof(Kind)); 796Contracts.CheckUserArg(Kind == WhiteningKind.PrincipalComponentAnalysis || Kind == WhiteningKind.ZeroPhaseComponentAnalysis, nameof(item.Kind)); 816Kind = (WhiteningKind)ctx.Reader.ReadInt32(); 817Contracts.CheckDecode(Kind == WhiteningKind.PrincipalComponentAnalysis || Kind == WhiteningKind.ZeroPhaseComponentAnalysis); 837Contracts.Assert(Kind == WhiteningKind.PrincipalComponentAnalysis || Kind == WhiteningKind.ZeroPhaseComponentAnalysis); 868WhiteningKind kind = Defaults.Kind,
Microsoft.ML.Samples (2)
Dynamic\Transforms\Projection\VectorWhiten.cs (1)
50.WhiteningKind.ZeroPhaseComponentAnalysis);
Dynamic\Transforms\Projection\VectorWhitenWithOptions.cs (1)
50.WhiteningKind.PrincipalComponentAnalysis, rank: 4);
Microsoft.ML.Tests (2)
OnnxConversionTest.cs (1)
268.Append(new VectorWhiteningEstimator(mlContext, "whitened2", "features", kind: WhiteningKind.PrincipalComponentAnalysis, rank: 5));
Transformers\NormalizerTests.cs (1)
702.Append(new VectorWhiteningEstimator(ML, "whitened2", "features", kind: WhiteningKind.PrincipalComponentAnalysis, rank: 5));