Package smile.sequence
Interface SequenceLabeler<T>
- Type Parameters:
T
- the data type of model input objects.
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CRFLabeler
,HMMLabeler
A sequence labeler assigns a class label to each position of the sequence.
-
Method Summary
-
Method Details
-
predict
Predicts the sequence labels.- Parameters:
x
- the sequence. At each position, it may be the original symbol or a feature set about the symbol, its neighborhood, and/or other information.- Returns:
- the sequence labels.
-