SlideShare a Scribd company logo
Chapter 8 Covering (Rules-based) Algorithm Data Mining Technology
Chapter 8 Covering (Rules-based) Algorithm Written by Shakhina Pulatova  Presented by Zhao Xinyou [email_address] 2007.11.13 Data Mining Technology Some materials (Examples) are taken from Website.
Contents What is the Covering (Rule-based) algorithm? Classification Rules- Straightforward 1. If-Then rule 2. Generating rules from Decision Tree Rule-based Algorithm 1. The 1R Algorithm / Learn One Rule 2. The PRISM Algorithm 3. Other Algorithm Application of Covering algorithm Discussion on e/m-learning application
Introduction-App-1 PP87-88 Training Data Attributes Record Rules Rules given by people Rules generated by computer Setting 1.(1.75, 0)  short 2. [1.75, 1.95) Medium 3. [1.95, ..) tall
Introduction-App-2 PP87-88 How to get all tall people from B based on A A B + Training Data
What is Rule-based Algorithm? Definition : Each classification method uses an algorithm to generate rules from the sample data. These rules are then applied to new data. Rule-based algorithm  provide mechanisms that generate rules by  1. concentrating on a specific class at a time 2. maximizing the probability of the desired classification. PP87-88 Should be compact, easy-to-interpret, and accurate.
Classification Rules- Straightforward If-Then rule Generating rules from Decision Tree PP88-89
formal Specification of Rule-based Algorithm The classification  r ules, r=<a, c>, consists of : a  ( a ntecedent/precondition): a series of tests that be valuated as  true  or  false ; c  ( c onsequent/conclusion): the class or classes that apply to instances covered by rule r. PP88 a=0,b=0 a=0,b=1 a=1,b=0 a=1,b=1 a = x y c = a=0 b=0 b=0 yes no X X Y Y no no yes yes
Remarks of Straightforward classification The  a ntecedent contains a predicate that can be valuated as true or false against each tuple in database. These rules relate directly to corresponding decision tree (DT) that could be created. A DT can always be used to generate rules, but they are not equivalent. Differences: -the tree has a implied order in which the splitting is performed; rules have no order. -a tree is created based on looking at all classes; only one class must be examined at a time. PP88-89
If-Then rule Straightforward way to perform classification is to generate if-then rules that cover all cases. 1 PP88
Generating rules from Decision Tree -1-Con’ Decision Tree 2
Generating rules from Decision Tree -2-Con’ y n a b c d x y y
Generating rules from Decision Tree -3-Con’
Remarks Rules may be more complex and incomprehensible from DT. A new test or rules need reshaping the whole tree Rules obtained without decision trees are more compact and accurate. So many other covering algorithms have been proposed. PP89-90 a b x y y c d x y y n n n n c d x y y n n c d x y y n n c d x y y n n duplicate subtrees a=0 b=0 b=0 yes no X X Y Y no no yes yes a=1 and c=0  Y
Rule-based Classification Generate rules The 1R Algorithm / Learn One Rule The PRISM Algorithm Other Algorithm PP90
Generating rules without Decision Trees-1-con’ Goal: find rules that identify the instances of a specific class Generate the “best” rule possible by optimizing the desired classification probability Usually, the “best” attribute-pair is chosen Remark -these technologies are also called covering algorithms because they attempt to generate rules which exactly  cover  a specific class.
Generate Rules-Example-2-Con' Example 3 Question: We want to generate a rule to classify persons as tall. Basic format of the rule: if ? then class = tall Goal: replace “?” with predicates that can be used to obtain the “best” probability of being tall PP90
Generate Rules-Algorithms-3-Con' 1.Generate rule R on training data S; 2.Remove the training data covered by rule R; 3. Repeat the process. PP90
Generate Rules-Example-4-Con' Sequential Covering (I) Original data (ii) Step 1 r = NULL (iii) Step 2 R1 r = R1 (iii) Step 3 R1 R2 r = R1  U R2 (iii) Step 4 R1 R2 R3 r = R1  U R2  U R3 Wrong Class
1R Algorithm/ Learn One Rule-Con’  Simple and cheap method it only generates a one level decision tree. Classify an object on the basis of a single attribute. Idea: Rules will be constructed to test a single attribute and branch for every value of that attribute. For each branch, the class with the test classification is the one occurring  PP91
1R Algorithm/ Learn One Rule-Con’  Idea : 1. Rules will be constructed to test a single attribute and branch for every value of that attribute.  Step   2. For each branch, the class with the test classification is the one occurring. 3. Find one biggest number as rules 4. Error rate will be evaluated. 5. The minimum error rate will be chosen.  PP91 M->T  Error=5 F->M  Error=3 Total  Error=8 Total  Error=3 Total  Error=.. A2 An Gender F 2 5 1 S M T M 1 4 10 S M T
1R Algorithm Input: D   //Training Data T   //Attributes to consider for rules   C   //Classes Output : R   //Rules ALgorithm : R=Φ; for all A in T do R A =Φ; for all possbile value, v, of A do for all C j ∈C do find count(C j ) end for let C m  be the class with the largest count; R A =R A ((A=v) ->(class= C m )); end for ERR A =number of tuples incorrectly classified by R A ; e nd for R=R A  where ERR A  is minimum T={Gender, Height} D C={{F, M},  {0, ∞}} C1 C2 Training Data Gender F M Short Medium Tall 3 6 0 Short Medium Tall 1 2 3 R1=F->medium R2=M->tall Height
Example 5 – 1R-3-Con’ Rules  based on  height … ... … 0/2 0/2 0/3 0/4 1/2 0/2 3/9 3/6 Error 1/15 (0  , 1.6]-> short (1.6, 1.7]->short (1.7, 1.8]-> medium (1.8, 1.9]-> medium (1.9, 2.0]-> medium (2.0,  ∞ ]-> tall Height (Step=0.1) 2 6/15 F->medium M->tall Gender 1 Total Error Rules Attribute Option
Example 6 -1R PP92-93 5/14 2/8 3/6 False->yes True->no windy 4 4/14 3/7 1/7 High->no Normal->yes humidity 3 2/4 2/6 1/4 2/5 0/4 2/5 Error 5/14 Hot->no Mild->yes Cool->yes temperature 2 4/14 Sunny->no Overcast->yes Rainy->yes outlook 1 Total Error Rules Attribute Rules  based on humidity  OR High->no Normal->yes Rules  based on outlook Sunny->no Overcast->yes Rainy->yes
PRISM Algorithm-Con’ PRISM generate rules for each class by looking at the training data and adding rules that completely describe all tuples in that class. Generates only correct or perfect rules: the accuracy of so-constructed PRISM is 100%. Measures the success of a rule by a p/t, where  -p is number of positive instance,  -T is total number of instance covered by the rule. Gender=Male  P=10, T=10 Gender=Female  P=1 T=8  R=Gender = Male …… A2 An Gender F 2 5 1 S M T M 0 0 10 S M T
PRISM Algorithm Step Input  D  and  C  (Attribute -> Value) 1.Compute all class P/T  (Attribute->Value) 2. Find one or more pair of  (Attribute->Value)   P/T = 100% 3. Select  (Attribute->Value)  as  Rule 4. Repeat 1-3 until no data in  D Input: D   //Training Data C   //Classes Output: R //Rules
Example 8-Con’-which class may be tall? Compute the value  p / t Which one is 100% PP94-95 0/9 Gender = F 1 2/2 2.0< Height 8 ½ 1.9< Height  ≤ 2.0 7 0/4 1.8< Height  ≤ 1.9 6 0/3 1.7< Height  ≤ 1.8 5 0/2 1.6< Height  ≤ 1.7 4 0/2 Height  ≤ 1.6 3 3/6 Gender = M 2 p / t (Attribute, value) Num R1  = 2.0< Height
R2  = 1.95< Height ≤ 2.0 R = R1 U R2 PP94-96 … … … 1/1 1.95< Height  ≤ 2.0 0/1 1.9< Height  ≤ 1.95 p / t (Attribute, value) Num
Example 9-Con’-which days may play? The predicate  outlook=overcast   correctly implies  play=yes  on all four rows R1 =if outlook=overcast, then play=yes Compute the value  p / t
Example 8-Con’ R2= if humidity=normal and windy=false, then play=yes
Example 8-Con’ R3 =….. R = R1 U R2 U R3 U…
Application of Covering Algorithm To derive classification rules applied for diagnosing illness, business planning, banking, government. Machine learning Text classification. But to photos, it is difficult… And so on.
Application on E-learning/M-learning Adaptive and personalized learning materials Virtual Group Classification Initial Learner’s information Classification of learning styles or some Provide adaptive and personalized materials Collect learning styles feedback Chapter 2 or 3 Similarity, Bayesian… Rule-based algorithm
Discussion

More Related Content

PPT
Adaline madaline
PPTX
Artificial Intelligence Notes Unit 3
PPTX
Machine learning with ADA Boost
PPTX
Inductive analytical approaches to learning
PPT
3.5 model based clustering
PPT
2.4 rule based classification
PPTX
Unit 1 - ML - Introduction to Machine Learning.pptx
PDF
Decision trees in Machine Learning
Adaline madaline
Artificial Intelligence Notes Unit 3
Machine learning with ADA Boost
Inductive analytical approaches to learning
3.5 model based clustering
2.4 rule based classification
Unit 1 - ML - Introduction to Machine Learning.pptx
Decision trees in Machine Learning

What's hot (20)

PPTX
Grid based method & model based clustering method
PDF
Problem Characteristics in Artificial Intelligence
PPT
Clustering: Large Databases in data mining
PPTX
Naïve Bayes Classifier Algorithm.pptx
PPTX
Overfitting & Underfitting
PPTX
Semantic Networks
PPTX
State space search and Problem Solving techniques
PPTX
Advanced topics in artificial neural networks
PPTX
Machine Learning - Ensemble Methods
PPTX
Knowledge representation in AI
PPTX
Semantic nets in artificial intelligence
PPTX
Learning set of rules
PPTX
AI: Learning in AI
PDF
AI PPT-ALR_Unit-3-1.pdf
PPTX
Apriori algorithm
PPTX
Elements of dynamic programming
PPTX
Genetic algorithms in Data Mining
PPTX
Introduction to Clustering algorithm
PPT
AI Lecture 3 (solving problems by searching)
PPTX
Learning rule of first order rules
Grid based method & model based clustering method
Problem Characteristics in Artificial Intelligence
Clustering: Large Databases in data mining
Naïve Bayes Classifier Algorithm.pptx
Overfitting & Underfitting
Semantic Networks
State space search and Problem Solving techniques
Advanced topics in artificial neural networks
Machine Learning - Ensemble Methods
Knowledge representation in AI
Semantic nets in artificial intelligence
Learning set of rules
AI: Learning in AI
AI PPT-ALR_Unit-3-1.pdf
Apriori algorithm
Elements of dynamic programming
Genetic algorithms in Data Mining
Introduction to Clustering algorithm
AI Lecture 3 (solving problems by searching)
Learning rule of first order rules
Ad

Viewers also liked (20)

PDF
Machine Learning and Data Mining: 12 Classification Rules
PDF
rule-based classifier
PPTX
05 classification 1 decision tree and rule based classification
PDF
DATA MINING on WEKA
PPTX
Data mining
PPTX
Functional Leap of Faith (Keynote at JDay Lviv 2014)
PDF
C++ TUTORIAL 8
PPT
Ch5 alternative classification
PDF
Randomized Algorithms in Linear Algebra & the Column Subset Selection Problem
PPTX
Dynamic programming
PPT
Chap08alg
PDF
Solving The Shortest Path Tour Problem
PPTX
Data Mining: Mining ,associations, and correlations
DOC
Data mining notes
PPT
21 backtracking
PDF
PPT
5.5 back track
PPTX
Subset sum problem Dynamic and Brute Force Approch
PPT
Dynamic programming in Algorithm Analysis
PPTX
Class warshal2
Machine Learning and Data Mining: 12 Classification Rules
rule-based classifier
05 classification 1 decision tree and rule based classification
DATA MINING on WEKA
Data mining
Functional Leap of Faith (Keynote at JDay Lviv 2014)
C++ TUTORIAL 8
Ch5 alternative classification
Randomized Algorithms in Linear Algebra & the Column Subset Selection Problem
Dynamic programming
Chap08alg
Solving The Shortest Path Tour Problem
Data Mining: Mining ,associations, and correlations
Data mining notes
21 backtracking
5.5 back track
Subset sum problem Dynamic and Brute Force Approch
Dynamic programming in Algorithm Analysis
Class warshal2
Ad

Similar to Covering (Rules-based) Algorithm (20)

PPT
rules classifier in machine learning .ppt
PPT
Rule-Based Classifiers
PPTX
CS 402 DATAMINING AND WAREHOUSING -MODULE 4
PDF
IRJET- A Comparative Research of Rule based Classification on Dataset using W...
PPTX
�datamining-lect7.pptx literature of data mining and summary
PPTX
lec06_Classification_NaiveBayes_RuleBased.pptx
PPT
New_ML_Lecture_9.ppt
PPTX
Rule Based Algorithms.pptx
PPT
Poggi analytics - star - 1a
PPTX
Classification Continued
PPTX
Classification Continued
PPT
Machine Learning: Foundations Course Number 0368403401
PPTX
Issues in Decision Tree by Ravindra Singh Kushwaha B.Tech(IT) 2017-21 Chaudha...
PPTX
machine leraning : main principles and techniques
PDF
MULTI-PARAMETER BASED PERFORMANCE EVALUATION OF CLASSIFICATION ALGORITHMS
PDF
Bill howe 6_machinelearning_1
DOC
Presentation on Machine Learning and Data Mining
PDF
IRJET- Performance Evaluation of Various Classification Algorithms
PDF
IRJET- Performance Evaluation of Various Classification Algorithms
PPT
Download presentation source
rules classifier in machine learning .ppt
Rule-Based Classifiers
CS 402 DATAMINING AND WAREHOUSING -MODULE 4
IRJET- A Comparative Research of Rule based Classification on Dataset using W...
�datamining-lect7.pptx literature of data mining and summary
lec06_Classification_NaiveBayes_RuleBased.pptx
New_ML_Lecture_9.ppt
Rule Based Algorithms.pptx
Poggi analytics - star - 1a
Classification Continued
Classification Continued
Machine Learning: Foundations Course Number 0368403401
Issues in Decision Tree by Ravindra Singh Kushwaha B.Tech(IT) 2017-21 Chaudha...
machine leraning : main principles and techniques
MULTI-PARAMETER BASED PERFORMANCE EVALUATION OF CLASSIFICATION ALGORITHMS
Bill howe 6_machinelearning_1
Presentation on Machine Learning and Data Mining
IRJET- Performance Evaluation of Various Classification Algorithms
IRJET- Performance Evaluation of Various Classification Algorithms
Download presentation source

More from ZHAO Sam (7)

PPTX
Solr installation
PDF
Special issue on Technology Enhanced Learning
PPT
国際会議推薦システムAcademic Conference Publishing System
PPT
祝大家新年快樂
PPT
Ubiquitous
PPT
similarity measure
PPT
A Real-Time Interactive Shared System for Distance Learning
Solr installation
Special issue on Technology Enhanced Learning
国際会議推薦システムAcademic Conference Publishing System
祝大家新年快樂
Ubiquitous
similarity measure
A Real-Time Interactive Shared System for Distance Learning

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation theory and applications.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPT
Teaching material agriculture food technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
A Presentation on Artificial Intelligence
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
KodekX | Application Modernization Development
Cloud computing and distributed systems.
Encapsulation theory and applications.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Teaching material agriculture food technology
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks
A Presentation on Artificial Intelligence
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf

Covering (Rules-based) Algorithm

  • 1. Chapter 8 Covering (Rules-based) Algorithm Data Mining Technology
  • 2. Chapter 8 Covering (Rules-based) Algorithm Written by Shakhina Pulatova Presented by Zhao Xinyou [email_address] 2007.11.13 Data Mining Technology Some materials (Examples) are taken from Website.
  • 3. Contents What is the Covering (Rule-based) algorithm? Classification Rules- Straightforward 1. If-Then rule 2. Generating rules from Decision Tree Rule-based Algorithm 1. The 1R Algorithm / Learn One Rule 2. The PRISM Algorithm 3. Other Algorithm Application of Covering algorithm Discussion on e/m-learning application
  • 4. Introduction-App-1 PP87-88 Training Data Attributes Record Rules Rules given by people Rules generated by computer Setting 1.(1.75, 0) short 2. [1.75, 1.95) Medium 3. [1.95, ..) tall
  • 5. Introduction-App-2 PP87-88 How to get all tall people from B based on A A B + Training Data
  • 6. What is Rule-based Algorithm? Definition : Each classification method uses an algorithm to generate rules from the sample data. These rules are then applied to new data. Rule-based algorithm provide mechanisms that generate rules by 1. concentrating on a specific class at a time 2. maximizing the probability of the desired classification. PP87-88 Should be compact, easy-to-interpret, and accurate.
  • 7. Classification Rules- Straightforward If-Then rule Generating rules from Decision Tree PP88-89
  • 8. formal Specification of Rule-based Algorithm The classification r ules, r=<a, c>, consists of : a ( a ntecedent/precondition): a series of tests that be valuated as true or false ; c ( c onsequent/conclusion): the class or classes that apply to instances covered by rule r. PP88 a=0,b=0 a=0,b=1 a=1,b=0 a=1,b=1 a = x y c = a=0 b=0 b=0 yes no X X Y Y no no yes yes
  • 9. Remarks of Straightforward classification The a ntecedent contains a predicate that can be valuated as true or false against each tuple in database. These rules relate directly to corresponding decision tree (DT) that could be created. A DT can always be used to generate rules, but they are not equivalent. Differences: -the tree has a implied order in which the splitting is performed; rules have no order. -a tree is created based on looking at all classes; only one class must be examined at a time. PP88-89
  • 10. If-Then rule Straightforward way to perform classification is to generate if-then rules that cover all cases. 1 PP88
  • 11. Generating rules from Decision Tree -1-Con’ Decision Tree 2
  • 12. Generating rules from Decision Tree -2-Con’ y n a b c d x y y
  • 13. Generating rules from Decision Tree -3-Con’
  • 14. Remarks Rules may be more complex and incomprehensible from DT. A new test or rules need reshaping the whole tree Rules obtained without decision trees are more compact and accurate. So many other covering algorithms have been proposed. PP89-90 a b x y y c d x y y n n n n c d x y y n n c d x y y n n c d x y y n n duplicate subtrees a=0 b=0 b=0 yes no X X Y Y no no yes yes a=1 and c=0 Y
  • 15. Rule-based Classification Generate rules The 1R Algorithm / Learn One Rule The PRISM Algorithm Other Algorithm PP90
  • 16. Generating rules without Decision Trees-1-con’ Goal: find rules that identify the instances of a specific class Generate the “best” rule possible by optimizing the desired classification probability Usually, the “best” attribute-pair is chosen Remark -these technologies are also called covering algorithms because they attempt to generate rules which exactly cover a specific class.
  • 17. Generate Rules-Example-2-Con' Example 3 Question: We want to generate a rule to classify persons as tall. Basic format of the rule: if ? then class = tall Goal: replace “?” with predicates that can be used to obtain the “best” probability of being tall PP90
  • 18. Generate Rules-Algorithms-3-Con' 1.Generate rule R on training data S; 2.Remove the training data covered by rule R; 3. Repeat the process. PP90
  • 19. Generate Rules-Example-4-Con' Sequential Covering (I) Original data (ii) Step 1 r = NULL (iii) Step 2 R1 r = R1 (iii) Step 3 R1 R2 r = R1 U R2 (iii) Step 4 R1 R2 R3 r = R1 U R2 U R3 Wrong Class
  • 20. 1R Algorithm/ Learn One Rule-Con’ Simple and cheap method it only generates a one level decision tree. Classify an object on the basis of a single attribute. Idea: Rules will be constructed to test a single attribute and branch for every value of that attribute. For each branch, the class with the test classification is the one occurring PP91
  • 21. 1R Algorithm/ Learn One Rule-Con’ Idea : 1. Rules will be constructed to test a single attribute and branch for every value of that attribute. Step 2. For each branch, the class with the test classification is the one occurring. 3. Find one biggest number as rules 4. Error rate will be evaluated. 5. The minimum error rate will be chosen. PP91 M->T Error=5 F->M Error=3 Total Error=8 Total Error=3 Total Error=.. A2 An Gender F 2 5 1 S M T M 1 4 10 S M T
  • 22. 1R Algorithm Input: D //Training Data T //Attributes to consider for rules C //Classes Output : R //Rules ALgorithm : R=Φ; for all A in T do R A =Φ; for all possbile value, v, of A do for all C j ∈C do find count(C j ) end for let C m be the class with the largest count; R A =R A ((A=v) ->(class= C m )); end for ERR A =number of tuples incorrectly classified by R A ; e nd for R=R A where ERR A is minimum T={Gender, Height} D C={{F, M}, {0, ∞}} C1 C2 Training Data Gender F M Short Medium Tall 3 6 0 Short Medium Tall 1 2 3 R1=F->medium R2=M->tall Height
  • 23. Example 5 – 1R-3-Con’ Rules based on height … ... … 0/2 0/2 0/3 0/4 1/2 0/2 3/9 3/6 Error 1/15 (0 , 1.6]-> short (1.6, 1.7]->short (1.7, 1.8]-> medium (1.8, 1.9]-> medium (1.9, 2.0]-> medium (2.0, ∞ ]-> tall Height (Step=0.1) 2 6/15 F->medium M->tall Gender 1 Total Error Rules Attribute Option
  • 24. Example 6 -1R PP92-93 5/14 2/8 3/6 False->yes True->no windy 4 4/14 3/7 1/7 High->no Normal->yes humidity 3 2/4 2/6 1/4 2/5 0/4 2/5 Error 5/14 Hot->no Mild->yes Cool->yes temperature 2 4/14 Sunny->no Overcast->yes Rainy->yes outlook 1 Total Error Rules Attribute Rules based on humidity OR High->no Normal->yes Rules based on outlook Sunny->no Overcast->yes Rainy->yes
  • 25. PRISM Algorithm-Con’ PRISM generate rules for each class by looking at the training data and adding rules that completely describe all tuples in that class. Generates only correct or perfect rules: the accuracy of so-constructed PRISM is 100%. Measures the success of a rule by a p/t, where -p is number of positive instance, -T is total number of instance covered by the rule. Gender=Male P=10, T=10 Gender=Female P=1 T=8 R=Gender = Male …… A2 An Gender F 2 5 1 S M T M 0 0 10 S M T
  • 26. PRISM Algorithm Step Input D and C (Attribute -> Value) 1.Compute all class P/T (Attribute->Value) 2. Find one or more pair of (Attribute->Value) P/T = 100% 3. Select (Attribute->Value) as Rule 4. Repeat 1-3 until no data in D Input: D //Training Data C //Classes Output: R //Rules
  • 27. Example 8-Con’-which class may be tall? Compute the value p / t Which one is 100% PP94-95 0/9 Gender = F 1 2/2 2.0< Height 8 ½ 1.9< Height ≤ 2.0 7 0/4 1.8< Height ≤ 1.9 6 0/3 1.7< Height ≤ 1.8 5 0/2 1.6< Height ≤ 1.7 4 0/2 Height ≤ 1.6 3 3/6 Gender = M 2 p / t (Attribute, value) Num R1 = 2.0< Height
  • 28. R2 = 1.95< Height ≤ 2.0 R = R1 U R2 PP94-96 … … … 1/1 1.95< Height ≤ 2.0 0/1 1.9< Height ≤ 1.95 p / t (Attribute, value) Num
  • 29. Example 9-Con’-which days may play? The predicate outlook=overcast correctly implies play=yes on all four rows R1 =if outlook=overcast, then play=yes Compute the value p / t
  • 30. Example 8-Con’ R2= if humidity=normal and windy=false, then play=yes
  • 31. Example 8-Con’ R3 =….. R = R1 U R2 U R3 U…
  • 32. Application of Covering Algorithm To derive classification rules applied for diagnosing illness, business planning, banking, government. Machine learning Text classification. But to photos, it is difficult… And so on.
  • 33. Application on E-learning/M-learning Adaptive and personalized learning materials Virtual Group Classification Initial Learner’s information Classification of learning styles or some Provide adaptive and personalized materials Collect learning styles feedback Chapter 2 or 3 Similarity, Bayesian… Rule-based algorithm