{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

dm3part2 - University of Florida CISE department...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Florida CISE department Gator Engineering Classification Part 2 Dr. Sanjay Ranka Professor Computer and Information Science and Engineering University of Florida, Gainesville
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Overview • Rule based Classifiers • Nearest-neighbor Classifiers
Image of page 2
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Rule Based Classifiers • Classify instances by using a collection of “if … then …” rules • Rules are presented in Disjunctive Normal Form, R = (r 1 v r 2 v … r k ) R is called rule set r i ’s are called classification rules • Each classification rule is of form r i : (Condition i ) y •Condition is a conjunction of attribute tests y is the class label
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Rule Based Classifiers r i : (Condition i ) y LHS of the rule is called rule antecedent or pre-condition RHS is called the rule consequent If the attributes of an instance satisfy the pre- condition of a rule, then the instance is assigned to the class designated by the rule consequent • Example (Blood Type=Warm) (Lay Eggs=Yes) Birds (Taxable Income < 50K) (Refund=Yes) Cheat=No
Image of page 4
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Classifying Instances with Rules • A rule r covers an instance x if the attributes of the instance satisfy the condition of the rule • Rule: r : (Age < 35) (Status = Married) Cheat=No • Instances: x 1 : (Age=29, Status=Married, Refund=No) x 2 : (Age=28, Status=Single, Refund=Yes) x 3 : (Age=38, Status=Divorced, Refund=No) • Only x 1 is covered by the rule r
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Rule Based Classifiers Rules may not be mutually exclusive More than one rule may cover the same instance • Strategies: Strict enforcement of mutual exclusiveness • Avoid generating rules that have overlapping coverage with previously selected rules Ordered rules • Rules are rank ordered according to their priority – Voting • Allow an instance to trigger multiple rules, and consider the consequent of each triggered rule as a vote for that particular class
Image of page 6
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Rule Based Classifiers • Rules may not be exhaustive • Strategy: – A default rule r d : ( ) y d can be added – The default rule has an empty antecedent and is applicable when all other rules have failed y d is known as default class and is often assigned to the majority class
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
University of Florida CISE department Gator Engineering Data Mining Sanjay Ranka Spring 2011 Example of Rule Based Classifier r 1 : (Refund=No) & (Marital Status=Single) & (Taxable Income>80K) Yes r 2 : (Refund=No) & (Marital Status=Divorced) & (Taxable Income>80K) Yes default : ( ) No
Image of page 8
University of Florida CISE department
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern