Data Mining


Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Data Mining

  1. 1. Data Mining Ketaki Borkar CS157A November 29, 2007
  2. 2. Agenda <ul><li>1. Definition </li></ul><ul><li>2. Overview </li></ul><ul><li>3. History </li></ul><ul><li>4. Evolution </li></ul><ul><li>5. Scope </li></ul><ul><li>6. Stages </li></ul><ul><li>7. Process </li></ul><ul><li>8. Relationships </li></ul><ul><li>9. Elements </li></ul><ul><li>10. Data Warehousing </li></ul><ul><li>11. Techniques </li></ul><ul><li>12. Examples </li></ul><ul><li>13. Advantages/Disadvantages </li></ul><ul><li>14. References </li></ul>
  3. 3. Definition <ul><li>“ Data mining is the process of discovering meaningful new correlations, patterns and trends by sifting through large amounts of data stored in repositories, using pattern recognition technologies as well as statistical and mathematical techniques.” </li></ul>
  4. 4. Overview <ul><li>Data mining tools predict future trends and behaviors, allowing businesses to make proactive, knowledge driven decisions. </li></ul><ul><li>Prospective analysis offered by data mining move beyond analyses of past events provided by retrospective tools typical of decision support systems. </li></ul><ul><li>Data mining tools can answer business questions that traditionally were too time consuming to resolve. </li></ul><ul><li>They scour databases for hidden patterns, finding predictive information that experts may miss because it lies outside their expectations. </li></ul><ul><li>Data mining techniques can be implemented rapidly on existing software and hardware platforms to enhance the value of existing information resources, and can be integrated with new products and systems as they are brought on-line. </li></ul>
  5. 5. History <ul><li>Data mining is the evolution of a field with a long history, but the term itself was only introduced relatively recently, in the 1990s </li></ul><ul><li>Statistics are the foundation of most technologies on which data mining is built. </li></ul><ul><li>Its roots can be traced back to along three family lines: </li></ul><ul><ul><li>Classical statistics </li></ul></ul><ul><ul><li>Artificial intelligence </li></ul></ul><ul><ul><li>Machine learning </li></ul></ul><ul><li>It is finding increasing acceptance in science and business areas which need to analyze large amounts of data to discover trends which they could not otherwise find. </li></ul>
  6. 6. Classical Statistics <ul><li>Classical statistics embrace concepts such as regression analysis, standard distribution, standard deviation, standard variance, cluster analysis, all of which are used to study data and data relationships. </li></ul><ul><li>These are the building blocks with which more advanced statistical analysis are underpinned. </li></ul><ul><li>Within the heart of today’s data mining tools and techniques, classical statistical analysis plays a significant role. </li></ul>
  7. 7. Artificial Intelligence (AI) <ul><li>It is built upon heuristics (method that often rapidly leads to a solution that is usually close to the best possible answer) as opposed to statistics, attempts to apply human-thought-like processing to statistical problems. </li></ul><ul><li>Since this approach requires vast computer processing power, it was not practical until the early 1980s, when computers began to offer useful power at reasonable prices. </li></ul><ul><li>Certain AI concepts were adopted by some high-end commercial products, such as query optimization modules for Relational Database Management Systems (RDBMS). </li></ul>
  8. 8. Machine Learning <ul><li>Union of statistics and artificial intelligence. </li></ul><ul><li>Is an evolution of artificial intelligence because it blends artificial intelligence heuristics with advanced statistical analysis. </li></ul><ul><li>Machine learning attempts to let computer programs learn about the data they study, such that programs make different decisions based on the qualities of the studied data, using statistics for fundamental concepts, and adding more advanced AI heuristics and algorithms to achieve its goals. </li></ul>
  9. 9. Evolution of Data Mining Prospective, proactive information delivery Pilot, Lockheed, IBM, SGI, numerous startups (nascent industry) Advanced algorithms, multiprocessor computers, massive databases &quot;What’s likely to happen to Boston unit sales next month? Why?&quot; Data Mining (Emerging Today) Retrospective, dynamic data delivery at multiple levels Pilot, Comshare, Arbor, Cognos, Microstrategy On-line analytic processing (OLAP), multidimensional databases, data warehouses &quot;What were unit sales in New England last March? Drill down to Boston.&quot; Data Warehousing & Decision Support (1990s) Retrospective, dynamic data delivery at record level Oracle, Sybase, Informix, IBM, Microsoft Relational databases (RDBMS), Structured Query Language (SQL), ODBC &quot;What were unit sales in New England last March?&quot; Data Access(1980s) Retrospective, static data delivery IBM, CDC Computers, tapes, disks &quot;What was my total revenue in the last five years?&quot; Data Collection(1960) Purpose Product Providers Enabling Technologies Business Question Evolutionary Step
  10. 10. Scope of Data Mining <ul><li>Automated prediction of trends and behaviors . A typical example of a predictive problem is targeted marketing. Data mining uses data on past promotional mailings to identify the targets most likely to maximize return on investment in future mailings. </li></ul><ul><ul><li>EX: </li></ul></ul><ul><ul><ul><li>forecasting bankruptcy </li></ul></ul></ul><ul><ul><ul><li>identifying segments of a population likely to respond similarly to given events. </li></ul></ul></ul><ul><li>Automated discovery of previously unknown patterns . Data mining tools sweep through databases and identify previously hidden patterns in one step. </li></ul><ul><ul><li>EX: </li></ul></ul><ul><ul><ul><li>analysis of retail sales data to identify seemingly unrelated products that are often purchased together (ex  beer and diapers). </li></ul></ul></ul><ul><ul><ul><li>detecting fraudulent credit card transactions and identifying anomalous data that could represent data entry keying errors. </li></ul></ul></ul>
  11. 11. Stages <ul><li>Stage 1: Exploration </li></ul><ul><ul><li>Data preparation, cleaning and transformation. </li></ul></ul><ul><li>Stage 2: Model building and validation </li></ul><ul><ul><li>Considering various models and choosing the best one based on their performance. </li></ul></ul><ul><li>Stage 3: Deployment </li></ul><ul><ul><li>Using the selected model as best in Stage 2 and applying it to new data in order to generate predictions or estimates of the expected outcome. </li></ul></ul>
  12. 12. Data Mining Process
  13. 13. Relationships <ul><li>Classes : Stored data is used to locate data in predetermined groups. For example, a restaurant chain could mine customer purchase data to determine when customers visit and what they typically order. This information could be used to increase traffic by having daily specials. </li></ul><ul><li>Clusters : Data items are grouped according to logical relationships or consumer preferences. For example, data can be mined to identify market segments or consumer affinities. </li></ul><ul><li>Associations : Data can be mined to identify associations. The beer-diaper example is an example of associative mining. </li></ul><ul><li>Sequential patterns : Data is mined to anticipate behavior patterns and trends. For example, an outdoor equipment retailer could predict the likelihood of a backpack being purchased based on a consumer's purchase of sleeping bags and hiking shoes. </li></ul>
  14. 14. Elements <ul><li>Extract, transform, and load transaction data onto the data warehouse system. </li></ul><ul><li>Store and manage the data in a multidimensional database system. </li></ul><ul><li>Provide data access to business analysts and information technology professionals. </li></ul><ul><li>Analyze the data by application software. </li></ul><ul><li>Present the data in a useful format, such as a graph or table. </li></ul>
  15. 15. Date Warehousing vs. Data Mining <ul><li>Data Warehouse: “is a repository (or archive) of information gathered from multiple sources, stored under a unified schema, at a single site.” (Silberschatz) </li></ul><ul><ul><li>Collect data  Store in single repository </li></ul></ul><ul><ul><li>Allows for easier query development as a single repository can be queried. </li></ul></ul><ul><li>Data Mining: </li></ul><ul><ul><li>Analyzing databases or Data Warehouses to discover patterns about the data to gain knowledge. </li></ul></ul><ul><ul><li>Knowledge is power </li></ul></ul>
  16. 16. Data Mining Techniques <ul><li>Clustering is the method by which like records are grouped together.  Usually this is done to give the end user a high level view of what is going on in the database.  Clustering is sometimes used to mean segmentation - which most marketing people will tell you is useful for coming up with a birds eye view of the business. </li></ul><ul><ul><li>EX: 1) Clustering people with similar movie preferences </li></ul></ul><ul><ul><ul><li> 2) displays “Customers who brought this book also bought…” </li></ul></ul></ul><ul><li>Nearest neighbor algorithm is a refinement of clustering. It perfoms prediction by finding the prediction value of records (near neighbors) similar to the record to be predicted. </li></ul>
  17. 17. Techniques…continued <ul><li>Decision Tree: A decision tree takes as input an object or situation described by a set of properties, and outputs a yes/no decision. Decision trees therefore represent Boolean functions.  Specifically each branch of the tree is a classification question and the leaves of the tree are partitions of the dataset with their classification.  </li></ul><ul><li>CART: Classification and Regression Trees. </li></ul><ul><li>CHAID: Chi-Square Automatic Interaction Detector </li></ul>
  18. 18. Examples –
  19. 19. Credit Risk – Decision Tree
  20. 20. Advantages <ul><li>Historical data can be used to predict future trends </li></ul><ul><li>Knowledge about new trends can be used to improve products and services </li></ul><ul><li>Extracting knowledge hidden in large volumes of data </li></ul><ul><li>Data mining is used in developing models to predict outcomes of future situations. </li></ul>
  21. 21. Disadvantages <ul><li>Background checks </li></ul><ul><li>Spam </li></ul><ul><li>Privacy concerns </li></ul><ul><ul><li>Birthdates, SSNs, personal information scrutinized for corporate gain. </li></ul></ul><ul><li>Telemarketing </li></ul><ul><li>Surveillance and profiling </li></ul>
  22. 22. References <ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>