Skip to main content
Top
Published in:
Cover of the book

2024 | OriginalPaper | Chapter

Metrics for Code Smells of ML Pipelines

Authors : Dolors Costal, Cristina Gómez, Silverio Martínez-Fernández

Published in: Product-Focused Software Process Improvement

Publisher: Springer Nature Switzerland

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

ML pipelines, as key components of ML systems, shall be developed following quality assurance techniques. Unfortunately, it is often the case in which they present maintainability issues, due to the experimentatal nature of data collection and ML model construction. To address this problem, this work in progress proposes initial metrics to measure the presence of code smells in ML pipelines. These metrics reflect good software engineering practices for code quality of ML pipelines.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Martínez-Fernández, S., Bogner, J., Franch, X., Oriol, M., et al.: Software engineering for ai-based systems: a survey. TOSEM 31(2), 1–59 (2022)CrossRef Martínez-Fernández, S., Bogner, J., Franch, X., Oriol, M., et al.: Software engineering for ai-based systems: a survey. TOSEM 31(2), 1–59 (2022)CrossRef
3.
go back to reference Sculley, D., et al.: Hidden technical debt in machine learning systems. Adv. Neural Inf. Process. Syst. 28, 2503–2511 (2015) Sculley, D., et al.: Hidden technical debt in machine learning systems. Adv. Neural Inf. Process. Syst. 28, 2503–2511 (2015)
4.
go back to reference Jebnoun, H., Ben Braiek, H., Rahman, M.M., Khomh, F.: The scent of deep learning code: an empirical study. In: International Conference on Mining Software Repositories 2020, pp. 420–430 (2020) Jebnoun, H., Ben Braiek, H., Rahman, M.M., Khomh, F.: The scent of deep learning code: an empirical study. In: International Conference on Mining Software Repositories 2020, pp. 420–430 (2020)
5.
go back to reference Tang, Y., Khatchadourian, R., Bagherzadeh, M., Singh, R., Stewart, A., Raja, A.: An empirical study of refactorings and technical debt in machine learning systems. In: International Conference on Software Engineering (ICSE), pp. 238–250. IEEE (2021) Tang, Y., Khatchadourian, R., Bagherzadeh, M., Singh, R., Stewart, A., Raja, A.: An empirical study of refactorings and technical debt in machine learning systems. In: International Conference on Software Engineering (ICSE), pp. 238–250. IEEE (2021)
7.
go back to reference Van Oort, B., Cruz, L., Loni, B., Van Deursen, A.: Project smells experiences in analysing the software quality of ML projects with mllint. In: International Conference on Software Engineering: Software Engineering in Practice, pp. 211–220 (2022) Van Oort, B., Cruz, L., Loni, B., Van Deursen, A.: Project smells experiences in analysing the software quality of ML projects with mllint. In: International Conference on Software Engineering: Software Engineering in Practice, pp. 211–220 (2022)
8.
go back to reference Bafandeh Mayvan, B., Rasoolzadegan, A., Javan Jafari, A.: Bad smell detection using quality metrics and refactoring opportunities. J. Softw. Evol. Process 32(8), 1–33 (2020)CrossRef Bafandeh Mayvan, B., Rasoolzadegan, A., Javan Jafari, A.: Bad smell detection using quality metrics and refactoring opportunities. J. Softw. Evol. Process 32(8), 1–33 (2020)CrossRef
9.
go back to reference Lewis, G.A., Ozkaya, I., Xu, X.: Software architecture challenges for ML systems. In: International Conference on Software Maintenance and Evolution (ICSME), pp. 634–638. IEEE (2021) Lewis, G.A., Ozkaya, I., Xu, X.: Software architecture challenges for ML systems. In: International Conference on Software Maintenance and Evolution (ICSME), pp. 634–638. IEEE (2021)
10.
go back to reference Sant’Anna, C., Figueiredo, E., Garcia, A., Lucena, C.J.: On the modularity of software architectures: a concern-driven measurement frame-work. In: Oquendo, F. (eds.) Software Architecture. ECSA 2007. LNCS, vol. 4758, pp. 207–224. Springer, Berlin, Heidelberg (2007). https://doi.org/10.1007/978-3-540-75132-8_17 Sant’Anna, C., Figueiredo, E., Garcia, A., Lucena, C.J.: On the modularity of software architectures: a concern-driven measurement frame-work. In: Oquendo, F. (eds.) Software Architecture. ECSA 2007. LNCS, vol. 4758, pp. 207–224. Springer, Berlin, Heidelberg (2007). https://​doi.​org/​10.​1007/​978-3-540-75132-8_​17
11.
go back to reference Pengo, E., Gál, P.: Grasping primitive enthusiasm-approaching primitive obsession in steps. In: International Conference on Software Technologies, 2018, pp. 423–430 (2018) Pengo, E., Gál, P.: Grasping primitive enthusiasm-approaching primitive obsession in steps. In: International Conference on Software Technologies, 2018, pp. 423–430 (2018)
13.
go back to reference Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns. Elements of Reusable Object-Oriented Software, 1st edn. Addison-Wesley, Boston (1995) Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns. Elements of Reusable Object-Oriented Software, 1st edn. Addison-Wesley, Boston (1995)
14.
go back to reference Fowler, M.: Refactoring: Improving the Design of Existing Code, 2nd edn. Addison-Wesley, Boston (2019) Fowler, M.: Refactoring: Improving the Design of Existing Code, 2nd edn. Addison-Wesley, Boston (2019)
Metadata
Title
Metrics for Code Smells of ML Pipelines
Authors
Dolors Costal
Cristina Gómez
Silverio Martínez-Fernández
Copyright Year
2024
DOI
https://doi.org/10.1007/978-3-031-49269-3_1

Premium Partner