Skip to main content
Version: 0.91

templates.MultiPolarSequenceModelTemplateSchema

class templates.MultiPolarSequenceModelTemplateSchema(*args, **kwargs)

Multipolar Sequence Model template

Parameters

NameTypeDefaultInfo
fieldstrField storing the output of a ModelFeaturizer.
labelNoneInherited from SequenceModelTemplateSchema, but not used.
include_fieldsList[str]The fields to include in the model featurization.
model_typestr
The specific model used, must be contained in:

[“sdnet”]

model_namestrA user specified string name given to the trained model.
dirpathstrThe path to the stored model in minio.
unique_model_nameOptional[str]NoneA unique name for the model, usually the same as dirpath.
inv_label_mapDict[str, int]A mapping from the user’s class labels to the LF’s class labels.