What is Data cleaning?
In Turkish: Veri temizleme · Topic: Data and evaluation
The preparation step in which errors, duplicate records, missing values and noise in raw data are found and then fixed or removed. It happens before model training and makes the data trustworthy.
How does it work?
The process usually starts by scanning the data for copied records, badly formatted rows, empty fields and inconsistent values. These are then deleted, corrected or filled in with a reasonable value. With text data, leftover HTML, repeated sentences, unwanted languages and passages containing personal information are also filtered out. Rules, statistical checks and sometimes small classifier models do the work. It resembles washing and trimming vegetables before cooking: the prep decides how the dish turns out.
Why does it matter?
A model learns from what it sees, so if the data is wrong, the model learns the errors too. For large language models, training data quality is often seen as just as decisive as model size. Data scientists spend a large share of their time on this work. Removing duplicates and personal data also matters for privacy and for reducing memorization.
Example
In a bank's customer table, the same person listed twice with different spellings, or an age column that says 250, would be caught and fixed during cleaning.
FAQ
Is data cleaning the same as data preprocessing?
Not exactly. Preprocessing is the broader term. Besides cleaning, it includes normalization, scaling and converting data into a form the model can use.
Can cleaning too much cause problems?
Yes. Deleting real but unusual examples, or records that represent certain groups, can leave the model with an incomplete view of the world and increase bias.