Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the metrics to evaluate a machine learning algorithm

I would like to know what are the various techniques and metrics used to evaluate how accurate/good an algorithm is and how to use a given metric to derive a conclusion about a ML model.

one way to do this is to use precision and recall, as defined here in wikipedia. Another way is to use the accuracy metric as explained here. So, what I would like to know is whether there are other metrics for evaluating an ML model?

like image 923
Mohamed Ali JAMAOUI Avatar asked Jan 13 '14 13:01

Mohamed Ali JAMAOUI


People also ask

What are the metrics to be considered to evaluate any machine learning algorithm explain?

Metrics like accuracy, precision, recall are good ways to evaluate classification models for balanced datasets, but if the data is imbalanced and there's a class disparity, then other methods like ROC/AUC, Gini coefficient perform better in evaluating the model performance.

What are the metrics used in machine learning?

Classification Metrics (accuracy, precision, recall, F1-score, ROC, AUC, …) Regression Metrics (MSE, MAE) Ranking Metrics (MRR, DCG, NDCG) Statistical Metrics (Correlation)

What are 3 metrics of evaluation?

Accuracy, confusion matrix, log-loss, and AUC-ROC are some of the most popular metrics.


1 Answers

I've compiled, a while ago, a list of metrics used to evaluate classification and regression algorithms, under the form of a cheatsheet. Some metrics for classification: precision, recall, sensitivity, specificity, F-measure, Matthews correlation, etc. They are all based on the confusion matrix. Others exist for regression (continuous output variable).

The technique is mostly to run an algorithm on some data to get a model, and then apply that model on new, previously unseen data, and evaluate the metric on that data set, and repeat.

Some techniques (actually resampling techniques from statistics):

  • Jacknife
  • Crossvalidation
  • K-fold validation
  • bootstrap.
like image 63
damienfrancois Avatar answered Sep 21 '22 04:09

damienfrancois