# Metrics **Repository Path**: code_lixin/Metrics ## Basic Information - **Project Name**: Metrics - **Description**: Machine learning evaluation metrics, implemented in Python, R, Haskell, and MATLAB / Octave - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-29 - **Last Updated**: 2024-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **Note: the current releases of this toolbox are a beta release, to test working with Haskell's, Python's, and R's code repositories.**  **Metrics** provides implementations of various supervised machine learning evaluation metrics in the following languages: - [**Python**](https://github.com/benhamner/Metrics/tree/master/Python) ```easy_install ml_metrics``` - [**R**](https://github.com/benhamner/Metrics/tree/master/R) ```install.packages("Metrics")``` from the R prompt - [**Haskell**](https://github.com/benhamner/Metrics/tree/master/Haskell) ```cabal install Metrics``` - [**MATLAB / Octave**](https://github.com/benhamner/Metrics/tree/master/MATLAB) (clone the repo & run setup from the MATLAB command line) For more detailed installation instructions, see the README for each implementation. EVALUATION METRICS ------------------
| Evaluation Metric | Python | R | Haskell | MATLAB / Octave |
| Absolute Error (AE) | ✓ | ✓ | ✓ | ✓ |
| Average Precision at K (APK, AP@K) | ✓ | ✓ | ✓ | ✓ |
| Area Under the ROC (AUC) | ✓ | ✓ | ✓ | ✓ |
| Classification Error (CE) | ✓ | ✓ | ✓ | ✓ |
| F1 Score (F1) | ✓ | |||
| Gini | ✓ | |||
| Levenshtein | ✓ | ✓ | ✓ | |
| Log Loss (LL) | ✓ | ✓ | ✓ | ✓ |
| Mean Log Loss (LogLoss) | ✓ | ✓ | ✓ | ✓ |
| Mean Absolute Error (MAE) | ✓ | ✓ | ✓ | ✓ |
| Mean Average Precision at K (MAPK, MAP@K) | ✓ | ✓ | ✓ | ✓ |
| Mean Quadratic Weighted Kappa | ✓ | ✓ | ✓ | |
| Mean Squared Error (MSE) | ✓ | ✓ | ✓ | ✓ |
| Mean Squared Log Error (MSLE) | ✓ | ✓ | ✓ | ✓ |
| Normalized Gini | ✓ | |||
| Quadratic Weighted Kappa | ✓ | ✓ | ✓ | |
| Relative Absolute Error (RAE) | ✓ | |||
| Root Mean Squared Error (RMSE) | ✓ | ✓ | ✓ | ✓ |
| Relative Squared Error (RSE) | ✓ | |||
| Root Relative Squared Error (RRSE) | ✓ | |||
| Root Mean Squared Log Error (RMSLE) | ✓ | ✓ | ✓ | ✓ |
| Squared Error (SE) | ✓ | ✓ | ✓ | ✓ |
| Squared Log Error (SLE) | ✓ | ✓ | ✓ | ✓ |