This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Homework-5 Question 1 The following table consists of training data from an employee database. department status age salary sales senior 31-40 Medium sales junior 21-30 Low sales junior 31-40 Low systems junior 21-30 Medium systems senior 31-40 High systems junior 21-30 Medium systems senior 41-50 High marketing senior 31-40 Medium marketing junior 31-40 Medium secretary senior 41-50 Medium secretary junior 21-30 Low Given an instance with the values: systems, senior, and 21-30 for the attributes department, status, and age, respectively, what would be a naive bayesian classification for the salary of the sample? Question 2 You are given the following training data. It is intended to represent the case in which the two examples (4 ,B ) and (13 ,A ) are “noise”. x 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 label A A A A B A A A A B B B B A B B B B 1. What would be the classification of a test sample with x = 4 . 2 according to 1-NN ?...
View Full Document
This note was uploaded on 12/03/2009 for the course COMPUTER E 770 taught by Professor Dr.mohammednizari during the Spring '09 term at Jordan University of Science & Tech.
- Spring '09