Interface IEventModelSequenceTrainer<T>
A trainer which produces a IMaxentModel from a stream of sequences.
public interface IEventModelSequenceTrainer<T>
Type Parameters
TThe type of the object which is the source of each sequence.
Methods
Init(TrainingParameters, IDictionary<string, string>?)
Initializes this trainer with the given parameters.
void Init(TrainingParameters trainParams, IDictionary<string, string>? reportMap)
Parameters
trainParamsTrainingParametersreportMapIDictionary<string, string>
Train(ISequenceStream<T>)
Trains a model from the given sequence stream.
IMaxentModel Train(ISequenceStream<T> events)
Parameters
eventsISequenceStream<T>