Enumeration Case

MLTextClassifier.FeatureExtractorType.customEmbedding(_:)

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

Declaration

case customEmbedding(URL)

Parameters

URL

The path to a model file (ending in .mlmodel, .mlmodelc, or .dat), that contains a custom embedding.

See Also

Selecting a Feature Extractor Type

case dynamicEmbedding

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

case staticEmbedding

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