Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write R code that will create the Bayesian network shown below. Include your code and output (e.g., a screenshot of a plot) that shows the

Write R code that will create the Bayesian network shown below. Include your code and output (e.g., a screenshot of a plot) that shows the Bayesian network graph and the contents of each nodes probability table. Then write R code that uses the Bayesian network to predict Quality for the following 2 instances: (i) Location = Good, Quality = Normal, Cost = High, No. of People = Low, and (ii) Location = Bad, Quality = Good, Cost = Low, No. of People = High; include output (e.g., a screenshot) that shows the results of those predictions as a confusion matrix.image text in transcribed

LocationPIL) 0.6 0.4 Qualy PO) Good 03 Normal05 Bad 0.2 Good Location (L) Qualty ( Cost (C) Good Bad QualityGoodNomal Bad Good Nomal Ba Cost High 08 0.1 0.6 005 No. of People (N) 0.2 04 0.9 0.4 0.4 005 Good Cost No. of People 0.8 0.6 0.9 0.4

Step by Step Solution

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

1. What do you consider the strengths of this position?

Answered: 1 week ago