DataViewSchema.Annotations.Builder.Add Metodo

Definizione

Overload

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

Aggiungere alcune colonne da annotations nelle nuove annotazioni applicando selector a tutti i nomi.

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

Aggiungere una colonna di annotazione, una versione tipizzata in modo debole.

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

Aggiungere una colonna di annotazione, una versione fortemente tipizzata.

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

Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs

Aggiungere alcune colonne da annotations nelle nuove annotazioni applicando selector a tutti i nomi.

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

Parametri

annotations
DataViewSchema.Annotations

Riga di annotazioni da cui accettare i valori.

selector
Func<String,Boolean>

Predicato che descrive le colonne di annotazione da mantenere.

Si applica a

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

Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs

Aggiungere una colonna di annotazione, una versione tipizzata in modo debole.

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)

Parametri

name
String

Nome dell'annotazione.

type
DataViewType

Tipo di annotazione.

getter
Delegate

Delegato getter che fornisce il valore. Si noti che il tipo di getter è ancora selezionato all'interno di questo metodo.

annotations
DataViewSchema.Annotations

Annotazioni della colonna di input. Si noti che le annotazioni in una colonna di annotazione sono un po' rare, ad eccezione di determinati tipi, ad esempio nomi di slot per un vettore, valori di chiave per un tipo di chiave.

Si applica a

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

Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs
Origine:
DataViewSchema.cs

Aggiungere una colonna di annotazione, una versione fortemente tipizzata.

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)

Parametri di tipo

TValue

Tipo del valore.

Parametri

name
String

Nome dell'annotazione.

type
DataViewType

Tipo di annotazione.

getter
ValueGetter<TValue>

Delegato getter.

annotations
DataViewSchema.Annotations

Annotazioni della colonna di input. Si noti che le annotazioni in una colonna di annotazione sono un po' rare, ad eccezione di determinati tipi, ad esempio nomi di slot per un vettore, valori di chiave per un tipo di chiave.

Si applica a