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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Based Design Patterns Prediction

Binita Kumari, M Lakshmipathi
International Journal of Engineering Technology and Management Sciences
Manufacturing Process and Optimization
article

Machine Learning Based Design Patterns Prediction

Binita Kumari, M Lakshmipathi
article en

Abstract

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.

International Journal of Engineering Technology and Management SciencesVol. 9(2)
Openalex Percentile: Top 90%
Manufacturing Process and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.