Am I correct that this conditional probability problem can only be solved by assuming that Long, Yellow, and...












1












$begingroup$


I'm having trouble with this probability problem:



Let’s 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 it’s long or not, sweet or not and yellow
or not, as displayed in the table below.

Fruit Long Sweet Yellow
Banana 400 350 450
Orange 0 150 300
Other 100 150 50

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?


The only way I can manage to come up with an answer is to assume that the probabilities that a fruit is long, sweet, or yellow are completely independent, which doesn't really make sense in a real world example.



Am I correct in my assumption that this is the only way to solve the problem? Or am I missing something?










share|cite|improve this question









$endgroup$

















    1












    $begingroup$


    I'm having trouble with this probability problem:



    Let’s 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 it’s long or not, sweet or not and yellow
    or not, as displayed in the table below.

    Fruit Long Sweet Yellow
    Banana 400 350 450
    Orange 0 150 300
    Other 100 150 50

    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?


    The only way I can manage to come up with an answer is to assume that the probabilities that a fruit is long, sweet, or yellow are completely independent, which doesn't really make sense in a real world example.



    Am I correct in my assumption that this is the only way to solve the problem? Or am I missing something?










    share|cite|improve this question









    $endgroup$















      1












      1








      1





      $begingroup$


      I'm having trouble with this probability problem:



      Let’s 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 it’s long or not, sweet or not and yellow
      or not, as displayed in the table below.

      Fruit Long Sweet Yellow
      Banana 400 350 450
      Orange 0 150 300
      Other 100 150 50

      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?


      The only way I can manage to come up with an answer is to assume that the probabilities that a fruit is long, sweet, or yellow are completely independent, which doesn't really make sense in a real world example.



      Am I correct in my assumption that this is the only way to solve the problem? Or am I missing something?










      share|cite|improve this question









      $endgroup$




      I'm having trouble with this probability problem:



      Let’s 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 it’s long or not, sweet or not and yellow
      or not, as displayed in the table below.

      Fruit Long Sweet Yellow
      Banana 400 350 450
      Orange 0 150 300
      Other 100 150 50

      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?


      The only way I can manage to come up with an answer is to assume that the probabilities that a fruit is long, sweet, or yellow are completely independent, which doesn't really make sense in a real world example.



      Am I correct in my assumption that this is the only way to solve the problem? Or am I missing something?







      probability bayes-theorem






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Feb 3 at 3:43









      Conor HenryConor Henry

      313




      313






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          You're right.



          Consider for example that it is consistent with the given data that none of the other fruits are all of long, sweet and yellow. In that case, a long sweet yellow fruit would certainly be a banana.



          On the other hand, it is also consistent with the given data that all of the 50 yellow others are also long and sweet, but only 200 of the bananas have all three properties. In that case a long sweet yellow fruit could be either a banana or an "other".



          So you're right that you need to make some additional assumptions -- but note well that the exercise doesn't ask you to be sure what the probabilities objectively are, just for "what is your prediction?" Assuming independence seems to be as principled as anything else you could do with this background.



          (Part of the exercise is surely to be explicit about which additional assumptions you're making, so good work so far!)






          share|cite|improve this answer









          $endgroup$














            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3098145%2fam-i-correct-that-this-conditional-probability-problem-can-only-be-solved-by-ass%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            You're right.



            Consider for example that it is consistent with the given data that none of the other fruits are all of long, sweet and yellow. In that case, a long sweet yellow fruit would certainly be a banana.



            On the other hand, it is also consistent with the given data that all of the 50 yellow others are also long and sweet, but only 200 of the bananas have all three properties. In that case a long sweet yellow fruit could be either a banana or an "other".



            So you're right that you need to make some additional assumptions -- but note well that the exercise doesn't ask you to be sure what the probabilities objectively are, just for "what is your prediction?" Assuming independence seems to be as principled as anything else you could do with this background.



            (Part of the exercise is surely to be explicit about which additional assumptions you're making, so good work so far!)






            share|cite|improve this answer









            $endgroup$


















              1












              $begingroup$

              You're right.



              Consider for example that it is consistent with the given data that none of the other fruits are all of long, sweet and yellow. In that case, a long sweet yellow fruit would certainly be a banana.



              On the other hand, it is also consistent with the given data that all of the 50 yellow others are also long and sweet, but only 200 of the bananas have all three properties. In that case a long sweet yellow fruit could be either a banana or an "other".



              So you're right that you need to make some additional assumptions -- but note well that the exercise doesn't ask you to be sure what the probabilities objectively are, just for "what is your prediction?" Assuming independence seems to be as principled as anything else you could do with this background.



              (Part of the exercise is surely to be explicit about which additional assumptions you're making, so good work so far!)






              share|cite|improve this answer









              $endgroup$
















                1












                1








                1





                $begingroup$

                You're right.



                Consider for example that it is consistent with the given data that none of the other fruits are all of long, sweet and yellow. In that case, a long sweet yellow fruit would certainly be a banana.



                On the other hand, it is also consistent with the given data that all of the 50 yellow others are also long and sweet, but only 200 of the bananas have all three properties. In that case a long sweet yellow fruit could be either a banana or an "other".



                So you're right that you need to make some additional assumptions -- but note well that the exercise doesn't ask you to be sure what the probabilities objectively are, just for "what is your prediction?" Assuming independence seems to be as principled as anything else you could do with this background.



                (Part of the exercise is surely to be explicit about which additional assumptions you're making, so good work so far!)






                share|cite|improve this answer









                $endgroup$



                You're right.



                Consider for example that it is consistent with the given data that none of the other fruits are all of long, sweet and yellow. In that case, a long sweet yellow fruit would certainly be a banana.



                On the other hand, it is also consistent with the given data that all of the 50 yellow others are also long and sweet, but only 200 of the bananas have all three properties. In that case a long sweet yellow fruit could be either a banana or an "other".



                So you're right that you need to make some additional assumptions -- but note well that the exercise doesn't ask you to be sure what the probabilities objectively are, just for "what is your prediction?" Assuming independence seems to be as principled as anything else you could do with this background.



                (Part of the exercise is surely to be explicit about which additional assumptions you're making, so good work so far!)







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Feb 3 at 5:12









                Henning MakholmHenning Makholm

                243k17312556




                243k17312556






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3098145%2fam-i-correct-that-this-conditional-probability-problem-can-only-be-solved-by-ass%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith