PcaCatalog.ProjectToPrincipalComponents 方法

定义

初始化 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

参数

catalog
TransformsCatalog

转换的目录。

outputColumnName
String

由转换 inputColumnName生成的列的名称。

inputColumnName
String

要转换的列的名称。 If set to null, the value of the outputColumnName will be used as source.

exampleWeightColumnName
String

示例权重列的名称 (可选) 。

rank
Int32

主体组件数。

overSampling
Int32

随机 PrincipalComponentAnalysis 训练的过度采样参数。

ensureZeroMean
Boolean

如果启用,则数据居中为零平均值。

seed
Nullable<Int32>

随机数生成的种子。

返回

适用于