sorbetto.core.entity module

class sorbetto.core.entity.Entity(performance: TwoClassClassificationPerformance, name: str = 'ε', color: Any = None)[source]

Bases: object

property color: str | tuple[float] | list[float]
property name: str
property performance: TwoClassClassificationPerformance

The result of the evaluation of the entity, that is its performance.

Returns:

The entity’s performance

Return type:

TwoClassClassificationPerformance