Enumeration

MLTextClassifier.FeatureExtractorType

The feature extractors that are available to train a text classifier using transfer learning.

Declaration

enum MLTextClassifier.FeatureExtractorType

Topics

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.

case staticEmbedding

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

Describing a Feature Extractor Type

var description: String

A text representation of a feature extractor type.

var debugDescription: String

A text representation of the feature extractor type that’s suitable for output during debugging.

var playgroundDescription: Any

A description of the feature extractor type shown in a playground.

See Also

Selecting an Algorithm Type