templates.MultiPolarSequenceModelTemplateSchema
- class templates.MultiPolarSequenceModelTemplateSchema(*args, **kwargs)
Multipolar Sequence Model template
- Parameters:
field (str) – Field storing the output of a ModelFeaturizer
label (None) – Inherited from SequenceModelTemplateSchema, but not used.
include_fields (List[str]) – The fields to include in the model featurization.
model_type (str) –
- The specific model used, must be contained in:
[“sdnet”]
model_name (str) – A user specified string name given to the trained model.
dirpath (str) – The path to the stored model in minio.
unique_model_name (Optional[str] = None) – A unique name for the model, usually the same as dirpath.
inv_label_map (Dict[str, int]) – A mapping from the user’s class labels to the LF’s class labels.