Skip to content

Commit 4e2e75a

Browse files
Fix to classifier
1 parent 95f63fb commit 4e2e75a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fmcore/framework/_task/classification.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@ class Classifier(Algorithm, ABC):
569569
dataset_statistics = ("labelspace",)
570570

571571
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]
572+
label_normalizer: Optional[Callable[[Any], str]] = None
573+
labelspace: Optional[Tuple[str, ...]] = None
574+
label_encoder: Optional[LabelEncoding] = None
575575

576576
def __init__(
577577
self,

0 commit comments

Comments
 (0)