paper-with-me

Papers

Code Smells for Machine Learning Applications

2022-03-25 · Haiyin Zhang, Luís Cruz, Arie van Deursen

The popularity of machine learning has wildly expanded in recent years. Machine learning techniques have been heatedly studied in academia and applied in the industry to create business value. However, there is a lack of guidelines for code quality in machine learning applications. In particular, code smells have rarely been studied in this domain. Although machine learning code is usually integrated as a small part of an overarching system, it usually plays an important role in its core functionality. Hence ensuring code quality is quintessential to avoid issues in the long run. This paper proposes and identifies a list of 22 machine learning-specific code smells collected from various sources, including papers, grey literature, GitHub commits, and Stack Overflow posts. We pinpoint each smell with a description of its context, potential issues in the long run, and proposed solutions. In addition, we link them to their respective pipeline stage and the evidence from both academic and grey literature. The code smell catalog helps data scientists and developers produce and maintain high-quality machine learning application code.

📄 PDF Abstract BibTeX arXiv:2203.13746

Code (1)

hynn01/ml-smells 공식 구현 tf

Tasks

BIG-bench Machine Learning

Similar Papers 제목 키워드 기반

Automatic Identification of Machine Learning-Specific Code Smells

2025-08-04 · Peter Hamfelt, Ricardo Britto, Lincoln Rocha, Camilo Almendra arxiv

Machine learning (ML) has rapidly grown in popularity, becoming vital to many industries. Currently, the research on code smells in ML applications lacks tools and studies that address the identification and validity of …

Empirical Analysis on Effectiveness of NLP Methods for Predicting Code Smell

2021-08-08 · Himanshu Gupta, Abhiram Anand Gulanikar, Lov Kumar, Lalita Bhanu Murthy Neti

A code smell is a surface indicator of an inherent problem in the system, most often due to deviation from standard coding practices on the developers part during the development phase. Studies observe that code smells m…

Feature Engineering

Code Smells in Machine Learning Systems

2022-03-02 · Jiri Gesi, SiQi Liu, Jiawei Li, Iftekhar Ahmed 외

As Deep learning (DL) systems continuously evolve and grow, assuring their quality becomes an important yet challenging task. Compared to non-DL systems, DL systems have more complex team compositions and heavier data de…

BIG-bench Machine Learning

The Prevalence of Code Smells in Machine Learning projects

2021-03-06 · Bart van Oort, Luís Cruz, Maurício Aniche, Arie van Deursen

Artificial Intelligence (AI) and Machine Learning (ML) are pervasive in the current computer science landscape. Yet, there still exists a lack of software engineering experience and best practices in this field. One such…

BIG-bench Machine LearningManagement

Copilot-in-the-Loop: Fixing Code Smells in Copilot-Generated Python Code using Copilot

2024-01-25 · Beiqi Zhang, Peng Liang, Qiong Feng, Yujia Fu 외

As one of the most popular dynamic languages, Python experiences a decrease in readability and maintainability when code smells are present. Recent advancements in Large Language Models have sparked growing interest in A…

Code Generation