Enumeration Case

MLTextClassifier.FeatureExtractorType.staticEmbedding

A feature extractor that uses the standard, built-in word embeddings.

Declaration

case staticEmbedding

Discussion

The standard word embeddings are the same as those that NLEmbedding provides with its wordEmbedding(for:) method.

See Also

Selecting a Feature Extractor Type

case dynamicEmbedding

A feature extractor that provides embeddings for words, based on their in-context use.

case customEmbedding(URL)

A feature extractor that uses an embedding you provide, contained within a model file.