Day 5 - Performance metrics in Machine Learning - Classification
By Jerin Lalichan Performance metrics in ML Evaluation of the performance of a model is important. Performance metrics are certain measures to quantify the performance of the model during the training and testing phases. In Machine learning, there are generally two kinds of performance metrics in use. For regression models and for classification models. Below are the most popular metrics in use: Classification Metrics Confusion Matrix (Not a metric but base to others) It is a visualization of ground truth vs predicted values, in the form of a matrix. It is not exactly a performance metric but forms a basis for other metrics. Each cell consists of one term, which is an evaluation factor. TP This indicates how many positive cases are predicted correctly FP This indicates the number of cases in which the value is actually negative but predicted as positive. This factor represents Type-I error in statistics. FN This indicates the values which are actually positive but predicte