Categories: Homework Helpers

Week 5 Northwestern Polytechnic University Rule Based Classifier Problems Instructions This document was purposely created in Microsoft Word so you can e

Week 5 Northwestern Polytechnic University Rule Based Classifier Problems Instructions

This document was purposely created in Microsoft Word so you can enter your answers into the document.

Don't use plagiarized sources. Get Your Custom Essay on
Week 5 Northwestern Polytechnic University Rule Based Classifier Problems Instructions This document was purposely created in Microsoft Word so you can e
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

YOUR ANSWERS MUST APPEAR WITHIN THE PROBLEM DOCUMENT.

10% WILL BE DEDUCTED IF YOU CREATE A NEW OR SEPARATE DOCUMENT.

10% WILL BE DEDUCTED IF YOU CREATE A “TITLE PAGE” TYPE OF DOCUMENT.

20% WILL BE IF YOU DO NOT SHOW YOUR CALCULATIONS FOR EACH ANSWER.

You must make your own calculations and you must show your calculations in the answer document.Insufficient calculation steps will result in reduced points earned.

1. Consider a binary classification problem with the following set of attributes and attribute values:

• Air Conditioner = {Working, Broken}

• Engine = {Good, Bad}

• Mileage = {High, Medium, Low}

• Rust = {Yes, No}

Suppose a rule-based classifier produces the following rule set:

(a) Are the rules mutually exclusive?

Answer:

(b) Is the rule set exhaustive?

Answer:

(c) Is ordering needed for this set of rules?

Answer:

(d) Do you need a default class for the rule set?

Answer:

2. Consider a training set that contains 100 positive examples and 400 negative examples. For each of the following candidate rules.

R1: A -? + (covers 4 positive and 1 negative examples)

R2: B -? + (covers 30 positive and 10 negative examples)

R3: C -? + (covers 100 positive and 90 negative examples)

Note:The rules do not cover the entire training set.This is not an exhaustive rule set.

a.Determine which is the best and worst candidate rule according to Rule accuracy.

Answer:

b. Determine which is the best and worst candidate rule according to FOIL’s information gain.

Review of FOIL’s Information Gain

R0:{} => class(initial rule)

R1:{A} => class (rule after adding conjunct)

Gain(R0, R1) = t [log (p1/(p1+n1)) – log (p0/(p0 + n0)) ]

where…
t(total) number of positive instances covered by both R0 and R1

p0number of positive instances covered by R0

n0number of negative instances covered by R0

p1number of positive instances covered by R1

n1number of negative instances covered by R1

Answer:

3. Consider the one-dimensional data set shown below.

Data set for Exercise 3.

x

0.5

3.0

4.5

4.6

4.9

5.2

5.3

5.5

7.0

9.5

y – 1st

y – 2nd

y – 3rd

y – 4th

a. Place the indicated symbol ( +or- ) into each cell for the purpose of classifying the data point x =5.0 according to its 1-, 3-, 5-, and 9-nearest neighbors (using majority vote).

Answer:

Number of data points symbol to be used/inserted into y row

1stRow 1-nearest neighbor +

2nd Row 3-nearest neighbor –

3rd Row 5-nearest neighbor+

4th Row 9-nearest neighbor-

superadmin

Recent Posts

LDR 3302-21.01.01-1A24-S1, Organizational Theory and Behavior

LDR 3302-21.01.01-1A24-S1, Organizational Theory and Behavior Unit III Essay Top of Form Bottom of Form…

3 years ago

Psychology Question | My Essay Helpers

Chapter 9 What are teratogens? Give 5 examples. Define each of these stages: Germinal, embryonic,…

3 years ago

Financial Market Analysis | My Essay Helpers

You are a Financial Analyst that has been appointed to lead a team in the…

3 years ago

Decision theory | My Essay Helpers

This week’s discussion will focus on management decision-making and control in two companies, American corporation…

3 years ago

Literature Question | My Essay Helpers

Mary Rowlandson felt that the man who eventually came to own her, Quinnapin, was “the…

3 years ago