COMPUTER SCIENCE & IT EXAM ASSIGNMENT/ HOMEWORK
COMPUTER SCIENCE & IT EXAM a) Use the following dataset that describes two categorical input variables and a class variable that has two outputs to answer the questions that follow. Use Naïve Bayes Algorithm |
|||
Person | Time | Class | |
Male | Day | Excited | |
Female | Night | Excited | |
Male | Day | Excited | |
Male | Day | Excited | |
Male | Day | Excited | |
Female | Night | Not-excited | |
Female | Night | Not-excited | |
Male | Day | Not-excited | |
Male | Night | Not-excited | |
Female | Night | Not-excited | |
i) Compute the class probabilities [4 marks]
ii) Compute the conditional probabilities [12 marks] iii) Make predictions [9 marks]
|
|||
b) Using the following sample dataset with a contrived 3 decision trees and split points, demonstrate how to make predictions using Bagged Decision Trees [25 marks]
|
Get your college paper done by experts
Do my question How much will it cost?Place an order in 3 easy steps. Takes less than 5 mins.