autointent.metrics#
All the metrics for regexp, retrieval, scoring and decision nodes.
Submodules#
Attributes#
Classes#
Protocol for decision metrics. |
|
Protocol for regexp metrics. |
|
Protocol for retrieval metrics. |
|
Protocol for scoring metrics. |
Functions#
|
Calculate decision accuracy. Supports both multiclass and multilabel. |
|
Calculate decision f1 score. Supports both multiclass and multilabel. |
|
Calculate decision precision. Supports both multiclass and multilabel. |
|
Calculate decision recall. Supports both multiclass and multilabel. |
|
Calculate ROC AUC for multiclass and multilabel classification. |
|
Calculate regexp partial accuracy. |
|
Calculate regexp partial precision. |
|
Calculate the hit rate at position k. |
|
Calculate the hit rate at position k for the intersecting labels. |
|
Calculate the hit rate at position k for the intersecting labels. |
|
Calculate the mean average precision at position k. |
|
Calculate the mean average precision at position k for the intersecting labels. |
|
Calculate the mean average precision at position k for the intersecting labels. |
|
Calculate the Mean Reciprocal Rank (MRR) at position k. |
|
Calculate the Mean Reciprocal Rank (MRR) at position k for the intersecting labels. |
|
Calculate the Mean Reciprocal Rank (MRR) at position k for the intersecting labels. |
|
Calculate the Normalized Discounted Cumulative Gain (NDCG) at position k. |
|
Calculate the Normalized Discounted Cumulative Gain (NDCG) at position k for the intersecting labels. |
|
Calculate the Normalized Discounted Cumulative Gain (NDCG) at position k for the intersecting labels. |
|
Calculate the precision at position k. |
|
Calculate the precision at position k for the intersecting labels. |
|
Calculate the precision at position k for the intersecting labels. |
|
Calculate accuracy for multiclass and multilabel classification. |
|
Calculate the F1 score for multiclass and multilabel classification. |
|
Calculate the hit rate for multilabel classification. |
|
Supports multiclass and multilabel cases. |
|
Calculate the mean average precision (MAP) score for multilabel classification. |
|
Supports multilabel classification. |
|
Supports multilabel. |
|
Calculate precision for multiclass and multilabel classification. |
|
Calculate recall for multiclass and multilabel classification. |
|
Supports multiclass and multilabel cases. |
Package Contents#
- autointent.metrics.METRIC_FN#