CSCI 347 / CS 4206: Data Mining Module 03: Output Topic 02: Decision Tables.

Slides:



Advertisements
Similar presentations
Decision Tables.
Advertisements

Preparing a Decision Table
DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Lecture 4 Logic Modeling
Computer Aided Process Planning
1 Creating and Tweaking Data HRP223 – 2010 October 24, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall.
System Concepts for Process Modeling  Process Concepts  Process Logic  Decomposition diagrams and data flow diagrams will prove very effective tools.
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
© 2005 by Prentice Hall Chapter 9 Structuring System Requirements: Logic Modeling Modern Systems Analysis and Design Fourth Edition.
Chapter 3 Planning Your Solution
Chapter 4 Basic Probability
1 Decision Tables. 2  Introduction  construction  Types of Decision Tables  Limited Entry  Extended Entry  Combining of Rules  General Rule  Q.
GUHA method in Data Mining Esko Turunen Tampere University of Technology Tampere, Finland.
Decision Trees and Decision Tables
Kendall & KendallCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall 9 Kendall & Kendall Systems Analysis and Design, 9e Process Specifications.
CSCI 347 / CS 4206: Data Mining Module 01: Introduction Topic 03: Stages in Data Mining.
Fundamentals of Python: From First Programs Through Data Structures
Fundamentals of Python: First Programs
Modeling and Design of Rule-Based Systems Yonglei Tao.
Survey Methodology Data interpretation and presentation EPID 626 Lecture 11.
Digital Logic Chapter 4 Presented by Prof Tim Johnson
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
SW388R6 Data Analysis and Computers I Slide 1 Central Tendency and Variability Sample Homework Problem Solving the Problem with SPSS Logic for Central.
8. PROCESS DESCRIPTION System Analysis And Design Program: BSCS II (Advent Semester – 2014) Lecturer: Rebecca Asiimwe
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
Chapter 8 Structuring System Logical Requirements.
The Introductory paper: The skeletal structure of the CAPPUN paper.
Chapter Sections: Topic: Simplify Polynomials. Vocabulary: Multiply fractions: multiply the tops then multiply the bottoms.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Chapter 5 Reading and Manipulating SAS ® Data Sets and Creating Detailed Reports Xiaogang Su Department of Statistics University of Central Florida.
Chapter Outline Goodness of Fit test Test of Independence.
Seg3430A Tutorial 8 Decision Table. Logic Modeling Data flow diagrams do not show the logic inside the processes Logic modeling involves representing.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
Introduction to Spreadsheets and Microsoft Excel FSE 200.
Informatics Computer School CS114 Web Publishing HTML Lesson 3.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean Logic.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
 Problem Analysis  Coding  Debugging  Testing.
RESEARCH METHODS Lecture 32. The parts of the table 1. Give each table a number. 2. Give each table a title. 3. Label the row and column variables, and.
IS 334 information systems analysis and design
Introduction to SPSS July 28, :00-4:00 pm 112A Stright Hall
Chapter 8 Structuring System Logical Requirements
DeMorgan’s Theorem DeMorgan’s 2nd Theorem
CS 352 Introduction to Logic Design
AS Computer Studies Finite State Machines 2.
Sampling and Sampling Distributions
Control Structure Senior Lecturer
Karnaugh Maps References: Lecture 4 from last semester
Chapter 9 Structuring System Requirements: Logic Modeling
Chapter 4 Basic Probability.
Computer Aided Process Planning
Chapter 10 – Software Testing
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Lab 2 HRP223 – 2010 October 18, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected.
Chapter 8 Structuring System Logical Requirements
Decision Tables SEEM 3430 Tutorial LI Jing.
Chapter 9 Structuring System Requirements: Logic Modeling
Analysis of Logic Circuits Example 1
Basic circuit analysis and design
Overview Functional Testing Boundary Value Testing (BVT)
Decision Tables SEEM 3430 Tutorial Lanjun Zhou.
Building pattern  Complete the following tables and write the rule 
Presentation transcript:

CSCI 347 / CS 4206: Data Mining Module 03: Output Topic 02: Decision Tables

Tables  Simplest way of representing output:  Use the same format as input!  Decision table for the weather problem:  Main problem: selecting the right attributes 2 NoNormalRainy NoHighRainy YesNormalOvercast YesHighOvercast YesNormalSunny NoHighSunny PlayHumidityOutlook

Definitions  Decision Table:  A decision table is a tabular form that presents a set of conditions and their corresponding actions.  Condition Stubs:  Condition stubs describe the conditions or factors that will affect the decision or policy. They are listed in the upper section of the decision table.  Action Stubs:  Action stubs describe, in the form of statements, the possible policy actions or decisions. They are listed in the lower section of the decision table.  Rules (in the decision table sense):  Rules describe which actions are to be taken under a specific combination of conditions. They are specified by first inserting different combinations of condition attribute values and then putting X's in the appropriate columns of the action section of the table. 3

Decision Table Methodology  1. Identify Conditions & Values:  Find the data attribute each condition tests and all of the attribute's values.  2. Compute Max Number of Rules:  Multiply the number of values for each condition data attribute by each other.  3. Identify Possible Actions:  Determine each independent action to be taken for the decision or policy.  4. Enter All Possible Rules:  Fill in the values of the condition data attributes in each numbered rule column.  5. Define Actions for each Rule:  For each rule, mark the appropriate actions with an X in the decision table.  6. Verify the Policy:  Review completed decision table with end-users.  7. Simplify the Table:  Eliminate and/or consolidate rules to reduce the number of columns. 4

A Simple Example  Scenario:  A marketing company wishes to construct a decision table to decide how to treat clients according to three characteristics: Gender, City Dweller, and age group: A (under 30), B (between 30 and 60), C (over 60). The company has four products (W, X, Y and Z) to test market. Product W will appeal to female city dwellers. Product X will appeal to young females. Product Y will appeal to Male middle aged shoppers who do not live in cities. Product Z will appeal to all but older females. 5

A Simple Example (continued)  1. Identify Conditions & Values  The three data attributes tested by the conditions in this problem are gender, with values M and F; city dweller, with value Y and N; and age group, with values A, B, and C as stated in the problem.  2. Compute Maximum Number of Rules  The maximum number of rules is 2 x 2 x 3 = 12  3. Identify Possible Actions  The four actions are: market product W, market product X, market product Y, market product Z. 6

A Simple Example (continued) . Enter All Possible Rules  The top of the table would look as follows: Note that all combinations of values are present.  Rules Sex F M F M F M F M F M F M City Y Y N N Y Y N N Y Y N N Age A A A A B B B B C C C C   5. Define Actions for each Rule  The bottom of the table would look as follows: Market W X X X X X X Y X Z X X X X X X X X X X 7

A Simple Example (continued)  6. Verify the Policy  Let us assume that the client agreed with our decision table.  7. Simplify the Table  There appear to be no impossible rules.   What would an impossible rule be? One example might be if gender = male and pregnant = true.   Note that rules 2, 4, 6, 7, 10, 12 have the same action pattern. Rules 2, 6 and 10 have two of the three condition values (gender and city dweller) identical and all three of the values of the non- identical value (age) are covered, so they can be condensed into a single column 2. The rules 4 and 12 have identical action pattern, but they cannot be combined because the indifferent attribute "Age" does not have all its values covered in these two columns. Age group B is missing. The revised table is as follows: 8

A Simple Example (continued) Rules Process Gender F M F M F F M F F M City Dweller Y Y N N Y N N Y N N Age Group A - A A B B B C C C Actions Market W X X X X X X Y X Z X X X X X X X X 9

The Mystery Sound  What is the sound for this set of overheads? 10