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
파일 보기 프로젝트 열기: NativoPlatform/vowpal_wabbit 1 사용 예제들

공개 메소드들

메소드 설명
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