metrics#

Utils module with methods for general metrics.

Functions

get_gain(base_score, score, perfect_score, ...)

Get gain between base score and score compared to the distance from the perfect score.

get_scorer_name(scorer)

Get scorer name from a scorer.

averaging_mechanism(averaging_method, ...[, ...])

Receive scores per class and averaging method and returns result based on averaging_method.