Testing
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Testing

on

  • 605 views

 

Statistics

Views

Total Views
605
Views on SlideShare
605
Embed Views
0

Actions

Likes
0
Downloads
12
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Testing Presentation Transcript

  • 1. Lecture Notes 1: Introduction to Data Mining Zhangxi Lin ISQS 6347 Texas Tech University ISQS 6347, Data & Text Mining
  • 2. What is Data Mining?
    • Many Definitions
      • Non-trivial extraction of implicit, previously unknown and potentially useful information from data
      • Exploration & analysis, by automatic or semi-automatic means, of large quantities of data in order to discover meaningful patterns. (Berry and Linoff, 1997, 2000)
      • Data Mining is the process of discovering meaningful new correlations, patterns and trends by sifting through large amount of data stored in repositories, using pattern recognition technologies as well as statistical and mathematical techniques. (Gartner Group, 2004)
    ISQS 6347, Data & Text Mining
  • 3. Data Mining Process ISQS 6347, Data & Text Mining
  • 4. What is Text Mining?
    • Discover useful and previously unknown “gems” of information in large text collections
    ISQS 6347, Data & Text Mining Patterns Trends Associations
  • 5. Motivation for Text Mining
    • Approximately 90% of the world’s data is held in unstructured formats (source: Oracle Corporation)
    • Information intensive business processes demand that we transcend from simple document retrieval to “knowledge” discovery.
    ISQS 6347, Data & Text Mining 90% Structured Numerical or Coded Information 10% Unstructured or Semi-structured Information
  • 6. Text Mining Process
    • Text Preprocessing
      • Syntactic/Semantic Text Analysis
    • Features Generation
      • Bag of Words
    • Feature Selection
      • Simple Counting
      • Statistics
    • Text/Data Mining
      • Classification- Supervised Learning
      • Clustering- Unsupervised Learning
    • Analyzing Results
    ISQS 6347, Data & Text Mining
  • 7.
    • Lots of data is being collected and warehoused
      • Web data, e-commerce
      • purchases at department/ grocery stores
      • Bank/Credit Card transactions
    • Computers have become cheaper and more powerful
    • Competitive Pressure is Strong
      • Provide better, customized services for an edge (e.g. in Customer Relationship Management)
    Why Mine Data? Commercial Viewpoint ISQS 6347, Data & Text Mining
  • 8. Why Mine Data? Scientific Viewpoint
    • Data collected and stored at enormous speeds (GB/hour)
      • remote sensors on a satellite
      • telescopes scanning the skies
      • microarrays generating gene expression data
      • scientific simulations generating terabytes of data
    • Traditional techniques infeasible for raw data
    • Data mining may help scientists
      • in classifying and segmenting data
      • in Hypothesis Formation
  • 9.
    • Draws ideas from machine learning/AI, pattern recognition, statistics, and database systems
    • Traditional Techniques may be unsuitable due to
      • Enormity of data
      • High dimensionality of data
      • Heterogeneous, distributed nature of data
    Origins of Data Mining ISQS 6347, Data & Text Mining Machine Learning/ Pattern Recognition Statistics/ AI Data Mining Database systems
  • 10. ISQS 6347, Data & Text Mining
    • Sources:
    • http://www2.sims.berkeley.edu/research/projects/how-much-info-2003/execsum.htm ,
    • The Expanding Digital Universe, IDC white paper, March 2007
    • 55% in personal PCs
    • 16% in corporate data warehouses
    • Internet only 21 TB
    • Email 500x more than Internet / year
    • How much is 12 Exabytes?
      • 1,200,000 Libraries of Congress
    • Emerging data sources
    • Medical images: potential 1 EB/year
      • Video monitors: potential 100 EB/year
  • 11. Data Mining Tasks
    • Prediction Methods. Use some variables to predict unknown or future values of other variables.
      • Classification
      • Regression
      • Deviation Detection
    • Description Methods. Find human-interpretable patterns that describe the data.
      • Clustering
      • Association Rule Discovery
      • Sequential Pattern Discovery
    ISQS 6347, Data & Text Mining
  • 12. Classification: Definition
    • Given a collection of records ( training set )
      • Each record contains a set of attributes , one of the attributes is the class .
    • Find a model for class attribute as a function of the values of other attributes.
    • Goal: previously unseen records should be assigned a class as accurately as possible.
      • A test set is used to determine the accuracy of the model. Usually, the given data set is divided into training and test sets, with training set used to build the model and test set used to validate it.
    ISQS 6347, Data & Text Mining
  • 13. Classification Example ISQS 6347, Data & Text Mining categorical categorical continuous class Training Set Learn Classifier Test Set Model
  • 14. Classification: Application 1
    • Direct Marketing
      • Goal: Reduce cost of mailing by targeting a set of consumers likely to buy a new cell-phone product.
      • Approach:
        • Use the data for a similar product introduced before.
        • We know which customers decided to buy and which decided otherwise. This {buy, don’t buy} decision forms the class attribute .
        • Collect various demographic, lifestyle, and company-interaction related information about all such customers.
          • Type of business, where they stay, how much they earn, etc.
        • Use this information as input attributes to learn a classifier model.
    ISQS 6347, Data & Text Mining From [Berry & Linoff] Data Mining Techniques, 1997
  • 15. Classification: Application 2
    • Fraud Detection
      • Goal: Predict fraudulent cases in credit card transactions.
      • Approach:
        • Use credit card transactions and the information on its account-holder as attributes.
          • When does a customer buy, what does he buy, how often he pays on time, etc
        • Label past transactions as fraud or fair transactions. This forms the class attribute.
        • Learn a model for the class of the transactions.
        • Use this model to detect fraud by observing credit card transactions on an account.
    ISQS 6347, Data & Text Mining
  • 16. Clustering Definition
    • Given a set of data points, each having a set of attributes, and a similarity measure among them, find clusters such that
      • Data points in one cluster are more similar to one another.
      • Data points in separate clusters are less similar to one another.
    • Similarity Measures:
      • Euclidean Distance if attributes are continuous.
      • Other Problem-specific Measures.
    ISQS 6347, Data & Text Mining
  • 17. Illustrating Clustering ISQS 6347, Data & Text Mining
    • Euclidean Distance Based Clustering in 3-D space.
    Intracluster distances are minimized Intercluster distances are maximized
  • 18. Clustering Example
    • Market Segmentation:
      • Goal: subdivide a market into distinct subsets of customers where any subset may conceivably be selected as a market target to be reached with a distinct marketing mix.
      • Approach:
        • Collect different attributes of customers based on their geographical and lifestyle related information.
        • Find clusters of similar customers.
        • Measure the clustering quality by observing buying patterns of customers in same cluster vs. those from different clusters.
    ISQS 6347, Data & Text Mining
  • 19. Association Rule Discovery: Definition
    • Given a set of records each of which contain some number of items from a given collection;
      • Produce dependency rules which will predict occurrence of an item based on occurrences of other items.
    ISQS 6347, Data & Text Mining Rules Discovered: {Milk} --> {Coke} {Diaper, Milk} --> {Beer}
  • 20. Association Rule Discovery Example
    • Marketing and Sales Promotion:
      • Let the rule discovered be
      • {Bagels, … } --> {Potato Chips}
      • Potato Chips as consequent => Can be used to determine what should be done to boost its sales.
      • Bagels in the antecedent => C an be used to see which products would be affected if the store discontinues selling bagels.
      • Bagels in antecedent and Potato chips in consequent => Can be used to see what products should be sold with Bagels to promote sale of Potato chips!
    ISQS 6347, Data & Text Mining
  • 21. Regression
    • Predict a value of a given continuous valued variable based on the values of other variables, assuming a linear or nonlinear model of dependency.
    • Greatly studied in statistics, neural network fields.
    • Examples:
      • Predicting sales amounts of new product based on advertising expenditure.
      • Predicting wind velocities as a function of temperature, humidity, air pressure, etc.
      • Time series prediction of stock market indices.
    ISQS 6347, Data & Text Mining
  • 22. Deviation/Anomaly Detection
    • Detect significant deviations from normal behavior
    • Applications:
      • Credit Card Fraud Detection
      • Network Intrusion Detection
    ISQS 6347, Data & Text Mining Typical network traffic at University level may reach over 100 million connections per day
  • 23. Text Mining Tasks
    • Exploratory Data Analysis
      • Using text to form hypotheses about diseases (Swanson and Smalheiser, 1997).
    • Information Extraction
      • (Semi)automatically create (domain specific) knowledge bases, and then use standard data-mining techniques.
        • Bootstrapping methods (Riloff and Jones, 1999).
    • Text Classification
      • Useful intermediary step for information extraction
        • Bootstrapping method using EM (Nigam et al., 2000).
    ISQS 6347, Data & Text Mining
  • 24.
    • The Needs:
      • Analysis of call records as input into decision-making process of Bank’s management
      • Quick answers to important questions
        • Which offices receive the most angry calls?
        • What products have the fewest satisfied customers?
        • (“Angry” and “Satisfied” are recognizable sentiments)
      • User friendly interface and visualization tools
    Example: Decision Support using Bank Call Center Data ISQS 6347, Data & Text Mining
  • 25. Example: Decision Support using Bank Call Center Data
    • The Information Source:
      • Call center records
      • Example:
    ISQS 6347, Data & Text Mining AC2G31, 01, 0101, PCC, 021, 0053352, NEW YORK, NY , H-SUPRVR8, STMT , “ Mr. Stark has been with the company for about 20 yrs. He hates his stmt format and wishes that we would show a daily balance to help him know when he falls below the required balance on the account.”
  • 26. Challenges of Data Mining
    • Scalability
    • Dimensionality
    • Complex and Heterogeneous Data
    • Data Quality
    • Data Ownership and Distribution
    • Privacy Preservation
    • Streaming Data
    ISQS 6347, Data & Text Mining
  • 27. Challenges of Text Mining
    • Very high number of possible “dimensions”
      • All possible word and phrase types in the language!!
    • Unlike data mining:
      • records (= docs) are not structurally identical
      • records are not statistically independent
    • Complex and subtle relationships between concepts in text
      • “ AOL merges with Time-Warner”
      • “ Time-Warner is bought by AOL”
    • Ambiguity and context sensitivity
      • automobile = car = vehicle = Toyota
      • Apple (the company) or apple (the fruit)
    ISQS 6347, Data & Text Mining
  • 28. SAS Training/Self-taught Courses
    • Getting Start with SAS ® Enterprise Miner 4.3, 132p (EM_GS_7281.PDF)
    • Getting Start with SAS ® 9.1 Text Miner, 60p (EM_TMGS_7693.PDF)
    • Data Mining - A Case Study Approach, 135p
    • Text Mining Using SAS ® Software, 274p (DMTM.PDF)
    • Applying Data Mining Techniques Using Enterprise Miner, 308p (ADMT_001.PDF)
    • Effective Web Mining: Attracting and Keeping Valued Cyber Consumers, 632p (CCWEB_TKIT.PDF)
    ISQS 6347, Data & Text Mining