Trainer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |