Download presentation
Presentation is loading. Please wait.
Published byErin McGee Modified over 9 years ago
1
Data Integration www.ePowerPoint.com
2
Data Integration Data integration: Combines data from multiple sources into a coherent store Challenges: Entity identification problem How to Match schema and objects from different source? Attributes Redundancy Are the attributes correlation ? Tuple duplication : Redundant data occur often when integration of multiple databases Data value conflicts How to Detecting and resolving
3
3 Entity identification problem Object identification: The same attribute or object may have different names in different databases e.g., A.cust-id B.cust-# e.g., Bill Clinton = William Clinton Schema integration and Object matching are tricky. Integrate metadata from different sources: Identify real world entities from multiple data sources, Detecting and resolving tuple duplicate and data value conflicts www.ePowerPoint.com
4
Handling attribute Redundancy Attributes Redundancy Inconsistencies in attribute or dimension naming An attribute can be derived from another attributes- redundancy. e.g., annual revenue Redundant attributes may be able to be detected by correlation analysis for numerical attributes, use correlation coefficient for categorical attributes, use Χ 2 (chi-square) test
5
www.ePowerPoint.com Correlation Analysis (Numerical Data) Correlation coefficient (also called Pearson’s product moment coefficient, 皮尔逊积矩系数 ) where n is the number of tuples, and are the respective means of A and B, σ A and σ B are the respective standard deviation of A and B, and Σ(AB) is the sum of the AB cross- product. If r A,B > 0, A and B are positively correlated (A’s values increase as B’s). The higher, the stronger correlation. r A,B = 0: independent; r A,B < 0: negatively correlated
6
www.ePowerPoint.com Correlation Analysis (Categorical Data) Χ 2 (chi-square) test The larger the Χ 2 value, the more likely the variables are related The cells that contribute the most to the Χ 2 value are those whose actual count is very different from the expected count Correlation does not imply causality # of hospitals and # of car-theft in a city are correlated Both are causally linked to the third variable: population
7
www.ePowerPoint.com Χ 2 ( Chi-Square ) Calculation: An Example Χ 2 (chi-square) calculation (numbers in parenthesis are expected counts calculated based on the data distribution in the two categories) It shows that like_science_fiction and play_chess are correlated in the group Play chessNot play chessSum (row) Like science fiction250(90)200(360)450 Not like science fiction50(210)1000(840)1050 Sum(col.)30012001500
8
www.ePowerPoint.com Handling Redundancy in Data Integration Redundant data occur often when integration of multiple databases Object identification: The same attribute or object may have different names in different databases Derivable data: One attribute may be a “derived” attribute in another table, e.g., annual revenue
9
www.ePowerPoint.com resolving data value conflicts Detecting and resolving data value conflicts For the same real world entity, attribute values from different sources are different Possible reasons: different representations, different scales, e.g., metric vs. British units Different abstract level
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.