Question: Q . 1 Suppose we have a dataset containing information about different products, including their features such as color, size, and weight. We want to
Q Suppose we have a dataset containing information about different products, including their features such as color, size, and weight. We want to classify these products into three classes: Class A Class B and Class C The dataset and classes are as follows:
Product
Color
Size
Weight
Class
Product
Red
Small
Light
A
Product
Green
Medium
Medium
A
Product
Blue
Large
Heavy
A
Product
Red
Medium
Light
A
Product
Green
Small
Medium
B
Product
Blue
Medium
Heavy
B
Product
Red
Large
Light
B
Product
Green
Small
Heavy
B
Product
Blue
Large
Medium
C
Product
Red
Small
Heavy
C
Product
Green
Medium
Light
C
Product
Blue
Large
Light
C
Using the Naive Bayes classification algorithm, let's consider a product with the following features:
Color: Red
Size: Medium
Weight: Medium
Determine the class of this product using Nave Bayes classification technique.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
