Download presentation
Presentation is loading. Please wait.
1
כריית נתונים, מחסני נתונים ד"ר גלעד רביד ד"ר גלעד רביד2005 “The significant problem we face cannot be solved by the same level of thinking that created them.” Albert Einstein
3
המוטיבציה: "הצורך הוא אם ההמצאה" “Necessity is the Mother of Invention” הבעיות בפיצוח נתונים: כלי איסוף נתונים אוטומטיים ו בסיסי נתונים בוגרים. הטכנולוגיה גרמה לכמויות נתונים עצומות הנשמרות בבסיסי נתונים, מחסני נתונים ומאגרי נתונים אחרים. כלי איסוף נתונים אוטומטיים ו בסיסי נתונים בוגרים. הטכנולוגיה גרמה לכמויות נתונים עצומות הנשמרות בבסיסי נתונים, מחסני נתונים ומאגרי נתונים אחרים. אנחנו טובעים בנתונים, אך משוועים לידע!
4
ניהול נתונים: CSF בעיות ניהול נפח גדל של נתונים נפח גדל של נתונים נתונים הם מפוזרים וקשים לאיסוף נתונים הם מפוזרים וקשים לאיסוף נתונים מאוחסנים במקומות שונים ובצורות שונות נתונים מאוחסנים במקומות שונים ובצורות שונות רק חלק קטן מהנתונים הם רלוונטיים רק חלק קטן מהנתונים הם רלוונטיים אבטחת מידע אבטחת מידע שלמות מידע שלמות מידע מסקנה: ניהול נתונים הוא הכרחי לאורך כל "מחזור חיי הנתונים"
5
From data to knowledge Data mining: the core of knowledge discovery process. Data mining: the core of knowledge discovery process. Data Cleaning Data Integration Databases Data Warehouse Task-relevant Data Selection Data Mining Pattern Evaluation
6
Data Life Cycle שלושת סוגי הנתונים פנימי פנימי אישי אישי חיצוני חיצוני
7
איכות הנתונים איכות הנתונים קובעת את מידת מועילותם ולכן את איכות ההחלטה שנסמכת עליהם איכות עצמית: דיוק, אובייקטיביות, יכולת הבנה איכות עצמית: דיוק, אובייקטיביות, יכולת הבנה איכות נגישותית: נגישות ואבטחת מידע איכות נגישותית: נגישות ואבטחת מידע איכות ההקשר: רלוונטיות, שלמות, בזמן איכות ההקשר: רלוונטיות, שלמות, בזמן איכות הייצוג: בעל אפשרות ניתוח, ייצוג אחיד איכות הייצוג: בעל אפשרות ניתוח, ייצוג אחיד שלמות הנתונים דורשת שהנתונים יהיו מדוייקים, נגישים ומעודכנים
8
רב ממדיות של נתונים נתונים זהים יכולים להצפות בצורה שונה. נתונים מודרניים הם בעלי מספר מדדים 20 Produc t Location LA 75 5530 3575 100 5075 SFNY 2000 Time Skateboard Snowboard Surfboard 2001
9
מחסן נתונים עיבוד נתונים בארגון יכול להיות עסקתי או אנליטי שתי האפשרויות לביצוע עיבוד אנליטי עבודה ישירה עם המערכת התפעולית "בוא נראה מה יש לנו" עבודה ישירה עם המערכת התפעולית "בוא נראה מה יש לנו" דורש כמות קטנה של משתמשים המבצעים שאילתות ומבצע עיבוד אנליטידורש כמות קטנה של משתמשים המבצעים שאילתות ומבצע עיבוד אנליטי דורש ידע גבוהה בבסיסי נתוניםדורש ידע גבוהה בבסיסי נתונים מחסני נתונים מחסני נתונים יוצר מאגר נתונים המנגיש את הנתונים התפעוליים לצורה קריאה לניתוחים אנליטייםיוצר מאגר נתונים המנגיש את הנתונים התפעוליים לצורה קריאה לניתוחים אנליטיים
10
מאפייני מחסן נתונים ארגון לפי נושא לפי נושא במקום מרכזי במקום מרכזי עקביות תלוי זמן עכשווי והיסטורי עכשווי והיסטורי לא נדיף בעל יחסים
11
מחסן נתונים
12
מתי? היכן? מחסן נתונים מתאים ביותר לארגונים כאשר יש צורך בגישה לכמות גדולה של נתונים יש צורך בגישה לכמות גדולה של נתונים מידע תפעולי נשמר במקומות שונים ובצורות שונות מידע תפעולי נשמר במקומות שונים ובצורות שונות יש כמות גדולה ומגוונת של לקוחות יש כמות גדולה ומגוונת של לקוחות המידע נשמר בצורה מאוד טכנית המקשה על הפענוח המידע נשמר בצורה מאוד טכנית המקשה על הפענוח
13
מרכז נתונים מול מחסן נתונים מרכז נתונים הוא פתרון זול, פשוט יותר למחסן נתונים שני סוגי מרכז נתונים Replicated (dependent) data marts Replicated (dependent) data marts Standalone data marts Standalone data marts
14
ניתוח נתונים ו OLAP נתונים הנשמרים במחסני נתונים ובמרכזי נתונים יכולים להיות בשימוש ל: שאילתות לגופו של עניין שאילתות לגופו של עניין Online Analytical Processing (OLAP) Online Analytical Processing (OLAP) מציאת ידע מציאת ידע OLAP משתמש בתצוגה רבת מימדים של נתונים מקובצים למציאה מהירה של מידע אסטרטגי לניתוחים עתידיים.
15
כריית נתונים כריית נתונים או מציאת מידע בבסיסי נתונים (KDD), הוא שליפה לא טבעית של מידע מרומז, לא ידוע מראש ובפוטנציאל שימושי מנתונים "" Tell me something interesting about the data "" Tell me something interesting about the data “ Describe the data ” “ Describe the data ” יכולות חיזוי מגמות חיזוי מגמות גילוי תבניות לא ידועות מראש גילוי תבניות לא ידועות מראש
16
כריית נתונים II פעילויות כריית נתונים קישור וסידור קישור וסידור מיון מיון קיבוץ קיבוץ חיזוי חיזוי מתודולוגיות: שיטות סטטיסטיות, הסקת מסקנות, אינדוקציות חוקים, עצי החלטה, אלגוריתמים גנטיים, למידת מכונה, רשתות נוירונים וכו'...
17
Defining Data Mining The automated extraction of predictive information from large databases Automated Extraction Predictive (Large) Databases Implicit is a statistical methodology
18
Data Mining Is… Decision Trees Decision Trees Neural Networks Neural Networks Rule Induction Rule Induction Nearest Neighbor Nearest Neighbor Genetic Algorithms Genetic Algorithms If..... Then...
19
Data Mining is Not... Data warehousing Ad Hoc Query / Reporting Online Analytical Processing (OLAP) Data Visualization Software Agents
20
דוגמאות ליישומי כריית נתונים Cellular phone companies Stop churn Stop churn Financial service firms Portfolio and risk management Portfolio and risk management Credit card companies Fraud detection, price setting Fraud detection, price setting Mail catalogs Lift response rates Lift response rates Retailers Market basket analysis, direct marketing Market basket analysis, direct marketing
21
רעיונות נוספים כריית טקסט ו כריית אינטרנט נתוני clicks נתוני clicks תצוגת נתונים מתייחס לתצוגת נתונים בצורת תמונה,טבלה רבת ממדים, גרפים, אנימציות וכו'.. מערכות מידע גיאוגרפיות (GIS) היא מערכת מבוססת מחשב ללכידה, אחסון, בדיקה,איחוד, שינוי והצגת נתונים אשר נמצאים בשימוש מפות דיגיטאליות האובייקטים מזוהים על ידי מיקומם הגיאוגרפי האובייקטים מזוהים על ידי מיקומם הגיאוגרפי
22
משפחות יישומים ניתוח בסיסי נתונים ותמיכה בקבלת החלטות ניתוח וניהול שוק ניתוח וניהול שוק ניתוח וניהול שוק ניתוח וניהול שוק ניתוח וניהול סיכונים ניתוח וניהול סיכונים ניתוח וניהול סיכונים ניתוח וניהול סיכונים גילוי וניהול הונאות גילוי וניהול הונאות גילוי וניהול הונאות גילוי וניהול הונאות אחרים אחרים אחרים ניתוח טקסט – כריית טקסט ניתוח אינטרנט – כריית אינטרנט מערכת שאילתות חכמה
23
ניתוח וניהול שוק מהם מקורות הנתונים לניתוח? תנועות כרטיסי אשראי, כרטיסי מועדון, קופונים, תלונות לקוחות, מחקרי אורח חיים תנועות כרטיסי אשראי, כרטיסי מועדון, קופונים, תלונות לקוחות, מחקרי אורח חיים ייעוד המערכת: מציאת קבוצות של לקוחות המשתפים תכונות משותפות: תחומי עניין, הכנסה, הוצאות, מנהגים וכו' מציאת קבוצות של לקוחות המשתפים תכונות משותפות: תחומי עניין, הכנסה, הוצאות, מנהגים וכו' קביעת תבניות הקנייה של לקוחות לאורך זמן
24
Analysis and Risk Management Finance planning and asset evaluation: cash flow analysis and prediction cash flow analysis and prediction time series analysis (trend analysis, etc.) time series analysis (trend analysis, etc.) Resource planning: summarize and compare the resources and spending summarize and compare the resources and spending Competition: Monitor competitors and market directions Monitor competitors and market directions Set pricing strategy in a highly competitive market Set pricing strategy in a highly competitive market
25
Fraud Detection and Management Use historical data to build models of fraudulent behavior and use data mining to help identify similar instances Examples application: Auto Insurance: detect a group of people who stage accidents to collect on insurance Auto Insurance: detect a group of people who stage accidents to collect on insurance Money Laundering: detect suspicious money transactions Money Laundering: detect suspicious money transactions Detecting telephone fraud: detecting suspicious patterns (generate call model - destination, time, duration) Detecting telephone fraud: detecting suspicious patterns (generate call model - destination, time, duration)
26
Other Areas of application Sports Analysis of game in NBA (eg., detect the opponent’s strategy) Analysis of game in NBA (eg., detect the opponent’s strategy) Astronomy discovery and classification of new objects discovery and classification of new objects Internet analysis of Web access logs, discovery of user behavior patterns, analyzing effectiveness of Web marketing, improving Web site organization analysis of Web access logs, discovery of user behavior patterns, analyzing effectiveness of Web marketing, improving Web site organization Text news analysis, medical record analysis, automatic email sorting and filtering, automatic document categorization news analysis, medical record analysis, automatic email sorting and filtering, automatic document categorization
27
Main steps of KDD Learning the application domain: relevant prior knowledge and goals of application relevant prior knowledge and goals of application Data cleaning and preprocessing: (may take 60% of effort!): creating a target data set: data selection creating a target data set: data selection find useful features, generate new features, map feature values, discretization of values find useful features, generate new features, map feature values, discretization of values Choosing data mining tools/algorithms summarization, classification, regression, association, clustering. summarization, classification, regression, association, clustering. Data mining: search for patterns of interest Interpretation: analysis of results. visualization, transformation, removing redundant patterns, etc. visualization, transformation, removing redundant patterns, etc. Use of discovered knowledge.
28
Data Mining and Business Intelligence Increasing potential to support business decisions End User Business Analyst Data Analyst DBA Making Decisions Data Presentation Visualization Techniques Data Mining Information Discovery Data Exploration OLAP, MDA Statistical Analysis, Querying and Reporting Data Warehouses / Data Marts Data Sources Paper, Files, Information Providers, Database Systems, OLTP
29
Data mining algorithms (I) Association: Association: finding rules like “if the customer bought item A, then in X% of transactions she/he also bought item B”. This holds for Y% of all transactions finding rules like “if the customer bought item A, then in X% of transactions she/he also bought item B”. This holds for Y% of all transactions Classification and Prediction: Classification and Prediction: Classification and Prediction: classify data based on the values in a classifying attribute, e.g., classify countries based on climate, or classify cars based on gas mileage classify data based on the values in a classifying attribute, e.g., classify countries based on climate, or classify cars based on gas mileage predict some unknown or missing attribute values based on other information predict some unknown or missing attribute values based on other information
30
Data mining algorithms (II) Clustering: Clustering: group data to form new classes, e.g., find groups of customers with similar behavior group data to form new classes, e.g., find groups of customers with similar behavior Time-series analysis: trend and deviation analysis: find and characterize evolution trend, sequential patterns, similar sequences, and deviation data, e.g., stock analysis. trend and deviation analysis: find and characterize evolution trend, sequential patterns, similar sequences, and deviation data, e.g., stock analysis. similarity-based pattern-directed analysis: find and characterize user-specified patterns in large databases. similarity-based pattern-directed analysis: find and characterize user-specified patterns in large databases. cyclicity/periodicity analysis: find segment-wise or total cycles or periodic behaviors in time-related data. cyclicity/periodicity analysis: find segment-wise or total cycles or periodic behaviors in time-related data. Other pattern-directed or statistical analysis
31
Association rules Finding associations or correlations among a set of items Applications: basket data analysis, cross-marketing,… basket data analysis, cross-marketing,… Example: buying beer and chips -> ketchup [0.5%,60%] buying beer and chips -> ketchup [0.5%,60%] rule form:LHS ® RHS [support, confidence] rule form:LHS ® RHS [support, confidence]
32
Classification Finding rules that describe given groups of objects Applications: credit approval, target marketing, medical diagnosis, treatment effectiveness analysis,... Example: based on the past symptoms and diagnoses of patients generate a model describing influence of symptoms to disease to be used for classification of future test data and better understanding of each class Methods: decision-trees (e.g., ID3, C5), statistics, neural networks,...
33
Clustering methods partitioning a set of data into a set of classes, called clusters, such that the members of each class are sharing some interesting common properties. h igh quality clusters if the intra-class similarity is high and the inter-class similarity is low Important is distance measure
34
Data-Mining tools Main producers of Data-Mining software: IBM – Intelligent Miner, extender for DB2 IBM – Intelligent Miner, extender for DB2 SAS – Enterprise Miner SAS – Enterprise Miner SPSS – Clementine SPSS – Clementine Microsoft – Analysis Server (…part of SQL Server 2000) Microsoft – Analysis Server (…part of SQL Server 2000) …many more smaller producers …many more smaller producers
35
Business User Data Mart Data Warehouse Customer Data Mining Action Response Ideal World
36
Business Intelligence (Technologies) Users Business Process Applications Data Warehouse OLAP Engine DM Tools Other Engines SQl Engines Web servers Data Warehouse OP DB Image Library Video Library Data Feeds
37
Evolution of Information Systems
38
Total Data in Gbytes (Today vs 3 Years - sectors) Note the Log Scale
39
Ask not “What” But “Why”, “What If” Monitoring business results on a monthly basis isn't good enough anymore. What you need is a real-time tool to define and explore the elements of your success. That is, a capability to slice, dice, drill down and an ability to learn the details at the desktop. On-Line-Analytical-Processing enables discovering details and asking ad-hoc questions and a sequence of questions. Report may tell “sales exceed forecast in Northeast” OLAP will tell “it is Boston driving these results…it is the old-line and not the new-line that is doing well…and similar results are seen for last 2 months… I.e., You can slice, dice...
40
BI: A Typical Architecture Extract Transform Load Refresh Data Sources Operational dbs External sources Serve Analysis Query/ Reporting Data Mining OLAP servers Data warehouse Data Marts
42
Decision Support, OLAP and Data Warehousing Data Warehousing OLAP (On-Line Analytical Processing) Multidimensional Data Model Multidimensional Data Model OLAP queries OLAP queries OLAP implementation techniques OLAP implementation techniques ROLAP versus MOLAP ROLAP versus MOLAP High-Performance issues High-Performance issues
43
Data Mining Philosophy A powerful enabler of competitive advantage. Data mining is driven from business knowledge. Data mining is about enabling people to discover actionable information about their business. Return of profit isn’t about algorithms
44
Data Mining Process Collecting relevant dataModel building Understanding of business Problem identification Business strategy and evaluation Learning Action
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.