MLTextClassifier.ModelAlgorithmType
The type of algorithm that a text classifier uses.
Declaration
enum ModelAlgorithmTypeMentioned in
Overview
Typically, maxEnt is the fastest training algorithm. If the text classifier’s performance isn’t good enough, consider the transferLearning algorithm.
Topics
Selecting an algorithm type
MLTextClassifier.ModelAlgorithmType.crf(revision:)MLTextClassifier.ModelAlgorithmType.maxEnt(revision:)MLTextClassifier.ModelAlgorithmType.transferLearning(_:revision:)MLTextClassifier.FeatureExtractorType