def __init__(self, candidate_classes, **kwargs):
self.candidate_classes = (<EOL>candidate_classes<EOL>if isinstance(candidate_classes, (list, tuple))<EOL>else [candidate_classes]<EOL>)<EOL>super(LabelerUDF, self).__init__(**kwargs)<EOL>
Initialize the LabelerUDF.