Cookie Consent
Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.
Read our Privacy Policy
VOCABULARY

Data Cleaning

Data cleaning, also known as data cleansing or data scrubbing, is the process of identifying and correcting or removing errors, inaccuracies, discrepancies, and irregularities in datasets. These could include inconsistencies, duplicates, incorrect entries, missing values, and outliers, which could distort, mislead, or skew the analysis or application of the data.

How Data Cleaning works

Data cleaning works by following a structured set of procedures to ensure the accuracy and reliability of data. This usually happens in the following stages:

  1. Data auditing: Involves analyzing the data to identify anomalies and irregularities using descriptive statistics or data visualization tools.
  2. Workflow specification: This step defines the guidelines that will be used to correct and handle errors in the dataset.
  3. Workflow execution: This stage implements the rules and procedures specified in the previous step. It involves replacing, modifying, or deleting the inconsistent or incorrect part of the data.
  4. Post-processing and controlling: After cleaning, the data is re-examined to ensure the cleaning process has not introduced new errors or removed valuable information.

Automated tools, libraries, or programming languages like Python and R, are often used to carry out data cleaning, though it can also be done manually. Effective data cleaning ultimately results in higher quality data, fostering accurate and reliable decisions and interpretations in data analysis, machine learning, and other data-driven fields.

Lakera LLM Security Playbook
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

Related terms
Activate
untouchable mode.
Get started for free.

Lakera Guard protects your LLM applications from cybersecurity risks with a single line of code. Get started in minutes. Become stronger every day.

Join our Slack Community.

Several people are typing about AI/ML security. 
Come join us and 1000+ others in a chat that’s thoroughly SFW.