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-

Calculate your paper price
Pages (550 words)
Approximate price: -

Why Choose Us

Top quality papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional academic writers

We have hired a team of professional writers experienced in academic and business writing. Most of them are native speakers and PhD holders able to take care of any assignment you need help with.

Free revisions

If you feel that we missed something, send the order for a free revision. You will have 10 days to send the order for revision after you receive the final paper. You can either do it on your own after signing in to your personal account or by contacting our support.

On-time delivery

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & confidential

We use several checkers to make sure that all papers you receive are plagiarism-free. Our editors carefully go through all in-text citations. We also promise full confidentiality in all our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

You are welcome to choose your academic level and the type of your paper. Our academic experts will gladly help you with essays, case studies, research papers and other assignments.

Admissions

Admission help & business writing

You can be positive that we will be here 24/7 to help you get accepted to the Master’s program at the TOP-universities or help you get a well-paid position.

Reviews

Editing your paper

Our academic writers and editors will help you submit a well-structured and organized paper just on time. We will ensure that your final paper is of the highest quality and absolutely free of mistakes.

Reviews

Revising your paper

Our academic writers and editors will help you with unlimited number of revisions in case you need any customization of your academic papers