1 / 16

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

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”

vanig
Download Presentation

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

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. 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)

  3. Data mining tasks • Explorative (visualization) • Descriptive (clustering, rule finding,…) • Predictive (classification, regression,…)

  4. Elements of data mining algorithms • Data mining task • Structure of the model or pattern • Score function • Search/optimization method • Data management technique

  5. Structure • 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

  6. Structure: decision tree Figure from the book ”Tan,Steinbach, Kumar, Introduction to Data Mining, Addision Wesley, 2006.”

  7. Structure: MLP Figures by Tommi Kärkkäinen

  8. Score function • 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 • E.g., misclassification error, squared error,support/accuracy

  9. Score functions: Prototype-based clustering α = 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

  10. Score function: Overfitting vs. generalization Figures by Tommi Kärkkäinen

  11. Search/optimization method • 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 • 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)

  12. Search/optimization: K-means-like clustering • 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)

  13. Data management technique • 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

  14. Data management technique: memory • 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.

  15. Data management: index structures • B-trees • Hash indices • Kd-trees • Multidimensional indexing • Relational datatables

  16. Examples

More Related