Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(4) Nave Bayes classifier and model evaluation (11 marks) (a) Explain a method to handle zero counts and a method to handle numerical underflow in
(4) Nave Bayes classifier and model evaluation (11 marks) (a) Explain a method to handle zero counts and a method to handle numerical underflow in the Nave Bayes classifier. Use examples to support your answers. (5 marks) (b) Why the Nave Bayes classifier is efficient (e.g., compared with Decision Tree)? (2 marks) (c) Considering the following confusion matrix, what are the TP, FP, TN, FN, precision, recall and F. measure? (4 marks) buy_computer = buy_computer = yes no Total Actual class Predicted class buy_computer Eyes buy_computer = no Total 6954 46 412 2588 7000 3000 10000 7366 2634 (5) MapReduce and Spark Model (8 marks) (a) Use an example to explain how the MapReduce model can process a "word count" problem. (3 marks) (b) Explain how the MapReduce model can process the relational-algebra operation "selection". Use a concrete example to support your answer. (3 marks) (c) Explain how the Spark model extends the MapReduce model. (2 mark)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started