Interface IEventTrainer
A trainer which produces a IMaxentModel from a stream of events.
public interface IEventTrainer
Methods
Init(TrainingParameters, IDictionary<string, string>?)
Initializes this trainer with the given parameters.
void Init(TrainingParameters trainingParams, IDictionary<string, string>? reportMap)
Parameters
trainingParamsTrainingParametersreportMapIDictionary<string, string>
Train(IDataIndexer)
Trains a model from the given, already indexed, training data.
IMaxentModel Train(IDataIndexer indexer)
Parameters
indexerIDataIndexer
Returns
Train(IObjectStream<Event?>)
Trains a model from the given event stream.
IMaxentModel Train(IObjectStream<Event?> events)
Parameters
eventsIObjectStream<Event>