Question

Suppose that we have the data below, where Stolen is the target attribute that consists of binary values (yes or no). Color T

0 0
Add a comment Improve this question Transcribed image text
Answer #1

-->

Probability of Stolen = yes is given by :

P(Stolen=yes/color= red, type=suv, origin=imported)

= P(color= red/Stolen=yes) * P(type= suv/Stolen=yes)

    * P(origin=imported/Stolen=yes) * P(Stolen=yes)

= 3/5 * 1/5 * 3/5 * 1/2

= 0.036

-->

Similarly Probability of Stolen = no is given by :

P(Stolen=no/color= red, type=suv, origin=imported)

= P(color= red/Stolen=no) * P(type= suv/Stolen=no)

    * P(origin=imported/Stolen=no) * P(Stolen=no)

= 2/5 * 3/5 * 2/5 * 1/2

= 0.048

--> The Stolen = no has higher probability. So, Answer is "no"

Add a comment
Know the answer?
Add Answer to:
Suppose that we have the data below, where Stolen is the target attribute that consists of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the following data set. You are asked to predict the class label (if Stolen =...

    Consider the following data set. You are asked to predict the class label (if Stolen = Yes or No) for a test data point “X” where “X” = (color=Red, Type=SUV, Origin=Domestic) using the Naïve Bayes approach. Show every step and calculation details. Color Type Origin Stolen 1 Red Sports Domestic Yes 2 Red Sports Domestic Yes 3 Red Sports Domestic Yes 4 Yellow Sports Domestic No 5 Yellow Sports Import Yes 6 Yellow SUV Import No 7 Yellow SUV Import...

  • Assume you have a data set as below. It contains records of cars with three features:...

    Assume you have a data set as below. It contains records of cars with three features: the type of the car (sports or SUV), the color of the car (red or yellow), and the origin of the car (domestic or imported). And the labels for the data are yes (car was stolen) and no (car was not stolen). CarType,Color,Origin,Stolen? sports,red,domestic,yes sports,red,domestic,yes sports,red,domestic,yes sports,red,domestic,no SUV,red,domestic,no SUV,red,imported,yes SUV,yellow,imported,no SUV,yellow,imported,yes SUV,yellow,domestic,no sports,yellow,imported,no sports,red,imported,yes Calculate the probability of P(Yes|Red,Domestic,SUV)

  • write question 1 ASAP CIS 321 -Intro. to Prob. and Stats Quiz #3-Chapters 10 and 12...

    write question 1 ASAP CIS 321 -Intro. to Prob. and Stats Quiz #3-Chapters 10 and 12 + Bayesian Classification Reza Zafarani-Spring 2018 Name (2pts): Problem 1 Covariance [4pts] Let X and Y be two and Cor(X, Y) random variables. Express Cor(XX + y) in termd Var(XY) Problem 2 - Poisson Distribution (6pts In a computer network, the sumber of lost connections in a second C is modeled as oed, PIC 0), is 10, What is the expected number of lost...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT