Skip to main content
Version: 25.1

templates.MultipolarImageModelBasedTemplateSchema

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

Model Based template

Parameters

NameTypeDefaultInfo
model_namestrModel name.
model_labelstrModel label.
labelstrLabel.
dirpathstrThe path to the stored model in minio.
label_mapDict[str, int]The label map for the Node that this LF is being applied to.
pos_thresholdfloat0.5Positive threshold for model decision function. Datapoints with decision function greater than or equal are voted positive.
neg_thresholdfloat-0.5Negative threshold for model decision function. Datapoints with decision function less than or equal are voted negative.
invert_votesboolWhether to invert the votes.