Contents

MLSequence

A machine learning collection type that stores a series of strings or integers.

Declaration

class MLSequence

Overview

A sequence stores a series of integers or strings of any length as the underlying type of an MLFeatureValue. Some classifier models — typically natural language models, such as an NLTagger — produce an MLSequence feature value from their output features.

Topics

Creating a sequence

Identifying the sequence’s element type

Retrieving the Sequence’s Values

Initializers

See Also

Supporting types