Interface ISequenceStream<T>

Namespace
NOpenNLP.Tools.Ml.Model
Assembly
NOpenNLP.Tools.dll

Interface for streams of sequences used to train sequence models.

public interface ISequenceStream<T> : IObjectStream<Sequence<T>?>, IDisposable

Type Parameters

T

The type of the object which is the source of each sequence.

Inherited Members

Methods

UpdateContext(Sequence<T>, AbstractModel)

Creates a new event array based on the outcomes predicted by the specified parameters for the specified sequence.

Event[] UpdateContext(Sequence<T> sequence, AbstractModel model)

Parameters

sequence Sequence<T>

The sequence to be evaluated.

model AbstractModel

The model to use for the evaluation.

Returns

Event[]

event array