Język

DataViewSchema.Annotations.Builder.Add Metoda

Definicja

Przeciążenia

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

Dodaj niektóre kolumny 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 typizowanej wersji.

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

Dodaj jedną kolumnę adnotacji, silnie typizowana wersja.

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

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

Dodaj niektóre kolumny 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, które kolumny adnotacji mają być zachowywane.

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 typizowanej wersji.

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 typizowana wersja.

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 pobierania.

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