Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm

Accurate software cost estimation (SCE) is a critical factor in the successful delivery of software projects, as highlighted by industry statistics indicating that only some of the projects comply with the predicted budget. Among the software estimation methods, analogy-based estimation (ABE) is one...

Full description

Saved in:
Bibliographic Details
Main Authors: Taghi Javdani Gandomani, Maedeh Dashti, Sadegh Ansaripour, Hazura Zulzalil
Format: Article
Language:English
Published: PeerJ Inc. 2025-06-01
Series:PeerJ Computer Science
Subjects:
Online Access:https://peerj.com/articles/cs-2794.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849687727898886144
author Taghi Javdani Gandomani
Maedeh Dashti
Sadegh Ansaripour
Hazura Zulzalil
author_facet Taghi Javdani Gandomani
Maedeh Dashti
Sadegh Ansaripour
Hazura Zulzalil
author_sort Taghi Javdani Gandomani
collection DOAJ
description Accurate software cost estimation (SCE) is a critical factor in the successful delivery of software projects, as highlighted by industry statistics indicating that only some of the projects comply with the predicted budget. Among the software estimation methods, analogy-based estimation (ABE) is one of the most popular ones. Although this method has been customized in recent years with the help of optimization algorithms to achieve better results, the use of more powerful optimization algorithms can be effective in achieving better results in software size estimation. This study presents an innovative approach to SCE that integrates the grey wolf optimization (GWO) algorithm to enhance the precision of ABE. The GWO algorithm, inspired by the hunting behavior and social hierarchy of grey wolves, is mathematically modeled and incorporated into the ABE approach. The key focus of this research is the optimization of the similarity function, a crucial component of the ABE, using both Euclidean and Manhattan distance measures. The article addresses the challenges in selecting an optimal similarity function and emphasizes the importance of proper feature weighting to improve estimation accuracy. The proposed GWO-based ABE method is rigorously evaluated on multiple software project datasets using cross-validation techniques. The performance of the GWO-based ABE is compared to other evolutionary algorithms based on widely accepted evaluation metrics. The results confirm that the integration of the GWO algorithm into ABE enhances estimation accuracy and model robustness. By optimizing feature weights in the similarity function, GWO-ABE effectively addresses key limitations of traditional analogy-based methods. The proposed approach demonstrates superior performance across multiple datasets, particularly under the Euclidean distance function, making it a reliable solution for software project cost estimation. Experimental evaluations show that GWO-ABE achieves notable improvements in key performance metrics, leading to reduced mean magnitude of relative error (MMRE), median magnitude of relative error (MdMRE), and higher percentage of prediction (PRED) compared to other ABE-customized methods. These findings highlight the role of metaheuristic optimization in improving software estimation techniques, contributing to more precise and efficient project planning and management.
format Article
id doaj-art-2ffa7f33cafc4507863e3b51bff0dd7c
institution DOAJ
issn 2376-5992
language English
publishDate 2025-06-01
publisher PeerJ Inc.
record_format Article
series PeerJ Computer Science
spelling doaj-art-2ffa7f33cafc4507863e3b51bff0dd7c2025-08-20T03:22:15ZengPeerJ Inc.PeerJ Computer Science2376-59922025-06-0111e279410.7717/peerj-cs.2794Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithmTaghi Javdani Gandomani0Maedeh Dashti1Sadegh Ansaripour2Hazura Zulzalil3Department of Computer Science, Faculty of Mathematical Sciences, Shahrekord University, Shahrekord, Chaharmahal and Bakhtiari, IranDepartment of Computer Science, Faculty of Mathematical Sciences, Shahrekord University, Shahrekord, Chaharmahal and Bakhtiari, IranDepartment of Computer Engineering, Aghigh University, Shahinshahr, Isfahan, IranDepartment of Software Engineering and Information Systems, Universiti Putra Malaysia, Serdang, Selangor, MalaysiaAccurate software cost estimation (SCE) is a critical factor in the successful delivery of software projects, as highlighted by industry statistics indicating that only some of the projects comply with the predicted budget. Among the software estimation methods, analogy-based estimation (ABE) is one of the most popular ones. Although this method has been customized in recent years with the help of optimization algorithms to achieve better results, the use of more powerful optimization algorithms can be effective in achieving better results in software size estimation. This study presents an innovative approach to SCE that integrates the grey wolf optimization (GWO) algorithm to enhance the precision of ABE. The GWO algorithm, inspired by the hunting behavior and social hierarchy of grey wolves, is mathematically modeled and incorporated into the ABE approach. The key focus of this research is the optimization of the similarity function, a crucial component of the ABE, using both Euclidean and Manhattan distance measures. The article addresses the challenges in selecting an optimal similarity function and emphasizes the importance of proper feature weighting to improve estimation accuracy. The proposed GWO-based ABE method is rigorously evaluated on multiple software project datasets using cross-validation techniques. The performance of the GWO-based ABE is compared to other evolutionary algorithms based on widely accepted evaluation metrics. The results confirm that the integration of the GWO algorithm into ABE enhances estimation accuracy and model robustness. By optimizing feature weights in the similarity function, GWO-ABE effectively addresses key limitations of traditional analogy-based methods. The proposed approach demonstrates superior performance across multiple datasets, particularly under the Euclidean distance function, making it a reliable solution for software project cost estimation. Experimental evaluations show that GWO-ABE achieves notable improvements in key performance metrics, leading to reduced mean magnitude of relative error (MMRE), median magnitude of relative error (MdMRE), and higher percentage of prediction (PRED) compared to other ABE-customized methods. These findings highlight the role of metaheuristic optimization in improving software estimation techniques, contributing to more precise and efficient project planning and management.https://peerj.com/articles/cs-2794.pdfSoftware cost estimationAnalogy-based estimationGrey Wolf Optimization algorithm
spellingShingle Taghi Javdani Gandomani
Maedeh Dashti
Sadegh Ansaripour
Hazura Zulzalil
Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
PeerJ Computer Science
Software cost estimation
Analogy-based estimation
Grey Wolf Optimization algorithm
title Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
title_full Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
title_fullStr Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
title_full_unstemmed Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
title_short Enhancing analogy-based software cost estimation using Grey Wolf Optimization algorithm
title_sort enhancing analogy based software cost estimation using grey wolf optimization algorithm
topic Software cost estimation
Analogy-based estimation
Grey Wolf Optimization algorithm
url https://peerj.com/articles/cs-2794.pdf
work_keys_str_mv AT taghijavdanigandomani enhancinganalogybasedsoftwarecostestimationusinggreywolfoptimizationalgorithm
AT maedehdashti enhancinganalogybasedsoftwarecostestimationusinggreywolfoptimizationalgorithm
AT sadeghansaripour enhancinganalogybasedsoftwarecostestimationusinggreywolfoptimizationalgorithm
AT hazurazulzalil enhancinganalogybasedsoftwarecostestimationusinggreywolfoptimizationalgorithm