RocAucTarget
Bases: Metric
Source code in metrics_toolbox/metrics/probability/roc_auc_target.py
id
property
Get the unique identifier for the metric.
| Returns: |
|
|---|
__init__(target_name)
Initialize the ROC AUC metric for a specific class.
| Parameters: |
|
|---|
Source code in metrics_toolbox/metrics/probability/roc_auc_target.py
compute(y_true, y_pred, column_names)
Compute the ROC AUC for a specific class in a multi-class setting.
This equals to binary ROC AUC where the positive class is target_name and
all other classes are considered negative in a one-vs-all fashion.
| Parameters: |
|
|---|
| Returns: |
|
|---|