Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Week 5 Northwestern Polytechnic University Rule Based Classifier Problems

Week 5 Northwestern Polytechnic University Rule Based Classifier Problems

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.
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-

“Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results.”
Attachments
20190606203757week_5__chapter_4_questions_2_ (26 kB)

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: I'm Homework Free only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by I'm Homework Free are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. I'm Homework Free is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At I'm Homework Free, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.