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


  1. 1. Data Mining Slides by Chris Gravlee
  2. 2. Overview <ul><li>Sometimes called Data or Knowledge Discovery </li></ul><ul><li>The process of analyzing data from different perspectives and summarizing it into useful information, that can be used to increase revenue, cut costs, or both </li></ul><ul><li>Users are able to analyze data from many different dimensions or angles, categorize it, and summarize the relationships identified. </li></ul><ul><li>Technically, data mining is the process of finding correlations or patterns among dozens of fields in large relational databases </li></ul>
  3. 3. Data <ul><li>Data are many facts, numbers, or text that can be processed by a computer </li></ul><ul><li>Organizations are accumulating vast and growing amounts of data in different formats and different databases. This includes: </li></ul><ul><ul><li>Operational or transactional data such as, sales, cost, inventory, payroll, and accounting, </li></ul></ul><ul><ul><li>No operational data, such as industry sales, forecast data, and macro economic data </li></ul></ul><ul><ul><li>Meta Data: data about the data itself, such as logical database design or data dictionary definitions </li></ul></ul>
  4. 4. Information <ul><li>The patterns, associations, or relationships among all this data can provide information . For example, analysis of retail point of sale transaction data can yield information on which products are selling and when. </li></ul>
  5. 5. Knowledge <ul><li>Information can be converted into knowledge about historical patterns and future trends. For example, summary information on retail supermarket sales can be analyzed in light of promotional efforts to provide knowledge of consumer buying behavior. Thus, a manufacturer or retailer could determine which items are most susceptible to promotional efforts. </li></ul>
  6. 6. What is Data Mining? <ul><li>Data Mining is the process of extracting knowledge hidden from large volumes of raw data. </li></ul><ul><li>The importance of collecting data that reflect our business or scientific activities to achieve competitive advantage is widely recognized now. Powerful systems for collecting data and managing it in large databases are in place in all large and mid-range companies. However, the bottleneck of turning this data into our success is the difficulty of extracting knowledge about the system we study from the collected data. </li></ul><ul><li>Human analysts with no special tools can no longer make sense of enormous volumes of data that require processing in order to make informed business decisions. Data mining automates the process of finding relationships and patterns in raw data and delivers results that can be either utilized in an automated decision support system or assessed by a human analyst. </li></ul><ul><ul><li>What goods should be promoted to this customer? </li></ul></ul><ul><ul><li>What is the probability that a certain customer will respond to a planned promotion? </li></ul></ul><ul><ul><li>Can one predict the most profitable securities to buy/sell during the next trading session? </li></ul></ul><ul><ul><li>Will this customer default on a loan or pay back on schedule? </li></ul></ul><ul><ul><li>What medical diagnose should be assigned to this patient? </li></ul></ul><ul><ul><li>How large the peak loads of a telephone or energy network are going to be? </li></ul></ul><ul><ul><li>Why the facility suddenly starts to produce defective goods? </li></ul></ul>
  7. 7. What is Data Mining? <ul><li>Modeling the investigated system, discovering relations that connect variables in a database are the subject of data mining. </li></ul><ul><li>Modern computer data mining systems self learn from the previous history of the investigated system, formulating and testing hypotheses about the rules which this system obeys. When concise and valuable knowledge about the system of interest had been discovered, it can and should be incorporated into some decision support system which helps the manager to make wise and informed business decisions. </li></ul>
  8. 8. Why use data mining? <ul><li>Data might be one of the most valuable assets of an organization - but only if we know how to reveal valuable knowledge hidden in raw data. For instance, data mining allows us to extract diamonds of knowledge from historical data and predict outcomes of future situations. In business, it will help us optimize the business decisions, increase the value of each customer and communication, and improve satisfaction of customer with our services. In medical domain, it may help discover causes of particular diseases that were not known before. Data mining can be used on any type of data (ex. financial, medical, education, communication, industrial) </li></ul><ul><li>Data that require analysis differ for companies in different industries. Examples include: </li></ul><ul><ul><li>Sales and contacts histories </li></ul></ul><ul><ul><li>Call support data </li></ul></ul><ul><ul><li>Demographic data on customers and prospects </li></ul></ul><ul><ul><li>Patient diagnoses and prescribed drugs data </li></ul></ul><ul><ul><li>Click stream and transactional data from a website </li></ul></ul><ul><li>In all these cases data mining can help reveal knowledge hidden in data and turn this knowledge into a crucial competitive advantage. </li></ul>
  9. 9. What can Data Mining do for us? <ul><li>Identify our best prospects and then retain them as customers. By concentrating marketing efforts only on the best prospects we will save time and money, thus increasing effectiveness of the marketing operation. </li></ul><ul><li>Predict cross-sell opportunities and make recommendations. Whether we have a traditional or web-based operation, we can help the customers quickly locate products of interest to them - and simultaneously increase the value of each communication with a customer. </li></ul><ul><li>Learn parameters influencing trends in sales and margins. One may think this can be done with OLAP (Online Analytical Processing) tools. True, OLAP can help prove a hypothesis - but only if we know what questions to ask in the first place. In the majority of cases we may have no clue on what combination of parameters influences our operation. In these situations data mining is the only real option. </li></ul><ul><li>Segment markets and personalize communications. There might be distinct groups of customers, patients, or natural phenomena that require different approaches in their handling. If we have a broad customer range, we would need to address teenagers in California and married homeowners in Minnesota with different products and messages in order to optimize a marketing campaign. </li></ul>
  10. 10. Reasons for the growing popularity of Data Mining <ul><li>Growing Data Volume </li></ul><ul><li>The main reason for necessity of automated computer systems for intelligent data analysis is the enormous volume of existing and newly appearing data that require processing. The amount of data accumulated each day by various business, scientific, and governmental organizations around the world is daunting. According to information from GTE research center, only scientific organizations store each day about 1 TB (terabyte!) of new information. </li></ul>
  11. 11. Reasons for the growing popularity of Data Mining <ul><li>Limitations of Human Analysis </li></ul><ul><li>Two other problems that surface when human analysts process data are the inadequacy of the human brain when searching for complex multifactor dependencies in data, and the lack of objectiveness in such an analysis. A human expert is always a hostage of the previous experience of investigating other systems. Sometimes this helps, sometimes this hurts, but it is almost impossible to get rid of this fact. </li></ul>
  12. 12. Reasons for the growing popularity of Data Mining <ul><li>Low Cost of Machine Learning </li></ul><ul><li>One additional benefit of using automated data mining systems is that this process has a much lower cost than hiring an army of highly trained (and paid) professional statisticians. While data mining does not eliminate human participation in solving the task completely, it significantly simplifies the job and allows an analyst who is not a professional in statistics and programming to manage the process of extracting knowledge from data. </li></ul>
  13. 14. Knowledge Discovery in Databases <ul><li>A six or more step process: </li></ul><ul><ul><li>– data warehousing, </li></ul></ul><ul><ul><li>– data selection, </li></ul></ul><ul><ul><li>– data preprocessing, </li></ul></ul><ul><ul><li>– data transformation, </li></ul></ul><ul><ul><li>– data mining, </li></ul></ul><ul><ul><li>– interpretation/evaluation </li></ul></ul><ul><li>Data Mining is sometimes referred to as KDD </li></ul><ul><li>DM and KDD tend to be used as synonyms </li></ul>
  14. 15. Typical Applications of Data Mining <ul><li>Sales/Marketing </li></ul><ul><ul><li>– Provide better customer service </li></ul></ul><ul><ul><li>– Improve cross-selling opportunities (beer and </li></ul></ul><ul><ul><li>– Increase direct mail response rates </li></ul></ul><ul><li>Customer Retention </li></ul><ul><ul><li>– Identify patterns of defection </li></ul></ul><ul><ul><li>– Predict likely defections </li></ul></ul><ul><li>Risk Assessment and Fraud </li></ul><ul><ul><li>– Identify inappropriate or unusual behavior </li></ul></ul>
  15. 16. Motivation: The Sizes <ul><li>Databases today are huge: </li></ul><ul><ul><li>– More than 1,000,000 entities/records/rows </li></ul></ul><ul><ul><li>– From 10 to 10,000 fields/attributes/variables </li></ul></ul><ul><ul><li>– Giga-bytes and tera-bytes </li></ul></ul><ul><li>Databases a growing at an unprecedented rate </li></ul><ul><li>The corporate world is a cut-throat world </li></ul><ul><ul><li>– Decisions must be made rapidly </li></ul></ul><ul><ul><li>– Decisions must be made with maximum knowledge </li></ul></ul>
  16. 17. Motivation for doing Data Mining <ul><li>Investment in Data Collection/Data Warehouse </li></ul><ul><ul><li>– Add value to the data holding </li></ul></ul><ul><ul><li>– Competitive advantage </li></ul></ul><ul><ul><li>– More effective decision making </li></ul></ul><ul><li>OLTP Data Warehouse Decision Support </li></ul><ul><ul><li>– Work to add value to the data holding </li></ul></ul><ul><ul><li>– Support high level and long term decision making </li></ul></ul><ul><ul><li>– Fundamental move in use of Databases </li></ul></ul>
  17. 18. Importance of Data Mining <ul><li>By applying data mining techniques, which are elements of statistics, artificial intelligence and machine learning, they are able to identify trends within the data that they did not know existed. Data mining can best be described as a business intelligence (BI) technology that has various techniques to extract comprehensible, hidden and useful information from a population of data. This BI technology makes it possible to discover hidden trends and patterns in large amounts of data. The output of a data mining exercise can take the form of patterns, trends or rules that are implicit in the data. Through data mining and the new knowledge it provides, individuals are able to leverage the data to create new opportunities or value for their organizations. The following are examples of practical uses of data mining and the value it provides those who use this technology to mine their data. </li></ul>
  18. 19. Fraud Detection <ul><li>Credit card issuers have been using data mining techniques to detect potentially fraudulent credit card transactions. </li></ul><ul><li>When a credit transaction is executed, the transaction and all data elements describing the transaction are analyzed using a sophisticated data mining technique called neural networks to determine whether or not the transaction is a potentially fraudulent charge based upon known fraudulent charges. </li></ul><ul><li>By utilizing data mining, credit card issuers have decreased and mitigated losses due to fraudulent charges. </li></ul>
  19. 20. Inventory Logistics <ul><li>By incorporating data mining techniques, retailers can improve their inventory logistics and thereby reduce their cost in handling inventory. </li></ul><ul><li>Through data mining, a retailer can identify the demographics of its customers such as gender, martial status, number of children, etc. and the products that they buy. </li></ul><ul><li>This information can be extremely beneficial in stocking merchandise in new store locations as well as identifying &quot;hot&quot; selling products in one demographic market that should also be displayed in stores with similar demographic characteristics. </li></ul><ul><li>For nationwide retailers, this information can have a tremendous positive impact on their operations by decreasing inventory movement as well as placing inventory in locations where it is likely to sell. </li></ul>
  20. 21. Defect Analysis <ul><li>Through the use of data mining techniques, manufacturers are able to identify the characteristics surrounding defective products, such as day of week and time of the manufacturing run, components being used and individuals working on the assembling line. </li></ul><ul><li>By understanding these characteristics, changes can be made to the manufacturing process to improve the quality of the products being produced. </li></ul><ul><li>High-quality products lead to improved reputation of the organization within its industry and help to drive sales. In addition, profitability improves through the reduction of return materials allowances and field service calls. </li></ul>
  21. 22. Focused Hiring <ul><li>Some employers use data mining techniques to understand the characteristics of their top performing individuals. By understanding the characteristics of this group such as education, years of experience, skills and personality traits, a hiring profile can be established to help recruit and hire individuals who possess similar characteristics as their best- performing individuals. While this technique has been used, one must realize that profiling is based upon historical data, which may not be indicative of future top-performing individuals due to changes in social, economic and environmental conditions. </li></ul>
  22. 23. Techniques Used in Data Mining <ul><li>Link Analysis </li></ul><ul><li>association rules, sequential patterns, time sequences </li></ul><ul><li>Predictive Modeling </li></ul><ul><li>tree induction, neural networks, regression </li></ul><ul><li>Database Segmentation </li></ul><ul><li>clustering, k-means, </li></ul><ul><li>Deviation Detection </li></ul><ul><li>visualization, statistics </li></ul>
  23. 24. Data Mining Techniques - Cluster Analysis <ul><li>Many data mining applications make use of clustering according to similarity for example to segment a client/customer base. Clustering according to optimization of set functions is used in data analysis </li></ul><ul><li>Clustering/segmentation in databases are the processes of separating a data set into components that reflect a consistent pattern of behavior. Once the patterns have been established they can then be used to &quot;deconstruct&quot; data into more understandable subsets and also they provide sub-groups of a population for further analysis or action which is important when dealing with very large databases. For example a database could be used for profile generation for target marketing where previous response to mailing campaigns can be used to generate a profile of people who responded and this can be used to predict response and filter mailing lists to achieve the best response. </li></ul>
  24. 25. Data Mining Techniques - Induction <ul><li>A database is a store of information but more important is the information which can be inferred from it. There are two main inference techniques available ie deduction and induction. </li></ul><ul><li>Deduction is a technique to infer information that is a logical consequence of the information in the database e.g. the join operator applied to two relational tables where the first concerns employees and departments and the second departments and managers infers a relation between employee and managers. </li></ul><ul><li>Induction has been described earlier as the technique to infer information that is generalized from the database as in the example mentioned above to infer that each employee has a manager. This is higher level information or knowledge in that it is a general statement about objects in the database. The database is searched for patterns or regularities. </li></ul><ul><li>Induction has been used in the following ways within data mining: </li></ul>
  25. 26. Decision Trees <ul><li>Decision trees are simple knowledge representation and they classify examples to a finite number of classes, the nodes are labeled with attribute names, the edges are labeled with possible values for this attribute and the leaves labeled with different classes. Objects are classified by following a path down the tree, by taking the edges, corresponding to the values of the attributes in an object. </li></ul><ul><li>The following is an example of objects that describe the weather at a given time. </li></ul>
  26. 27. Rule Induction <ul><li>A data mine system has to infer a model from the database, that is it may define classes such that the database contains one or more attributes that denote the class of a tuple (i.e. the predicted attributes while the remaining attributes are the predicting attributes.) Class can then be defined by condition on the attributes. When the classes are defined the system should be able to infer the rules that govern classification, in other words the system should find the description of each class. </li></ul><ul><li>Production rules have been widely used to represent knowledge in expert systems and they have the advantage of being easily interpreted by human experts because of their modularity i.e. a single rule can be understood in isolation and doesn't need reference to other rules. The propositional like structure of such rules has been described earlier but can summed up as if-then rules. </li></ul>
  27. 28. Neural Networks <ul><li>Neural networks are an approach to computing that involves developing mathematical structures with the ability to learn. The methods are the result of academic investigations to model nervous system learning. Neural networks have the remarkable ability to derive meaning from complicated or imprecise data and can be used to extract patterns and detect trends that are too complex to be noticed by either humans or other computer techniques. A trained neural network can be thought of as an &quot;expert&quot; in the category of information it has been given to analyze. This expert can then be used to provide projections given new situations of interest and answer &quot;what if&quot; questions. </li></ul>
  28. 29. Neural Networks <ul><li>Neural networks have broad applicability to real world business problems and have already been successfully applied in many industries. Since neural networks are best at identifying patterns or trends in data, they are well suited for prediction or forecasting needs including: </li></ul><ul><ul><li>sales forecasting </li></ul></ul><ul><ul><li>industrial process control </li></ul></ul><ul><ul><li>customer research </li></ul></ul><ul><ul><li>data validation </li></ul></ul><ul><ul><li>risk management </li></ul></ul><ul><ul><li>target marketing etc. </li></ul></ul>
  29. 30. Neural Networks <ul><li>Neural networks use a set of processing elements (or nodes) analogous to neurons in the brain. These processing elements are interconnected in a network that can then identify patterns in data once it is exposed to the data, i.e. the network learns from experience just as people do. This distinguishes neural networks from traditional computing programs, that simply follow instructions in a fixed sequential order. </li></ul>