580 likes | 699 Views
MIS 111: Computers and the Inter-networked Society. Class 11: Data Mining July 25th, 2011. This Week. Data Mining (Today): humans and machines generate knowledge from data Decision Support Systems (Tuesday)
E N D
MIS 111: Computers and the Inter-networked Society Class 11: Data Mining July 25th, 2011
This Week • Data Mining (Today): • humans and machines generate knowledge from data • Decision Support Systems (Tuesday) • combining models and data in an attempt to solve semistructured and some unstructured problems with extensive user involvement • Expert Systems (Machine’s that make decisions) • Computer systems that attempt to mimic human experts by applying expertise in a specific domain.
Learning Objectives • List a few current events in information systems news • Recap of quiz 2 learning objectives • Use Google analytics to perform data mining and make business decisions • List 3 practical applications of data mining • Explain the difference between Descriptive and Predictive data mining • Compare and contrast classification, association rule, deviation detection data mining • List a tool that can help you perform data mining
Administrative Trivia • Quiz • Some people didn’t put their name on their quiz • If you have a zero, come talk with me • We’ll go over it together today • Assignment 3 due Wednesday morning before class
Quiz 2 Recap • http://eller.qualtrics.com/SE/?SID=SV_eaGLk1JGq9kczBy
What exactly IS Data Mining? Roughly speaking, Data Mining is the process by which humans and machines generate knowledge from data. Data Warehouse Data Processing Data Analytics
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
Knowledge Discovery in Databases • Data Mining is only a small part of the knowledge discovery process. • Which part of the process do you think is most critical? • Which part of the process do you think takes longest?
What is (not) Data Mining? • What is not Data Mining? • Look up phone number in phone directory • Query a Web search engine for information about “Amazon” • What is Data Mining? • Certain names are more prevalent in certain US locations (O’Brien, O’Rurke, O’Reilly… in Boston area) • Group together similar documents returned by search engine according to their context (e.g. Amazon rainforest, Amazon.com,)
Why Mine Data? Commercial Viewpoint • 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? 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
AnimalLingo.com • Google Analytics • What in here is data mining: • Map Overlay • Time series analysis • New visits • Bounce rate • Time on site • … • What changes should I make to my Web site (this is getting into the role of decision support systems)?
Finance • Basic: Finance.yahoo.com • Can be much, much more complex (I should have a finance PhD student come in) • IS data mining and finance are a great mix! • Some examples ahead (you don’t have to know these unless you want to)
Finance: Portfolio Management (FYI) • Collect 30- 40 historical fundamental and technical factors for stock S1, say for 10-20 years. • Build a neural network NN1 for predicting the return values for stock S1. • Repeat steps 1 and 2 for every stock Si,that is monitored by the investor. Say 3000 stocks are monitored and 3000 networks, NNi are generated. • Forecast stock return Si (t + k)for each stock i and k days ahead (say a week, seven days) by computing NNi(Si(t))=S(t+k). • Select n highest Si (t + k)values of predicted stock return. • Compute a total forecasted return of selected stocks, T and compute Si(t+k)/T. Invest to each stock proportionally to Si(t+k)/T.DATA MINING FOR FINANCIAL APPLICATIONS 13 • RecomputeNNi model for each stock i every k days adding new arrived data to the training set. Repeat all steps for the next portfolio adjustment. http://www.math.nsc.ru/AP/ScientificDiscovery/PDF/data_mining_for_financial_applications.pdf
Interpretable Trading Rules (FYI) • Categorical rules predict a categorical attribute, such as increase/decrease, buy/sell.
Discovering Fraud (FYI) • http://www.picalo.org/
Sports and Data Mining • Go for it on forth down! • http://www.advancednflstats.com/2009/09/4th-down-study-part-1.html
The Main Message of Moneyball • By analyzing baseball statistics you could see through a lot of baseball nonsense. • For instance, when baseball managers talked about scoring runs, they tended to focus on team batting average, but if you ran the analysis you could see that the number of runs a team scored bore little relation to that team's batting average. It correlated much more exactly with a team's on-base and slugging percentages.
Just some examples… • Linguistics • Economics • Farming • Government • Defense / homeland ssecurity • Education • Production forecasting • Sales forecasting • Fast food • Just about ANY DISCIPLINE can benefit from data mining
Data Mining Tasks • Prediction Methods • Use some variables to predict unknown or future values of other variables. • Description Methods • Find human-interpretable patterns that describe the data. From [Fayyad, et.al.] Advances in Knowledge Discovery and Data Mining, 1996
Data Mining Tasks... • Classification [Predictive] • Clustering [Descriptive] • Association Rule Discovery [Descriptive] • Sequential Pattern Discovery [Descriptive] • Regression [Predictive] • Deviation Detection [Predictive]
Lots of tools to help: • Weka • R • SPSS • SAS • Google • Picalo • Google Correlate / Graphs
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.
Test Set Model Classification Example categorical categorical continuous class Learn Classifier Training Set
FYI: LOTS of different Classification Algorithms • Neural network • Mimics the way that humans Learn with NEURONS • Decision trees • K-means clustering
Classification: The Iris Flower Data Set • Which factors help us determine which Iris type a flower will be? • Petal Length • Petal Width • Sepal Length • Sepal Width • We can make the machine “learn” which attributes = which iris types.
Personal Equity Plan • Weka Example
Classification: A Business Application • 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. From [Berry & Linoff] Data Mining Techniques, 1997
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. Rules Discovered: {Milk} --> {Coke} {Diaper, Milk} --> {Beer}
Association Rule Discovery: A Business Application • Supermarket shelf management. • Goal: To identify items that are bought together by sufficiently many customers. • Approach: Process the point-of-sale data collected with barcode scanners to find dependencies among items. • A classic rule -- • If a customer buys diaper and milk, then he is very likely to buy beer. • So, don’t be surprised if you find six-packs stacked next to diapers!
Application of Association Rule Discovery: • Shelf-Management
Correlations and time • http://correlate.googlelabs.com/tutorial • Tree • IPad and Apple stock
Any problems with the association rule? • Correlation does not cause causation