Machine Learning Based Design Patterns Prediction
Design patterns are essential elements in software engineering that provide solutions to common design problems and enhance code readability, maintainability, and scalability. However, identifying the appropriate design patterns to apply can be challenging, especially for less experienced developers. This paper proposes a machine learning-based approach to predict suitable design patterns for given software design problems, aiming to assist developers in making informed design decisions.The proposed system leverages a dataset of existing software projects annotated with design patterns to train various machine learning models, including decision trees, support vector machines (SVMs), and neural networks. By extracting features from the code, such as class relationships, method signatures, and other structural attributes, the models learn to recognize patterns and suggest appropriate design patterns for new projects.The machine learning models are evaluated on their accuracy, precision, recall, and F1-score to ensure their effectiveness in predicting design patterns. Furthermore, the system incorporates natural language processing (NLP) techniques to analyze project documentation and enhance the prediction accuracy by considering both code structure and textual descriptions.The results demonstrate that the machine learningbased approach can significantly improve the process of design pattern identification, reducing the time and effort required by developers and increasing the overall quality of software design. This system not only aids less experienced developers but also serves as a valuable tool for seasoned professionals, promoting best practices in software engineering.
Authors
- Binita Kumari (ORCID: https://orcid.org/0000-0003-0986-262X)
- M Lakshmipathi
Publication Details
- Journal
- International Journal of Engineering Technology and Management Sciences
- Published
- 2025-01-01
- DOI
- https://doi.org/10.46647/ijetms.2025.v09i02.060
- Primary Topic
- Manufacturing Process and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00