templates.MultipolarImageModelBasedTemplateSchema
- class templates.MultipolarImageModelBasedTemplateSchema(*args, **kwargs)
Model Based template
Parameters
Parameters
Name Type Default Info model_name strModel name. model_label strModel label. label strLabel. dirpath strThe path to the stored model in minio. label_map Dict[str, int]The label map for the Node that this LF is being applied to. pos_threshold float0.5Positive threshold for model decision function. Datapoints with decision function greater than or equal are voted positive. neg_threshold float-0.5Negative threshold for model decision function. Datapoints with decision function less than or equal are voted negative. invert_votes boolWhether to invert the votes.