Interface ISequenceTrainer<T>
A trainer which produces a ISequenceClassificationModel<T> from a stream of sequences.
public interface ISequenceTrainer<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 sequence classification model from the given sequence stream.
ISequenceClassificationModel<string> Train(ISequenceStream<T> events)
Parameters
eventsISequenceStream<T>