Question: Python question. Please help, really appreciate it!! Start from here: X = np.asarray([[6., 180, 12], [5.92, 190, 11], [5.58, 170, 12], [5.92, 165, 10], [5.,

 Python question. Please help, really appreciate it!! Start from here: X

Python question. Please help, really appreciate it!!

Start from here:

X = np.asarray([[6., 180, 12],

[5.92, 190, 11],

[5.58, 170, 12],

[5.92, 165, 10],

[5., 100, 6],

[5.5, 150, 8],

[5.42, 130, 7],

[5.75, 150, 9]])

y = np.asarray([1, 1, 1, 1, 0, 0, 0, 0])

Question 3 - A Naive Bayes Classifier (3 marks) We have the following dataset. Class X1 X2 X3 1 6.00 180 12 1 5.92 190 11 1 5.58 170 12 1 5.92 165 10 0 5.00 100 6 0 5.50 150 8 0 5.42 130 7 0 5.75 150 9 Build a Naive Bayes classifier to classify the following sample. Class X1 X2 X3 6.00 130 8 Explain your solution step by step

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!