Share via


Trainer Class

Definition

A Trainer has the responsibility to train a model. We feed it with lines/sentences and then it can train the given Model.

public abstract class Trainer
type Trainer = class
Public MustInherit Class Trainer
Inheritance
Trainer
Derived

Constructors

Trainer()

Properties

Progress

Set when need to report the progress during the training.

Methods

Feed(IEnumerable<String>, Func<String,IEnumerable<String>>)

Process the input sequences and feed the result to the model.

Train(Model)

Perform the actual training and update the input model with the new vocabularies and merges data.

Applies to