Docsity

Introduction to Data Mining - Data Mining - Lecture Slides | CS 422, Study notes of Computer Science

Partial preview of the text

Download Introduction to Data Mining - Data Mining - Lecture Slides | CS 422 and more Study notes Computer Science in PDF only on Docsity!

Introduction to Data

Mining

(CS 422)

Fall 2011

Course Outline

Introduction

Data Pre-processing

Data Mining Algorithms

» (^) Classifiers

  • (^) Naïve Bayes
  • (^) Decision Trees
  • (^) Support Vector Machines » (^) Recommenders (Content-based [4] Vs. Collaborative [2]) » (^) Clustering
  • (^) K-Means
  • (^) LDA » (^) Other
  • (^) Association Rules

Different Data Sources

Relational Database

Data Warehouse

Flat Files

Web

Object Oriented database

Multi Media

DM vs Statistics and ML

 Data Mining (DM), Statistics and ML have lots in common: » (^) Finding patterns » (^) Building models to make predictions  Statistics largely relies on probabilistically rational mathematical models.  ML is extremely useful, but tends not to care about large data sets. If a process runs out of memory, it’s not an ML problem.  (^) DM wants accuracy but is designed for very large datasets.

DM Algorithms

Supervised (Classification / Categorization)

» (^) Bayesian » (^) Neural Network » (^) Decision Tree » (^) Others: Genetic Algorithms, Fuzzy Set, K-Nearest Neighbor 

Unsupervised

» (^) Association Rules » (^) Clustering 

Collaborative Filtering

Supervised vs.

Unsupervised

Supervised algorithms

» (^) Learning by example:

  • (^) Use training data which has correct answers (class label attribute)
  • (^) Create a model by running the algorithm on the training data
  • (^) Identify a class label for the incoming new data 

Unsupervised algorithms

» (^) Do not use training data. » (^) Classes may not be known in advance.

Collaborative Filtering

Use user recommendations such as

» (^) Ratings » (^) Clicks » (^) Purchases 

Provide recommendations to other users

All users “collaborate” in order to “filter” the

search for the best item.

Introduction to Evaluation (Evaluating Supervised Algorithms)  Goal: We want to measure the effectiveness of a classification (supervised) algorithm. » (^) Take the training dataset » (^) Build model » (^) Test using the training dataset  This usually leads to a very optimistic result that has little ability to predict the real accuracy of the model.

Take the data set and use the first 90

percent of the data for training and then test

on the final ten percent. Then use the next

10 percent for testing, etc.

10-fold Cross Validation

Train Test Run 1 Train Test Run 2 Train Test Run 10 Train …

10-fold Cross Validation

Each run will result in a particular classification

rate.

Ex: If we classified 50/100 of the test records

correctly our classification rate for that run is 50%.

Choose the model that generated the highest

classification rate. The final classification rate for

the model is the average of the ten classification

rates.

Open Source

 A reasonable goal of this course is to make it so you can meaningfully contribute to open source.  This will ensure you understand the concepts being taught and it also will help you as you progress.  If you do that the conversation about you will change from: » (^) “oh I did a cool data mining project in school and got an A”  (^) To: » (^) “I designed and implemented a new, highly scalable algorithm that is now downloaded and used by 200 major systems. People have gone through it and found a few bugs, but most were relatively small, and I work to improve it from time to time”.

Summary

Data Mining algorithms are used to detect the

information that we did not know.

There are various data sources, types, formats and

applications for Data Mining.

Scalability differentiates DM from statistics and

Machine Learning.

Mahout is a robust, open source framework for

implementation of data mining algorithms.

References

  1. ADOMAVICIUS, G. AND TUZHILIN, A. 2005. Toward the next generation of recommender systems: A survey of the state-of-the-art and possible extensions. IEEE Transactions on Knowledge and Data Engineering 17, 734–749.
  2. GOLDBERG, D., NICHOLS, D., OKI, B. M., AND TERRY, D. 1992. Using collaborative filtering to weave an information tapestry. Communications of the ACM 35, 12, 61–70.
  3. INMON, W. H. 1992. Building the data warehouse. QED Information Sciences, Inc., Wellesley, MA, USA.
  4. MALONE, T. W., GRANT, K. R., TURBAK, F. A., BROBST, S. A., AND COHEN, M. D. 1987. Intelligent information-sharing systems. Commun. ACM 30, 5, 390–402.
  5. MITCHELL, T. M. 1997. Machine Learning. McGraw-Hill, New York.
  6. TAN, P.-N., STEINBACH, M., AND KUMAR, V. 2005. Introduction to Data Mining, US ed. Addison Wesley.
  7. WHITE, T. 2009. Hadoop: The Definitive Guide, first edition ed. O’Reilly.