Question

(2) The following table consists of training data from an employee database. The data have been generalized. For example, 31
The following table consists of training data from an employee database. The data
have been generalized. For example, “31 . . . 35” for age represents the age range
of 31 to 35. For a given row entry, count represents the number of data tuples
having the values for department, status, age, and salary given in that row.
department status age salary count
sales senior 31. . . 35 46K. . . 50K 30
sales junior 26. . . 30 26K. . . 30K 40
sales junior 31. . . 35 31K. . . 35K 40
systems junior 21. . . 25 46K. . . 50K 20
systems senior 31. . . 35 66K. . . 70K 5
systems junior 26. . . 30 46K. . . 50K 3
systems senior 41. . . 45 66K. . . 70K 3
marketing senior 36. . . 40 46K. . . 50K 10
marketing junior 31. . . 35 41K. . . 45K 4
secretary senior 46. . . 50 36K. . . 40K 4
secretary junior 26. . . 30 26K. . . 30K 6
Let status be the class label attribute.
i. [5 points] How would you modify the basic decision tree algorithm to take
into consideration the count of each generalized data tuple (i.e., of each row
entry)?
ii. [10 points] Use your algorithm to construct a decision tree from the given
data.
iii. [5 points] Given a data tuple having the values “systems”, “26. . . 30”, and
“46–50K” for the attributes department, age, and salary, respectively, what
would a naıve Bayesian classification of the status for the tuple be?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

@ Answer: - Given Table consists of training data from an employee database. The data have been generalized. Now = 6 How woul→ → ore your algorithm to construct a decision tree from the given date : - To construct a decision tree from the given dataTo find what would a naive Bayesian classification of the states for the tople be:- The status for the tuple be, Ple/senior)

Add a comment
Know the answer?
Add Answer to:
The following table consists of training data from an employee database. The data have been generalized....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Given a data tuple having the values “systems,” “26...30,” and “46–50K” for the attributes department, age,...

    Given a data tuple having the values “systems,” “26...30,” and “46–50K” for the attributes department, age, and salarry, respectively, what would naiive Bayesian classification of the status for the tuple be? The answer is "P(X|senior) = 0; P(X|junior) = 0.018. Thus, a naiive Bayesian classification predicts “junior”." Or I am not sure about that answer. PLEASE explain the SOLUTION IN DETAIL. Thank you! department salary status соиnt age 31... 35 sales 46K. ..50K 30 senior 26K. .. 30K 31K... 35K...

  • Given a data tuple having the values “systems,” “26...30,” and “46–50K” for the attributes department, age,...

    Given a data tuple having the values “systems,” “26...30,” and “46–50K” for the attributes department, age, and salarry, respectively, what would naiive Bayesian classification of the status for the tuple be? The answer is "P(X|senior) = 0; P(X|junior) = 0.018. Thus, a naiive Bayesian classification predicts “junior”." Or I am not sure about that answer. PLEASE explain the SOLUTION IN DETAIL. Thank you! department salary status соиnt age 31... 35 sales 46K. ..50K 30 senior 26K. .. 30K 31K... 35K...

  • These are my instructions: Your data should have been read in from the data file and stored into ...

    These are my instructions: Your data should have been read in from the data file and stored into an array. Next you need to calculate the following and display in a single Message box: Average score Highest score Lowest score Mode of the scores Your program should be written using methods and should be well documented internally and externally. Your output should be displayed using Message boxes. This is the .text file to use with the instructions: 20 21 22...

  • I have written my code for an employee management system that stores Employee class objects into...

    I have written my code for an employee management system that stores Employee class objects into a vector, I am getting no errors until I try and compile, I am getting the error: C2679 binary '==': no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion). But I am not sure why any help would be great, Thank you! 1 2 3 4 5 6 7 8 9 10 11 12 13...

  • 2. You gathered the following data from time cards and individual employee earnings records. Your tasks...

    2. You gathered the following data from time cards and individual employee earnings records. Your tasks are as follows: a. On December 5, 201X, prepare a payroll register for this biweekly payroll. b. Calculate the employer taxes of FICA OASDI, FICA Medicare, FUTA, and SUTA. Biweekly Salary Department Allowance and Employee Marital Status Alvin, John S-3 Gale, Nicki S-1 Malone, Jeff S-2 Seaver, Paul S-1 Cumulative Earnings Before This Payroll $37,400 47,500 64,800 4,600 $1,510 2,040 2,080 810 Check No....

  • From time to time, unfortunately, Healthy Life employees have to deal with insurance fraud. Say, some people claim medical services that have never been provided or money they never paid. To that end, Healthy Life hired a number of investigators whose fun

    From time to time, unfortunately, Healthy Life employees have to deal with insurance fraud. Say, some people claim medical services that have never been provided or money they never paid. To that end, Healthy Life hired a number of investigators whose functions are not much different from those of police detectives.Doctor N.N. has been under suspicion for some time for deceiving both Healthy Life and his patients. Healthy Life approached the provincial authorities and they agreed to launch a formal...

  • Use program control statements in the following exercises: Question 1 . Write pseudocode for the following:...

    Use program control statements in the following exercises: Question 1 . Write pseudocode for the following: • Input a time in seconds. • Convert this time to hours, minutes, and seconds and print the result as shown in the following example: 2 300 seconds converts to 0 hours, 38 minutes, 20 seconds. Question 2. The voting for a company chairperson is recorded by entering the numbers 1 to 5 at the keyboard, depending on which of the five candidates secured...

  • 1. SANCHEZ COMPUTER CENTER During the month of November the following transactions occurred. a. Record the...

    1. SANCHEZ COMPUTER CENTER During the month of November the following transactions occurred. a. Record the following transactions in the general journal and post them to the general ledger. b. Prepare a trial balance as of November 30, 201X. Assume the following transactions: Nov. 1 Billed Vita Needle Company $6,800, invoice no. 12675, for services rendered. Nov. 3 Billed Accu Pac, Inc., $3,900, invoice no. 12676, for services rendered. Nov. 5 Purchased new shop benches for $1,400 on account from...

  • Beverly and Ken Hair have been married for 3 years. Beverly works as an accountant at...

    Beverly and Ken Hair have been married for 3 years. Beverly works as an accountant at Cypress Corporation. Ken is a full-time student at Southwest Missouri State University (SMSU) and also works part-time during the summer at Cypress Corp. Ken's birthdate is January 12, 1993 and Beverly's birthdate is November 4, 1995. Beverly and Ken each received a W-2 form from Cypress Corporation (see separate tab). The Hairs have interest income of $1,000 on City of St. Louis bonds. Beverly...

  • All of the following questions are in relation to the following journal article which is available...

    All of the following questions are in relation to the following journal article which is available on Moodle: Parr CL, Magnus MC, Karlstad O, Holvik K, Lund-Blix NA, Jaugen M, et al. Vitamin A and D intake in pregnancy, infant supplementation and asthma development: the Norwegian Mother and Child Cohort. Am J Clin Nutr 2018:107:789-798 QUESTIONS: 1. State one hypothesis the author's proposed in the manuscript. 2. There is previous research that shows that adequate Vitamin A intake is required...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT