PeerJ Computer Science (Nov 2024)

A simplified approach for efficiency analysis of machine learning algorithms

  • Muthuramalingam Sivakumar,
  • Sudhaman Parthasarathy,
  • Thiyagarajan Padmapriya

DOI
https://doi.org/10.7717/peerj-cs.2418
Journal volume & issue
Vol. 10
p. e2418

Abstract

Read online Read online

The efficiency of machine learning (ML) algorithms plays a critical role in their deployment across various applications, particularly those with resource constraints or real-time requirements. This article presents a comprehensive framework for evaluating ML algorithm efficiency by incorporating metrics, such as training time, prediction time, memory usage, and computational resource utilization. The proposed methodology involves a multistep process: collecting raw metrics, normalizing them, applying the Analytic Hierarchy Process (AHP) to determine weights, and computing a composite efficiency score. We applied this framework to two distinct datasets: medical image data and agricultural crop prediction data. The results demonstrate that our approach effectively differentiates algorithm performance based on the specific demands of each application. For medical image analysis, the framework highlights strengths in robustness and adaptability, whereas for agricultural crop prediction, it emphasizes scalability and resource management. This study provides valuable insights into optimizing ML algorithms, and offers a versatile tool for practitioners to assess and enhance algorithmic efficiency across diverse domains.

Keywords