sorbetto.flavor.value_flavor module

class sorbetto.flavor.value_flavor.ValueFlavor(performance: TwoClassClassificationPerformance, name: str = 'Unnamed Value Flavor', colormap: Any = None)[source]

Bases: AbstractNumericFlavor

For a given performance, the Value Flavor is the mathematical function that gives, to any importance \(I\) (that is, some application-specific preferences), the value taken by the Ranking Score \(R_I\) corresponding to this importance.

getDefaultColormap()[source]
getLowerBound()[source]
getUpperBound()[source]
property performance: TwoClassClassificationPerformance