public override void EnterExample(VowpalWabbitParser.ExampleContext context) { this.example = new Data() { F = new List <KeyValuePair <string, float> >() }; }
public override void ExitExample(VowpalWabbitParser.ExampleContext context) { this.stopwatch.Start(); using (var vwExample = this.vw.ReadExample(this.example)) { vwExample.Learn(); } this.stopwatch.Stop(); }
public override void EnterExample(VowpalWabbitParser.ExampleContext context) { this.example.Features.Clear(); }
public override void ExitExample(VowpalWabbitParser.ExampleContext context) { this.example.Line = context.GetText(); this.Created(this.example, this.example.Label); }
public override void ExitExample(VowpalWabbitParser.ExampleContext context) { this.example.Line = context.GetText(); this.action(this.example); }
public override void ExitExample(VowpalWabbitParser.ExampleContext context) { this.stopwatch.Start(); this.vw.Learn(this.example, this.label); this.stopwatch.Stop(); }