clsclassinfo
clsclassinfo ¶
Classes¶
ClsClassInfo
dataclass
¶
This class can represent one classification class.
Parameters:¶
name: str
name of the class, usually the same as the folder name
weight: float, default 1.0
of this class are taken weight * count
samples (e.g. for training)
subclasses: List[str], default []
integrates the listed classes to this class. They are represented by
the actual name
field of this object.