2 instantiations of PrincipalComponentAnalyzer
Microsoft.ML.PCA (2)
PCACatalog.cs (2)
36=> new PrincipalComponentAnalyzer(CatalogUtils.GetEnvironment(catalog), 44=> new PrincipalComponentAnalyzer(CatalogUtils.GetEnvironment(catalog), columns);
22 references to PrincipalComponentAnalyzer
Microsoft.ML.PCA (18)
PCACatalog.cs (8)
19/// <summary>Initializes a new instance of <see cref="PrincipalComponentAnalyzer"/>.</summary> 28public static PrincipalComponentAnalyzer ProjectToPrincipalComponents(this TransformsCatalog catalog, 32int rank = PrincipalComponentAnalyzer.Defaults.Rank, 33int overSampling = PrincipalComponentAnalyzer.Defaults.Oversampling, 34bool ensureZeroMean = PrincipalComponentAnalyzer.Defaults.EnsureZeroMean, 39/// <summary>Initializes a new instance of <see cref="PrincipalComponentAnalyzer"/>.</summary> 43internal static PrincipalComponentAnalyzer ProjectToPrincipalComponents(this TransformsCatalog catalog, params PrincipalComponentAnalyzer.ColumnOptions[] columns)
PcaTransformer.cs (10)
44public string ExampleWeightColumnName = PrincipalComponentAnalyzer.Defaults.WeightColumn; 47public int Rank = PrincipalComponentAnalyzer.Defaults.Rank; 50public int Oversampling = PrincipalComponentAnalyzer.Defaults.Oversampling; 53public bool Center = PrincipalComponentAnalyzer.Defaults.EnsureZeroMean; 56public int Seed = PrincipalComponentAnalyzer.Defaults.Seed; 204internal PrincipalComponentAnalysisTransformer(IHostEnvironment env, IDataView input, PrincipalComponentAnalyzer.ColumnOptions[] columns) 254var cols = options.Columns.Select(item => new PrincipalComponentAnalyzer.ColumnOptions( 294private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(PrincipalComponentAnalyzer.ColumnOptions[] columns) 300private void Train(PrincipalComponentAnalyzer.ColumnOptions[] columns, TransformInfo[] transformInfos, IDataView trainingData) 802_host = env.Register(nameof(PrincipalComponentAnalyzer));
Microsoft.ML.Tests (4)
OnnxConversionTest.cs (1)
975var pipeline = ML.Transforms.ProjectToPrincipalComponents("pca", "features", rank: 5, seed: 1, ensureZeroMean: zeroMean);
Transformers\PcaTests.cs (3)
41var est = ML.Transforms.ProjectToPrincipalComponents("pca", "features", rank: 4, seed: 10); 44var estNonDefaultArgs = ML.Transforms.ProjectToPrincipalComponents("pca", "features", rank: 3, exampleWeightColumnName: "weight", overSampling: 2, ensureZeroMean: false); 58var est = ML.Transforms.ProjectToPrincipalComponents("pca", "features", rank: 5, seed: 1);