Skip to main content
Log in

Simulation of UML graph classification model by using data preprocessing and convolutional neural network

  • Published:
Optical and Quantum Electronics Aims and scope Submit manuscript

Abstract

With the gradual strengthening of science and technology and the continuous progress of the times, various fields of technology have been improved, resulting in an increasing amount of data generated year by year. In terms of UML diagram processing, the classification of UML diagrams has always been a hot topic of discussion, and for more complex systems, it has very good expressive power. Therefore, it has been applied in many fields and has become a priority for people to consider. This article will be based on the convolutional neural network graph classification algorithm to obtain data from UML diagrams and partition them. Firstly, analyzing and discussing the content overview of UML, it was found that it has wide applications in various fields; Then, through the research and analysis of convolutional neural networks, a classification model is constructed based on their characteristics. Finally, by collecting data on UML diagrams, a UML diagram dataset is designed. By preprocessing the dataset, the overall iteration count of the model, the UML diagram classification model, the accuracy of classification results, and the impact of average time can be obtained. After analyzing the existing research results, it was found that the graph classification algorithm model mentioned in this article can better analyze and classify UML diagrams.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Data availability

The data will be available upon request.

References

  • Adamu, A., Abdulrahman, S.M., Zainoon, W.M.N.W., et al.: Model matching: prediction of the influence of UML class diagram parameters during similarity assessment using artificial neural network[J]. Deep Learn Approaches Spoken Nat Language Process 2021, 97–109 (2021)

    Article  Google Scholar 

  • Agner, L.T.W., Soares, I.W., Stadzisz, P.C., et al.: A Brazilian survey on UML and model-driven practices for embedded software development[J]. J. Syst. Softw. 86(4), 997–1005 (2013)

    Article  Google Scholar 

  • Chren, S., Buhnova, B., Macak, M., et al.: Mistakes in UML diagrams: analysis of student projects in a software engineering course[C]. In: 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET). IEEE, pp. 100–109, (2019)

  • Gosala, B., Chowdhuri, S.R., Singh, J., et al.: Automatic classification of UML class diagrams using deep learning technique: convolutional neural network[J]. Appl. Sci. 11(9), 4267 (2021)

    Article  CAS  Google Scholar 

  • Munialo, S. W., Muketha, G. M., Omieno, K. K.: Automated feature extraction from UML images to measure SOA size [J] (2020).

  • Nedelcu, I.G., Ioniță, A.D., Mocanu, Ș.A., et al.: UML class model generation of images using neural networks[C]. In 2022 29th international conference on systems, signals and image processing (IWSSIP). IEEE, pp 1–4, (2022)

  • Ozkaya, M., Erata, F.: A survey on the practical use of UML for different software architecture viewpoints[J]. Inf. Softw. Technol. 121, 106275 (2020)

    Article  Google Scholar 

  • Raj, D.: UML modeling for the watermarking image file using transform method[J]. Int. J. Adv. Res. Comput. Sci. 4(3), 5656 (2013)

    Google Scholar 

  • Sellami, A., Hakim, H., Abran, A., et al.: A measurement method for sizing the structure of UML sequence diagrams[J]. Inf. Softw. Technol. 59, 222–232 (2015)

    Article  Google Scholar 

  • Shcherban, S., Liang, P., Li, Z., et al.: Multiclass classification of UML diagrams from images using deep learning[J]. Int. J. Softw. Eng. Knowl. Eng. 31(1112), 1683–1698 (2021)

    Article  Google Scholar 

  • Torre, D., Genero, M., Labiche, Y., et al.: How consistency is handled in model-driven software engineering and UML: an expert opinion survey[J]. Software Qual. J. 31(1), 1–54 (2023)

    Article  Google Scholar 

  • Vázquez-Ingelmo, A., García-Holgado, A., García-Peñalvo, F.J.: C4 model in a Software Engineering subject to ease the comprehension of UML and the software[C]. In: 2020 IEEE Global Engineering Education Conference (EDUCON). IEEE, pp. 919–924, (2020)

  • Wang, F.: UML diagram classification model based on convolution neural network[J]. Optik 2022, 170463 (2022)

    Article  Google Scholar 

  • Zhang, X., Washizaki, H., Yoshioka. N., et al.: Detecting design patterns in UML class diagram images using deep learning[C]. In 2022 IEEE/ACIS 23rd International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD). IEEE, pp. 27–32, (2022)

Download references

Funding

The authors have not disclosed any funding.

Author information

Authors and Affiliations

Authors

Contributions

Fangli Wang has contributed to the analysis, discussion, writing and revision of the paper.

Corresponding author

Correspondence to Fangli Wang.

Ethics declarations

Conflict of interest

The authors declare that they have no competing interests.

Ethical approval

Not applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, F. Simulation of UML graph classification model by using data preprocessing and convolutional neural network. Opt Quant Electron 56, 277 (2024). https://doi.org/10.1007/s11082-023-05921-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11082-023-05921-3

Keywords

Navigation