17
Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

Embed Size (px)

Citation preview

Page 1: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

Algorithms: The Basic MethodsWitten – Chapter 4

Charles Tappert Professor of Computer ScienceSchool of CSIS, Pace University

Page 2: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

1. Inferring Rudimentary Rules1R (1-rule) Method

This method tests a single attribute and creates a rule that assigns the most frequent class to that attribute

Page 3: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

2. Statistical ModelingNaïve Bayes Method

Assumes statistical independence – multiply probabilities

Page 4: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

2. Statistical ModelingNaïve Bayes Method

Page 5: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

3. Divide-and-Conquer:Construct Decision Trees: ID3 Method

Page 6: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

3. Divide-and-Conquer:Construct Decision Trees: ID3 Method

Page 7: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

3. Divide-and-Conquer:Construct Decision Trees: ID3 Method

Page 8: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

3. Divide-and-Conquer:Construct Decision Trees: ID3 Method

Compare: Example from Naïve Bayes Method

Page 9: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

4. Covering Algorithms: Constructing Rules

Page 10: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

5. Mining Association Rules

Page 11: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

5. Mining Association Rules

Page 12: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

6. Linear ModelsPrediction by linear regression

Page 13: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

6. Linear ModelsLinear Classification via Perceptron

Page 14: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

Non-parametric algorithm

7. Instance-Based Learningk-nearest-neighbor method

Page 15: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

8. Clustering: k-means TechniqueTop down method

• Specify in advance number of clusters, k• Randomly choose k seed points• Find the closest points to the seed points• Compute the means of points closest to

each seed point –> seeds for next iteration• Stop when the seed points become stable

Page 16: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

8. Clustering: k-means TechniqueTop down method

Page 17: Algorithms: The Basic Methods Witten – Chapter 4 Charles Tappert Professor of Computer Science School of CSIS, Pace University

Clustering: Hierarchy - DendrogramBottom up method

Also, see Witten p 81, p 275-278

Mary Manfredi dissertation