We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f63fb commit 4e2e75aCopy full SHA for 4e2e75a
src/fmcore/framework/_task/classification.py
@@ -569,9 +569,9 @@ class Classifier(Algorithm, ABC):
569
dataset_statistics = ("labelspace",)
570
571
label_encoding_range: ClassVar[Optional[EncodingRange]] = None ## Only used to create `label_encoder`
572
- label_normalizer: Optional[Callable[[Any], str]]
573
- labelspace: Optional[Tuple[str, ...]]
574
- label_encoder: Optional[LabelEncoding]
+ label_normalizer: Optional[Callable[[Any], str]] = None
+ labelspace: Optional[Tuple[str, ...]] = None
+ label_encoder: Optional[LabelEncoding] = None
575
576
def __init__(
577
self,
0 commit comments