次の方法で共有


DataViewSchema.Annotations.Builder.Add メソッド

定義

オーバーロード

Add(DataViewSchema+Annotations, Func<String,Boolean>)

すべての名前に適用することで、新しい注釈にいくつかの列 annotationsselector 追加します。

Add(String, DataViewType, Delegate, DataViewSchema+Annotations)

弱く型指定されたバージョンの注釈列を 1 つ追加します。

Add<TValue>(String, DataViewType, ValueGetter<TValue>, DataViewSchema+Annotations)

厳密に型指定されたバージョンの注釈列を 1 つ追加します。

Add(DataViewSchema+Annotations, Func<String,Boolean>)

すべての名前に適用することで、新しい注釈にいくつかの列 annotationsselector 追加します。

public void Add (Microsoft.ML.DataViewSchema.Annotations annotations, Func<string,bool> selector);
member this.Add : Microsoft.ML.DataViewSchema.Annotations * Func<string, bool> -> unit
Public Sub Add (annotations As DataViewSchema.Annotations, selector As Func(Of String, Boolean))

パラメーター

annotations
DataViewSchema.Annotations

値を取得する注釈行。

selector
Func<String,Boolean>

保持する注釈列を記述する述語。

適用対象

Add(String, DataViewType, Delegate, DataViewSchema+Annotations)

弱く型指定されたバージョンの注釈列を 1 つ追加します。

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

パラメーター

name
String

注釈名。

type
DataViewType

注釈の種類。

getter
Delegate

値を提供するゲッター デリゲート。 getter の型は、このメソッド内で引き続きチェックされることに注意してください。

annotations
DataViewSchema.Annotations

入力列の注釈。 注釈列の注釈は、特定の型 (たとえば、ベクターのスロット名、キー型のキー値など) を除いて、ややまれであることに注意してください。

適用対象

Add<TValue>(String, DataViewType, ValueGetter<TValue>, DataViewSchema+Annotations)

厳密に型指定されたバージョンの注釈列を 1 つ追加します。

public void Add<TValue> (string name, Microsoft.ML.Data.DataViewType type, Microsoft.ML.ValueGetter<TValue> getter, Microsoft.ML.DataViewSchema.Annotations annotations = default);
member this.Add : string * Microsoft.ML.Data.DataViewType * Microsoft.ML.ValueGetter<'Value> * Microsoft.ML.DataViewSchema.Annotations -> unit
Public Sub Add(Of TValue) (name As String, type As DataViewType, getter As ValueGetter(Of TValue), Optional annotations As DataViewSchema.Annotations = Nothing)

型パラメーター

TValue

値の型。

パラメーター

name
String

注釈名。

type
DataViewType

注釈の種類。

getter
ValueGetter<TValue>

getter デリゲート。

annotations
DataViewSchema.Annotations

入力列の注釈。 注釈列の注釈は、特定の型 (たとえば、ベクターのスロット名、キー型のキー値など) を除いて、ややまれであることに注意してください。

適用対象