why do we need row sampling in random forests?2019 Community Moderator ElectionWhere does the random in Random Forests come from?Minimum number of trees for Random Forest classifierValueError when doing validation with random forestsWhy do we need XGBoost and Random Forest?Need Advice, Classification Problem in Python: Should I use Decision tree, Random Forests, or Logistic Regression?Default value of mtry for random forestsRandom Forests with complementary featuresDoes out-of-bag sampling make Random Forests inherently less robust than other classifiers?How (and why) are random forests able to represent both linear and non linear dataRandom Forest, Duplicating Data increases Accuracy. Why?

Was a professor correct to chastise me for writing "Prof. X" rather than "Professor X"?

How long to clear the 'suck zone' of a turbofan after start is initiated?

Crossing the line between justified force and brutality

Why escape if the_content isnt?

Efficient way to transport a Stargate

What is the intuitive meaning of having a linear relationship between the logs of two variables?

Return the Closest Prime Number

Is expanding the research of a group into machine learning as a PhD student risky?

System.debug(JSON.Serialize(o)) Not longer shows full string

India just shot down a satellite from the ground. At what altitude range is the resulting debris field?

Large drywall patch supports

when is out of tune ok?

Pre-amplifier input protection

Class Action - which options I have?

Go Pregnant or Go Home

I'm in charge of equipment buying but no one's ever happy with what I choose. How to fix this?

Trouble understanding the speech of overseas colleagues

Is a stroke of luck acceptable after a series of unfavorable events?

What is the best translation for "slot" in the context of multiplayer video games?

Is there a korbon needed for conversion?

Arithmetic mean geometric mean inequality unclear

Why not increase contact surface when reentering the atmosphere?

Can the discrete variable be a negative number?

How to safely derail a train during transit?



why do we need row sampling in random forests?



2019 Community Moderator ElectionWhere does the random in Random Forests come from?Minimum number of trees for Random Forest classifierValueError when doing validation with random forestsWhy do we need XGBoost and Random Forest?Need Advice, Classification Problem in Python: Should I use Decision tree, Random Forests, or Logistic Regression?Default value of mtry for random forestsRandom Forests with complementary featuresDoes out-of-bag sampling make Random Forests inherently less robust than other classifiers?How (and why) are random forests able to represent both linear and non linear dataRandom Forest, Duplicating Data increases Accuracy. Why?










3












$begingroup$


In random forests, where our estimators are decision trees, we do column (feature) sampling without replacement within an estimator, and with replacement in between estimators. This is perfectly fine as we are trying to reduce the high variance of individual decision trees.



But what is the need to do row sampling?



Usually more the data, the better it is for a model to learn, and even if i dont have any computational resource limitation, why do we have to do row sampling in estimators for random forest classifier?










share|improve this question









$endgroup$
















    3












    $begingroup$


    In random forests, where our estimators are decision trees, we do column (feature) sampling without replacement within an estimator, and with replacement in between estimators. This is perfectly fine as we are trying to reduce the high variance of individual decision trees.



    But what is the need to do row sampling?



    Usually more the data, the better it is for a model to learn, and even if i dont have any computational resource limitation, why do we have to do row sampling in estimators for random forest classifier?










    share|improve this question









    $endgroup$














      3












      3








      3


      1



      $begingroup$


      In random forests, where our estimators are decision trees, we do column (feature) sampling without replacement within an estimator, and with replacement in between estimators. This is perfectly fine as we are trying to reduce the high variance of individual decision trees.



      But what is the need to do row sampling?



      Usually more the data, the better it is for a model to learn, and even if i dont have any computational resource limitation, why do we have to do row sampling in estimators for random forest classifier?










      share|improve this question









      $endgroup$




      In random forests, where our estimators are decision trees, we do column (feature) sampling without replacement within an estimator, and with replacement in between estimators. This is perfectly fine as we are trying to reduce the high variance of individual decision trees.



      But what is the need to do row sampling?



      Usually more the data, the better it is for a model to learn, and even if i dont have any computational resource limitation, why do we have to do row sampling in estimators for random forest classifier?







      random-forest decision-trees boosting






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      InAFlashInAFlash

      3671316




      3671316




















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          I think it is a way to reduce bias. If you're training a Random Forest with 100 trees, then you will grow these trees with (potentially) 100 different training sets. You can achieve the "wisdom of the crowds" since there is a crowd formed by these training sets.






          share|improve this answer








          New contributor




          Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          $endgroup$












          • $begingroup$
            I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
            $endgroup$
            – Esmailian
            2 days ago










          • $begingroup$
            Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
            $endgroup$
            – Matteo Felici
            2 days ago


















          0












          $begingroup$

          First I think your understanding of “column sampling” is incorrect. Random forest try’s a subset of features for each split. It does not sample without replacement within an individual tree.
          Random forest samples rows with replacement (bootstrap samples) to remove correlation between the decision trees. Think about it, if you didn’t do this even though you create each split based on only a subset of features, your trees would end up looking fairly similar (or at least more similar than if you bootstrapped). You do have larger bias due to creating trees based only on about ~63% unique values but the decrease in variance by having more uncorrelated trees makes up for it.






          share|improve this answer









          $endgroup$












            Your Answer





            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "557"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f47971%2fwhy-do-we-need-row-sampling-in-random-forests%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            I think it is a way to reduce bias. If you're training a Random Forest with 100 trees, then you will grow these trees with (potentially) 100 different training sets. You can achieve the "wisdom of the crowds" since there is a crowd formed by these training sets.






            share|improve this answer








            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$












            • $begingroup$
              I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
              $endgroup$
              – Esmailian
              2 days ago










            • $begingroup$
              Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
              $endgroup$
              – Matteo Felici
              2 days ago















            0












            $begingroup$

            I think it is a way to reduce bias. If you're training a Random Forest with 100 trees, then you will grow these trees with (potentially) 100 different training sets. You can achieve the "wisdom of the crowds" since there is a crowd formed by these training sets.






            share|improve this answer








            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$












            • $begingroup$
              I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
              $endgroup$
              – Esmailian
              2 days ago










            • $begingroup$
              Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
              $endgroup$
              – Matteo Felici
              2 days ago













            0












            0








            0





            $begingroup$

            I think it is a way to reduce bias. If you're training a Random Forest with 100 trees, then you will grow these trees with (potentially) 100 different training sets. You can achieve the "wisdom of the crowds" since there is a crowd formed by these training sets.






            share|improve this answer








            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            $endgroup$



            I think it is a way to reduce bias. If you're training a Random Forest with 100 trees, then you will grow these trees with (potentially) 100 different training sets. You can achieve the "wisdom of the crowds" since there is a crowd formed by these training sets.







            share|improve this answer








            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 2 days ago









            Matteo FeliciMatteo Felici

            1012




            1012




            New contributor




            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Matteo Felici is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.











            • $begingroup$
              I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
              $endgroup$
              – Esmailian
              2 days ago










            • $begingroup$
              Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
              $endgroup$
              – Matteo Felici
              2 days ago
















            • $begingroup$
              I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
              $endgroup$
              – Esmailian
              2 days ago










            • $begingroup$
              Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
              $endgroup$
              – Matteo Felici
              2 days ago















            $begingroup$
            I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
            $endgroup$
            – Esmailian
            2 days ago




            $begingroup$
            I think "wisdom of the crowds" analogy is problematic, since it refers to the benefit of larger number of individuals. But row sampling is about the benefit of smaller number of individuals, given the number of trees (weak learners) is fixed.
            $endgroup$
            – Esmailian
            2 days ago












            $begingroup$
            Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
            $endgroup$
            – Matteo Felici
            2 days ago




            $begingroup$
            Here the larger number of individuals is due to having different training set at each iteration. That's what I mean for "the crowd".
            $endgroup$
            – Matteo Felici
            2 days ago











            0












            $begingroup$

            First I think your understanding of “column sampling” is incorrect. Random forest try’s a subset of features for each split. It does not sample without replacement within an individual tree.
            Random forest samples rows with replacement (bootstrap samples) to remove correlation between the decision trees. Think about it, if you didn’t do this even though you create each split based on only a subset of features, your trees would end up looking fairly similar (or at least more similar than if you bootstrapped). You do have larger bias due to creating trees based only on about ~63% unique values but the decrease in variance by having more uncorrelated trees makes up for it.






            share|improve this answer









            $endgroup$

















              0












              $begingroup$

              First I think your understanding of “column sampling” is incorrect. Random forest try’s a subset of features for each split. It does not sample without replacement within an individual tree.
              Random forest samples rows with replacement (bootstrap samples) to remove correlation between the decision trees. Think about it, if you didn’t do this even though you create each split based on only a subset of features, your trees would end up looking fairly similar (or at least more similar than if you bootstrapped). You do have larger bias due to creating trees based only on about ~63% unique values but the decrease in variance by having more uncorrelated trees makes up for it.






              share|improve this answer









              $endgroup$















                0












                0








                0





                $begingroup$

                First I think your understanding of “column sampling” is incorrect. Random forest try’s a subset of features for each split. It does not sample without replacement within an individual tree.
                Random forest samples rows with replacement (bootstrap samples) to remove correlation between the decision trees. Think about it, if you didn’t do this even though you create each split based on only a subset of features, your trees would end up looking fairly similar (or at least more similar than if you bootstrapped). You do have larger bias due to creating trees based only on about ~63% unique values but the decrease in variance by having more uncorrelated trees makes up for it.






                share|improve this answer









                $endgroup$



                First I think your understanding of “column sampling” is incorrect. Random forest try’s a subset of features for each split. It does not sample without replacement within an individual tree.
                Random forest samples rows with replacement (bootstrap samples) to remove correlation between the decision trees. Think about it, if you didn’t do this even though you create each split based on only a subset of features, your trees would end up looking fairly similar (or at least more similar than if you bootstrapped). You do have larger bias due to creating trees based only on about ~63% unique values but the decrease in variance by having more uncorrelated trees makes up for it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                astelastel

                412




                412



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Data Science 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%2fdatascience.stackexchange.com%2fquestions%2f47971%2fwhy-do-we-need-row-sampling-in-random-forests%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

                    Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                    Tähtien Talli Jäsenet | Lähteet | NavigointivalikkoSuomen Hippos – Tähtien Talli

                    Do these cracks on my tires look bad? The Next CEO of Stack OverflowDry rot tire should I replace?Having to replace tiresFishtailed so easily? Bad tires? ABS?Filling the tires with something other than air, to avoid puncture hassles?Used Michelin tires safe to install?Do these tyre cracks necessitate replacement?Rumbling noise: tires or mechanicalIs it possible to fix noisy feathered tires?Are bad winter tires still better than summer tires in winter?Torque converter failure - Related to replacing only 2 tires?Why use snow tires on all 4 wheels on 2-wheel-drive cars?