Question

Problem 2: Lets say we have training data on 1000 pieces of fruit and among them 500 are bananas, 300 are oranges and 200 are other fruits. We consider 3 features of each fruit, whether its long or not, sweet or not and yellow or not, as displayed in the table below Long Sweet Yellow Fruit Banana 400 350 Orange0 Other 450 300 50 150 100 150 Now given an addition fruit with the features: Long, Sweet and Yellow, what is your prediction, the fruit is a banana, an orange or an other fruit? Why? Hints: Based on the data, find the probabilities p(banana)-?, p(orange)-? p(other)-?, p(Long | banana)-?, p(Sweetl banana)-?, p(Yellow | banana)? etc and note p(banana | Long,Sweet, Yellow) p (Long | banan) p(Sweet | banana) p(Yellow | banana)p(banana) p(Long, Sweet, Yellow) p (orange \ Long, Sweet, Yellow) p (Long | orange) p(Sweet l orange) p(Yellow | orange)p(orange) p (Long, Sweet, Yellow) p(other | Long, Sweet, Yellow) p(Long | other) p(Sweet | other) p(Yellow | other)p(other) p(Long, Sweet, Yellow)

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Problem 2: Let's say we have training data on 1000 pieces of fruit and among them...
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
  • Read the attached article and answer the following questions. 1. What is the role of potassium...

    Read the attached article and answer the following questions. 1. What is the role of potassium in blood pressure? 2. Looking back at last weeks Super Tracker report - do you meet the 4700mg daily target for potassium? 3. Do you meet the 400mg daily target for magnesium? 4. Research shows that hypertension and type 2 diabetes can be prevented by dietary choices. List 3 ways that employers, government, doctors, etc. (you can use another group ) can either motivate...

  • Case: Review Medical Nutrition Therapy: A Case Study Approach - Case 6 Heart Failure with Resulting...

    Case: Review Medical Nutrition Therapy: A Case Study Approach - Case 6 Heart Failure with Resulting Cardiac Cachexia. Reviewing chapter 13 of Nutrition Therapy and Pathophysiology will also help you to understand the disease and pathophysiology of this case. 1. Calculate Mrs. Maney's energy and protein requirements. Show your calculations and explain your rationale for the formula you chose for your calculations. (15 points) 2. The MD consults the RDN for nutrition assessment and enteral feeding recommendations. Do you feel...

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
ADVERTISEMENT