sorbetto.flavor.ranking_flavor module
- class sorbetto.flavor.ranking_flavor.RankingFlavor(entity: Entity, entity_list: list[Entity], name: str = 'Unnamed Ranking Flavor', colormap: Any = None)[source]
Bases:
AbstractNumericFlavorFor a given rank \(r\), the Entity Flavor is the mathematical function that gives, to any Importance \(I\) (that is, some application-specific preferences), the entity ranked \(r\)-th according to the ordering of performances induced by the Ranking Score \(R_I\) corresponding to the importance \(I\).
- property id_entity: int
- property nb_entities: int
- property performances: FiniteSetOfTwoClassClassificationPerformances