F1Factory

class lightautoml.tasks.common_metric.F1Factory(average='micro')[source]

Bases: object

Wrapper for f1_score function.

Parameters

average (str) – Averaging type (‘micro’, ‘macro’, ‘weighted’).