DataViewSchema.Builder.AddColumn 方法

定义

向要生成的架构添加一列。

public void AddColumn(string name, Microsoft.ML.Data.DataViewType type, Microsoft.ML.DataViewSchema.Annotations annotations = default);
member this.AddColumn : string * Microsoft.ML.Data.DataViewType * Microsoft.ML.DataViewSchema.Annotations -> unit
Public Sub AddColumn (name As String, type As DataViewType, Optional annotations As DataViewSchema.Annotations = Nothing)

参数

name
String

列名称。

type
DataViewType

列类型。

annotations
DataViewSchema.Annotations

列批注。

适用于