Metrics#
Classification Metrics#
|
Accuracy classification score. |
|
Compute Area Under the Curve (AUC) using the trapezoidal rule |
|
Compute the F1 score, also known as balanced F-score or F-measure |
|
Compute the F-beta score |
|
Log loss, aka logistic loss or cross-entropy loss. |
|
Compute a confusion matrix for each class or sample. |
Compute precision, recall, F-measure and support for each class |
|
|
Compute the precision |
|
Compute the recall |
|
Compute Area Under the Receiver Operating Characteristic Curve (ROC AUC) from prediction scores. |
|
Compute Receiver operating characteristic (ROC) |
Regression Metrics#
|
\(R^2\) (coefficient of determination) regression score function. |
Pairwise metrics#
Compute cosine distance between samples in X and Y. |
|
|
Compute cosine similarity between samples in X and Y. |
|
Considering the rows of X (and Y=X) as vectors, compute the distance matrix between each pair of vectors. |
Compute the Haversine distance between samples in X and Y |
|
Compute the L1 distances between the vectors in X and Y. |
|
|
Compute the rbf (gaussian) kernel between X and Y. |
|