C# Класс VW.VowpalWabbitDynamic

Vowpal Wabbit wrapper for anonymous classes. Type used for serialization doesn't need to be known at compile time, but it's checked at runtime.
For each call to Learn there is additional overhead as the type is looked up in a dictionary compared to VowpalWabbit{T}.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Learn ( object example, ILabel label = null, int index = null ) : void

Learns from the given example.

VowpalWabbitDynamic ( VowpalWabbitSettings settings ) : System

Initializes a new instance of the VowpalWabbitDynamic class.

VowpalWabbitDynamic ( string arguments ) : System

Initializes a new instance of the VowpalWabbitDynamic class.

Приватные методы

Метод Описание
Dispose ( bool disposing ) : void
GetOrCreateSerializer ( Type type ) : IVowpalWabbitSerializer

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Learn() публичный Метод

Learns from the given example.
public Learn ( object example, ILabel label = null, int index = null ) : void
example object The example to learn.
label ILabel The optional label for this .
index int The optional index of the example, the should be attributed to.
Результат void

VowpalWabbitDynamic() публичный Метод

Initializes a new instance of the VowpalWabbitDynamic class.
public VowpalWabbitDynamic ( VowpalWabbitSettings settings ) : System
settings VowpalWabbitSettings Arguments passed to native instance.
Результат System

VowpalWabbitDynamic() публичный Метод

Initializes a new instance of the VowpalWabbitDynamic class.
public VowpalWabbitDynamic ( string arguments ) : System
arguments string Command line arguments passed to native instance.
Результат System