Compartir a través de


DataViewSchema.Annotations.Builder.Add Método

Definición

Sobrecargas

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

Agregue algunas columnas de annotations a nuestras nuevas anotaciones aplicando selector a todos los nombres.

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

Agregue una columna de anotación, versión con tipo débil.

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

Agregue una columna de anotación, versión fuertemente tipada.

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

Agregue algunas columnas de annotations a nuestras nuevas anotaciones aplicando selector a todos los nombres.

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

Parámetros

annotations
DataViewSchema.Annotations

Fila de anotaciones de la que se van a tomar valores.

selector
Func<String,Boolean>

Predicado que describe qué columnas de anotación se van a mantener.

Se aplica a

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

Agregue una columna de anotación, versión con tipo débil.

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)

Parámetros

name
String

Nombre de la anotación.

type
DataViewType

Tipo de la anotación.

getter
Delegate

Delegado del captador que proporciona el valor. Tenga en cuenta que el tipo del captador todavía se comprueba dentro de este método.

annotations
DataViewSchema.Annotations

Anotaciones de la columna de entrada. Tenga en cuenta que las anotaciones de una columna de anotación son algo poco frecuentes, excepto para determinados tipos (por ejemplo, nombres de ranura para un vector, valores de clave para algo de tipo de clave).

Se aplica a

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

Agregue una columna de anotación, versión fuertemente tipada.

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)

Parámetros de tipo

TValue

Tipo del valor.

Parámetros

name
String

Nombre de la anotación.

type
DataViewType

Tipo de la anotación.

getter
ValueGetter<TValue>

Delegado del captador.

annotations
DataViewSchema.Annotations

Anotaciones de la columna de entrada. Tenga en cuenta que las anotaciones de una columna de anotación son algo poco frecuentes, excepto para determinados tipos (por ejemplo, nombres de ranura para un vector, valores de clave para algo de tipo de clave).

Se aplica a