module metrics.classification
¶
Short summary¶
module lightmlboard.metrics.classification
Metrics about regressions.
Functions¶
function |
truncated documentation |
---|---|
Tells if an array is a vector. |
|
Applies to a multi-label classification problem. Computes the average Jaccard index between two sequences of sets … |
|
Reshape the expected values and predictions. |
|
Computes roc_auc_score with … |
|
Computes roc_auc_score with … |
Documentation¶
Metrics about regressions.
- lightmlboard.metrics.classification.is_vector(a)¶
Tells if an array is a vector.
- lightmlboard.metrics.classification.multi_label_jaccard(exp, val, exc=True)¶
Applies to a multi-label classification problem. Computes the average Jaccard index between two sequences of sets of labels (see Multi-label classification).
- Parameters:
exp – list of tuple or list of set or filename or streams (comma separated values) or dict
val – list of tuple or list of set or filename or streams (comma separated values) or dict
exc – raises an exception if not enough submitted items
- Returns:
score
- lightmlboard.metrics.classification.reshape(exp, val)¶
Reshape the expected values and predictions.
- lightmlboard.metrics.classification.roc_auc_score_macro(exp, val)¶
Computes roc_auc_score with average=’macro’.
- lightmlboard.metrics.classification.roc_auc_score_micro(exp, val)¶
Computes roc_auc_score with average=’micro’.