Udostępnij za pośrednictwem


DataViewSchema.Annotations.Builder.Add Metoda

Definicja

Przeciążenia

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

Dodaj kilka kolumn z annotations do naszych nowych adnotacji, stosując selector je do wszystkich nazw.

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

Dodaj jedną kolumnę adnotacji, słabo wpisaną wersję.

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

Dodaj jedną kolumnę adnotacji, silnie typizację wersji.

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

Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs

Dodaj kilka kolumn z annotations do naszych nowych adnotacji, stosując selector je do wszystkich nazw.

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))

Parametry

annotations
DataViewSchema.Annotations

Wiersz adnotacji do podjęcia wartości.

selector
Func<String,Boolean>

Predykat opisujący kolumny adnotacji do zachowania.

Dotyczy

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

Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs

Dodaj jedną kolumnę adnotacji, słabo wpisaną wersję.

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)

Parametry

name
String

Nazwa adnotacji.

type
DataViewType

Typ adnotacji.

getter
Delegate

Delegat getter, który udostępnia wartość. Należy pamiętać, że typ metody getter jest nadal sprawdzany wewnątrz tej metody.

annotations
DataViewSchema.Annotations

Adnotacje kolumny wejściowej. Należy pamiętać, że adnotacje w kolumnie adnotacji są nieco rzadkie z wyjątkiem niektórych typów (na przykład nazwy miejsc dla wektora, wartości klucza dla typu klucza).

Dotyczy

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

Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs
Źródło:
DataViewSchema.cs

Dodaj jedną kolumnę adnotacji, silnie typizację wersji.

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)

Parametry typu

TValue

Typ wartości.

Parametry

name
String

Nazwa adnotacji.

type
DataViewType

Typ adnotacji.

getter
ValueGetter<TValue>

Delegat getter.

annotations
DataViewSchema.Annotations

Adnotacje kolumny wejściowej. Należy pamiętać, że adnotacje w kolumnie adnotacji są nieco rzadkie z wyjątkiem niektórych typów (na przykład nazwy miejsc dla wektora, wartości klucza dla typu klucza).

Dotyczy