TY - JOUR AU - Pazi, Sisa AU - Clohessy, Chantelle M. AU - Sharp, Gary D. PY - 2020/09/29 Y2 - 2024/03/28 TI - A framework to select a classification algorithm in electricity fraud detection JF - South African Journal of Science JA - S. Afr. J. Sci. VL - 116 IS - 9/10 SE - Research Article DO - 10.17159/sajs.2020/8189 UR - https://sajs.co.za/article/view/8189 SP - AB - <p>In the electrical domain, a non-technical loss often refers to energy used but not paid for by a consumer. The identification and detection of this loss is important as the financial loss by the electricity supplier has a negative impact on revenue. Several statistical and machine learning classification algorithms have been developed to identify customers who use energy without paying. These algorithms are generally assessed and compared using results from a confusion matrix. We propose that the data for the performance metrics from the confusion matrix be resampled to improve the comparison methods of the algorithms. We use the results from three classification algorithms, namely a support vector machine, <em>k</em>-nearest neighbour and naïve Bayes procedure, to demonstrate how the methodology identifies the best classifier. The case study is of electrical consumption data for a large municipality in South Africa.</p><p><strong>Significance:</strong></p><ul><li>The methodology provides data analysts with a procedure for analysing electricity consumption in an attempt to identify abnormal usage.</li><li>The resampling procedure provides a method for assessing performance measures in fraud detection systems.</li><li>The results show that no single metric is best, and that the selected metric is dependent on the objective of the analysis.</li></ul> ER -