Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a binary classification problem of determining a class category of an object with four input features as given on the file named hw3data.xlsx with

Consider a binary classification problem of determining a class category of an object with four input features as given on the file named hw3data.xlsx with class categories A and B. Develop a Nave Bayes binary classifier using the data in the file as the training set. Once completed in training the model, determine the class categories of the following objects with the features as shown on the table shown below. Assume the features of the objects to exhibit Gaussian distributions in constructing the Nave Bayes model. Feature 1 Feature 2 Feature 3 Feature 4 Object 1 2 1 1.75 0.5 Object 2 3 2 2.75 1 Object 3 4 3 3.75 1.5 Object 4 5 4 4.75 2

Feature 1 Feature 2 Feature 3 Feature 4 Category 5.1 3.5 1.4 0.2 A 4.9 3 1.4 0.2 A 4.7 3.2 1.3 0.2 A 4.6 3.1 1.5 0.2 A 5 3.6 1.4 0.2 A 5.4 3.9 1.7 0.4 A 4.6 3.4 1.4 0.3 A 5 3.4 1.5 0.2 A 4.4 2.9 1.4 0.2 A 4.9 3.1 1.5 0.1 A 5.4 3.7 1.5 0.2 A 4.8 3.4 1.6 0.2 A 4.8 3 1.4 0.1 A 4.3 3 1.1 0.1 A 5.8 4 1.2 0.2 A 5.7 4.4 1.5 0.4 A 5.4 3.9 1.3 0.4 A 5.1 3.5 1.4 0.3 A 5.7 3.8 1.7 0.3 A 5.1 3.8 1.5 0.3 A 5.4 3.4 1.7 0.2 A 5.1 3.7 1.5 0.4 A 4.6 3.6 1 0.2 A 5.1 3.3 1.7 0.5 A 4.8 3.4 1.9 0.2 A 5 3 1.6 0.2 A 5 3.4 1.6 0.4 A 5.2 3.5 1.5 0.2 A 5.2 3.4 1.4 0.2 A 4.7 3.2 1.6 0.2 A 4.8 3.1 1.6 0.2 A 5.4 3.4 1.5 0.4 A 5.2 4.1 1.5 0.1 A 5.5 4.2 1.4 0.2 A 4.9 3.1 1.5 0.1 A 5 3.2 1.2 0.2 A 5.5 3.5 1.3 0.2 A 4.9 3.1 1.5 0.1 A 4.4 3 1.3 0.2 A 5.1 3.4 1.5 0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ution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions