Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PcaCatalog.ProjectToPrincipalComponents Method
Definition
- Namespace:
- Microsoft.ML
- Assembly:
- Microsoft.ML.PCA.dll
- Package:
- Microsoft.ML v4.0.1
- Package:
- Microsoft.ML v1.0.0
- Package:
- Microsoft.ML v1.1.0
- Package:
- Microsoft.ML v1.2.0
- Package:
- Microsoft.ML v1.3.1
- Package:
- Microsoft.ML v1.4.0
- Package:
- Microsoft.ML v1.5.5
- Package:
- Microsoft.ML v1.6.0
- Package:
- Microsoft.ML v1.7.0
- Package:
- Microsoft.ML v2.0.1
- Package:
- Microsoft.ML v3.0.1
- Package:
- Microsoft.ML v5.0.0-preview.1.25125.4
- Source:
- PCACatalog.cs
- Source:
- PCACatalog.cs
- Source:
- PCACatalog.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PrincipalComponentAnalyzer.
public static Microsoft.ML.Transforms.PrincipalComponentAnalyzer ProjectToPrincipalComponents(this Microsoft.ML.TransformsCatalog catalog, string outputColumnName, string inputColumnName = default, string exampleWeightColumnName = default, int rank = 20, int overSampling = 20, bool ensureZeroMean = true, int? seed = default);
static member ProjectToPrincipalComponents : Microsoft.ML.TransformsCatalog * string * string * string * int * int * bool * Nullable<int> -> Microsoft.ML.Transforms.PrincipalComponentAnalyzer
<Extension()>
Public Function ProjectToPrincipalComponents (catalog As TransformsCatalog, outputColumnName As String, Optional inputColumnName As String = Nothing, Optional exampleWeightColumnName As String = Nothing, Optional rank As Integer = 20, Optional overSampling As Integer = 20, Optional ensureZeroMean As Boolean = true, Optional seed As Nullable(Of Integer) = Nothing) As PrincipalComponentAnalyzer
Parameters
- catalog
- TransformsCatalog
The transform's catalog.
- outputColumnName
- String
Name of the column resulting from the transformation of inputColumnName.
- inputColumnName
- String
Name of column to transform. If set to null, the value of the outputColumnName will be used as source.
- exampleWeightColumnName
- String
The name of the example weight column (optional).
- rank
- Int32
The number of principal components.
- overSampling
- Int32
Oversampling parameter for randomized PrincipalComponentAnalysis training.
- ensureZeroMean
- Boolean
If enabled, data is centered to be zero mean.
