MCPcopy Create free account
hub / github.com/Tencent/NeuralNLP-NeuralClassifier / ClassificationType

Class ClassificationType

dataset/collator.py:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30
31class ClassificationType(Type):
32 SINGLE_LABEL = "single_label"
33 MULTI_LABEL = "multi_label"
34
35 @classmethod
36 def str(cls):
37 return ",".join([cls.SINGLE_LABEL, cls.MULTI_LABEL])
38
39
40class ClassificationCollator(Collator):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected