[Paper Review] Learning best K analogies from data distribution for case-based software effort estimation
This paper proposes a novel K-based case-based reasoning (CBR) approach for software effort estimation that uses bisecting k-medoids clustering to automatically determine the optimal number of similar cases (K) per project by analyzing data distribution. By identifying project-specific analogies through clustering, the method improves estimation accuracy over traditional fixed-K CBR techniques.
Case-Based Reasoning (CBR) has been widely used to generate good software effort estimates. The predictive performance of CBR is a dataset dependent and subject to extremely large space of configuration possibilities. Regardless of the type of adaptation technique, deciding on the optimal number of similar cases to be used before applying CBR is a key challenge. In this paper we propose a new technique based on Bisecting k-medoids clustering algorithm to better understanding the structure of a dataset and discovering the the optimal cases for each individual project by excluding irrelevant cases. Results obtained showed that understanding of the data characteristic prior prediction stage can help in automatically finding the best number of cases for each test project. Performance figures of the proposed estimation method are better than those of other regular K-based CBR methods.
Motivation & Objective
- To address the challenge of selecting an optimal number of similar cases (K) in case-based reasoning (CBR) for software effort estimation.
- To reduce the subjectivity and configuration complexity of K selection by learning K from data structure rather than using fixed values.
- To improve prediction performance by excluding irrelevant cases through data-driven clustering.
- To enable automatic, project-specific K selection that adapts to the underlying data distribution.
Proposed method
- Applies the bisecting k-medoids clustering algorithm to partition the dataset into meaningful subgroups based on similarity in project attributes.
- Uses the resulting clusters to identify the most relevant cases for each test project, effectively determining project-specific K values.
- Selects cases from the same cluster as the target project to ensure semantic and structural relevance.
- Excludes cases from dissimilar clusters to avoid introducing noise or irrelevant analogies.
- Employs a data-driven approach to dynamically assign K per project based on cluster size and distribution.
- Integrates the selected cases into a standard CBR pipeline for effort estimation.
Experimental results
Research questions
- RQ1What is the optimal number of similar cases (K) for each individual software project in a given dataset?
- RQ2Can data clustering techniques improve the selection of relevant cases in case-based reasoning for software effort estimation?
- RQ3Does learning K from data distribution lead to better estimation accuracy than fixed-K approaches?
- RQ4How does excluding cases from dissimilar clusters affect prediction performance?
Key findings
- The proposed method achieves superior estimation accuracy compared to conventional fixed-K CBR approaches.
- By learning K from data distribution, the method automatically identifies the most relevant cases per project, reducing reliance on manual configuration.
- The use of bisecting k-medoids clustering effectively captures data structure, enabling better case selection.
- Excluding cases from dissimilar clusters significantly improves prediction performance by minimizing noise.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.