F1ScoreTarget
Bases: Metric
Source code in metrics_toolbox/metrics/classification/f1_score_target.py
id
property
Get the unique identifier for the metric.
| Returns: |
|
|---|
__init__(target_name)
Initialize F1 score metric for classification.
| Parameters: |
|
|---|
compute(y_true, y_pred, column_names)
Compute F1 score for label classification.
| Parameters: |
|
|---|
| Returns: |
|
|---|