Loading in 5 sec....

Lecture 5 TIES445 Data mining Nov-Dec 2007 Sami ÄyrämöPowerPoint Presentation

Lecture 5 TIES445 Data mining Nov-Dec 2007 Sami Äyrämö

Download Presentation

Lecture 5 TIES445 Data mining Nov-Dec 2007 Sami Äyrämö

Loading in 2 Seconds...

- 58 Views
- Uploaded on
- Presentation posted in: General

Lecture 5 TIES445 Data mining Nov-Dec 2007 Sami Äyrämö

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Lecture 5

TIES445 Data mining

Nov-Dec 2007

Sami Äyrämö

A data mining algorithm

- ”A data mining algorithm is a well-defined procedure that takes data as input and produces output in the form of models and patterns”
- ”Well-defined” indicate that the procedure can be precisely encoded as a finite set of rules
- ”Algorithm”, a procedure that always terminates after some finite number of of steps and produces an output
- ”Computational method” has all the properties of an algorithm except a method for guaranteeing that the procedure will terminate in a finite number of steps
- (Computational method is usually described more abstactly than algorithm, e.g., steepest descent is a computational method)

- Explorative (visualization)
- Descriptive (clustering, rule finding,…)
- Predictive (classification, regression,…)

Elements of data mining algorithms

- Data mining task
- Structure of the model or pattern
- Score function
- Search/optimization method
- Data management technique

- Structure (functional form) of the model or pattern that will be fitted to the data
- Defines the boundaries of what can be approximated or learned
- Within these boundaries, the data guide us to a particular model or pattern
- E.g., hierarchical clustering model, linear regression model, mixture model

Figure from the book ”Tan,Steinbach, Kumar, Introduction to Data Mining, Addision Wesley, 2006.”

Figures by Tommi Kärkkäinen

- Judge the quality of the fitted models or patterns based on observed data
- Minimized/maximized when fitting parameters to our models and patterns
- Critical for learning and generalization
- Goodness-of-fitness vs. generalization
- e.g., the number of neurons in neural network

- Goodness-of-fitness vs. generalization
- E.g., misclassification error, squared error,support/accuracy

α = 2, q=2 → K-means

α = 1, q=2 → K-spatialmedians

α = 1, q=1 → K-coord.medians

- Different staticical properties of the cluster models
- Different algorithms and computational methods for solving

Figures by Tommi Kärkkäinen

- Used to search over parameters and structures
- Computational procedures and algorithms used to find the maximum/minimum of the score function for particular models or patterns
- Includes:
- Computational methods used to optimize the score function, e.g., steepest descent
- Search-related parameters, e.g., the maximum number of iterations or convergence specification for an iterative algorithm

- Includes:
- Single-fixed structure (e.g., kth order polynomial function of the inputs) or family of different structures (i.e., search over both structures and their associated parameters spaces)

- Initialize the cluster prototypes
- Assign each data point to the closest cluster prototype
- Compute the new estimates (may require another iterative algorithm) for the cluster prototypes
- Termination: stop if termination criteria are satisfied (usually no changes in I)

- Storing, indexing, and retrieving data
- Not usually specified by statistical or machine learning algorithms
- A common assumption is that the data set is small enough to reside in the main memory so that random access of any data point is free relative to actual computational costs

- Massive data sets may exceed the capacity of available main memory
- The physical location of the data and the manner in which data it is accessed can be critically important in terms of algorithm efficiency

- A general categorization of different memory structures
- Registers of processors: direct acces, no slowdown
- On-processor or on-board cache: fast semiconductor memory on the same chip as the processor
- Main memory: Normal semiconductor memory (up to several gigabytes)
- Disk cache: intermediate storage between main memory and disks
- Disk memory: Terabytes. Access time milliseconds.
- Magnetic tape: Access time even minutes.

- B-trees
- Hash indices
- Kd-trees
- Multidimensional indexing
- Relational datatables