F1Factory

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

Bases: object

Wrapper for f1_score function.

__init__(average='micro')[source]
Parameters

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