Welcome to roadstat.com on July 6 2009.
This is an internet experiment running to monitor browsing habbits of individuals through wikipedia contents.

Data cleansing

From Wikipedia, the free encyclopedia

  (Redirected from Data Cleaning)
Jump to: navigation, search

Data cleansing or data scrubbing is the act of detecting and correcting (or removing) corrupt or inaccurate records from a record set, table, or database. Used mainly in databases, the term refers to identifying incomplete, incorrect, inaccurate, irrelevant etc. parts of the data and then replacing, modifying or deleting this dirty data.

After cleansing, a data set will be consistent with other similar data sets in the system. The inconsistencies detected or removed may have been originally caused by different data dictionary definitions of similar entities in different stores, may have been caused by user entry errors, or may have been corrupted in transmission or storage.

Data cleansing differs from data validation in that validation almost invariably means data is rejected from the system at entry and is performed at entry time, rather than on batches of data.

The actual process of data cleansing may involve removing typographical errors or validating and correcting values against a known list of entities. The validation may be strict (such as rejecting any address that does not have a valid postal code) or fuzzy (such as correcting records that partially match existing, known records).

Contents

[edit] Motivation

Administratively, incorrect or inconsistent data can lead to false conclusions and misdirected investments on both public and private scales. For instance, the government may want to analyze population census figures to decide which regions require further spending and investment on infrastructure and services. In this case, it will be important to have access to reliable data to avoid erroneous fiscal decisions.

In the business world, incorrect data can be costly. Many companies use customer information databases that record data like contact information, addresses, and preferences. If for instance the addresses are inconsistent, the company will suffer the cost of resending mail or even losing customers.

[edit] Data quality

High quality data needs to pass a set of quality criteria. Those include:

  • Accuracy: An aggregated value over the criteria of integrity, consistency and density
  • Integrity: An aggregated value over the criteria of completeness and validity
  • Completeness: Achieved by correcting data containing anomalies
  • Validity: Approximated by the amount of data satisfying integrity constraints
  • Consistency: Concerns contradictions and syntactical anomalies
  • Uniformity: Directly related to irregularities
  • Density: The quotient of missing values in the data and the number of total values ought to be known
  • Uniqueness: Related to the number of duplicates in the data

[edit] The process of data cleansing

  • Data Auditing: The data is audited with the use of statistical methods to detect anomalies and contradictions. This eventually gives an indication of the characteristics of the anomalies and their locations.
  • Workflow specification: The detection and removal of anomalies is performed by a sequence of operations on the data known as the workflow. It is specified after the process of auditing the data and is crucial in achieving the end product of high quality data. In order to achieve a proper workflow, the causes of the anomalies and errors in the data have to be closely considered. If for instance we find that an anomaly is a result of typing errors in data input stages, the layout of the keyboard can help in manifesting possible solutions.
  • Workflow execution: In this stage, the workflow is executed after its specification is complete and its correctness is verified. The implementation of the workflow should be efficient even on large sets of data which inevitably poses a trade-off because the execution of a data cleansing operation can be computationally expensive.
  • Post-Processing and Controlling: After executing the cleansing workflow, the results are inspected to verify correctness. Data that could not be corrected during execution of the workflow are manually corrected if possible. The result is a new cycle in the data cleansing process where the data is audited again to allow the specification of an additional workflow to further cleanse the data by automatic processing.

[edit] Popular methods used

  • Parsing: Parsing in data cleansing is performed for the detection of syntax errors. A parser decides whether a string of data is acceptable within the allowed data specification. This is similar to the way a parser works with grammars and languages.
  • Data Transformation: Data Transformation allows the mapping of the data from their given format into the format expected by the appropriate application. This includes value conversions or translation functions as well as normalizing numeric values to conform to minimum and maximum values.
  • Duplicate Elimination: Duplicate detection requires an algorithm for determining whether data contains duplicate representations of the same entity. Usually, data is sorted by a key that would bring duplicate entries closer together for faster identification.
  • Statistical Methods: By analyzing the data using the values of mean, standard deviation, range, or clustering algorithms, it is possible for an expert to find values that are unexpected and thus erroneous. Although the correction of such data is difficult since the true value is not known, it can be resolved by setting the values to an average or other statistical value. Statistical methods can also be used to handle missing values which can be replaced by one or more plausible values that are usually obtained by extensive data augmentation algorithms.

[edit] Existing tools

A large variety of tools are available in the market to aid in data cleansing procedures. Here are some of them:

  • Special Domain Cleaning: Name and address records are a very common type of data that need cleansing. A number of commercial tools like IDCENTRIC (FirstLogic), PUREINTEGRATE (Oracle Corporation), http://www.improvemydata.com (Callcredit Marketing Solutions), QUICKADDRESS (QASSystems), and TRILLIUM (Trillium Software), focus on cleaning this kind of data by providing tools that can validate street names, numbers, and zip codes in addition to large libraries of rules that can help in dealing with such data forms.
  • Duplicate Elimination: Duplicate elimination tools include DATACLEANSER (EDD), MATCHIT(HelpITSystems), DUPLICATE RECORD REMOVER (Precision Data), http://www.improvemydata.com (Callcredit Marketing Solutions) which allow user-defined matching rules to help in duplicate detection and removal.

[edit] Challenges and problems

  • Error Correction and loss of information: The most challenging problem within data cleansing remains the correction of values to remove duplicates and invalid entries. In many cases, the available information on such anomalies is limited and insufficient to determine the necessary transformations or corrections leaving the deletion of such entries as the only plausible solution. The deletion of data though, leads to loss of information which can be particularly costly if there is a large amount of deleted data.
  • Maintenance of Cleansed Data: Data cleansing is an expensive and time consuming process. So after having performed data cleansing and achieving a data collection free of errors, one would want to avoid the re-cleansing of data in its entirety after some values in data collection change. The process should only be repeated on values that have changed which means that a cleansing lineage would need to be kept which would require efficient data collection and management techniques.
  • Data Cleansing in Virtually Integrated Environments: In virtually integrated Sources like IBM’s DiscoveryLink, the cleansing of data has to be performed every time the data is accessed which considerably decreases the response time and efficiency.
  • Data Cleansing Framework: In many cases it will not be possible to derive a complete data cleansing graph to guide the process in advance. This makes data cleansing an iterative process involving significant exploration and interaction which may require a framework in the form of a collection of methods for error detection and elimination in addition to data auditing. This can be integrated with other data processing stages like integration and maintenance.

[edit] See also

[edit] Sources

  • Han, J., Kamber, M. Data Mining: Concepts and Techniques, Morgan Kaufmann, 2001. ISBN 1-55860-489-8.
  • Kimball, R., Caserta, J. The Data Warehouse ETL Toolkit, Wiley and Sons, 2004. ISBN 0-7645-6757-8.
  • Muller H., Freytag J., Problems, Methods, and Challenges in Comprehensive Data Cleansing, Humboldt-Universitat zu Berlin zu Berlin, Germany.
  • Rahm, E., Hong, H. Data Cleaning: Problems and Current Approaches, University of Leipzig, Germany.

[edit] External links

Personal tools
Languages

Visit joltnews for the latest headlines
Visit bloit.com for company information
Geed Media does computer consulting on long island.
This page viewed times. See Logs