Random Forest and Decision Tree Algorithm











up vote
-2
down vote

favorite












As Random Forest is a collection of Decision Trees following bagging concept, so when we move from one Decision Tree to the next Decision Tree then how is information learned by last Decision Tree moves forward to next ?



Because as per my understanding there is nothing like trained model which gets created for every Decision Tree and then loaded before the next Decision Tree starts learning from the misclassified error.



So how does it works ?










share|improve this question
























  • "the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
    – G. Anderson
    Nov 19 at 16:22










  • Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
    – G. Anderson
    Nov 19 at 16:27






  • 2




    Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
    – desertnaut
    Nov 19 at 16:27

















up vote
-2
down vote

favorite












As Random Forest is a collection of Decision Trees following bagging concept, so when we move from one Decision Tree to the next Decision Tree then how is information learned by last Decision Tree moves forward to next ?



Because as per my understanding there is nothing like trained model which gets created for every Decision Tree and then loaded before the next Decision Tree starts learning from the misclassified error.



So how does it works ?










share|improve this question
























  • "the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
    – G. Anderson
    Nov 19 at 16:22










  • Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
    – G. Anderson
    Nov 19 at 16:27






  • 2




    Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
    – desertnaut
    Nov 19 at 16:27















up vote
-2
down vote

favorite









up vote
-2
down vote

favorite











As Random Forest is a collection of Decision Trees following bagging concept, so when we move from one Decision Tree to the next Decision Tree then how is information learned by last Decision Tree moves forward to next ?



Because as per my understanding there is nothing like trained model which gets created for every Decision Tree and then loaded before the next Decision Tree starts learning from the misclassified error.



So how does it works ?










share|improve this question















As Random Forest is a collection of Decision Trees following bagging concept, so when we move from one Decision Tree to the next Decision Tree then how is information learned by last Decision Tree moves forward to next ?



Because as per my understanding there is nothing like trained model which gets created for every Decision Tree and then loaded before the next Decision Tree starts learning from the misclassified error.



So how does it works ?







python machine-learning random-forest decision-tree






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 16:34









desertnaut

15.5k53363




15.5k53363










asked Nov 19 at 16:14









Abhay Raj Singh

173




173












  • "the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
    – G. Anderson
    Nov 19 at 16:22










  • Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
    – G. Anderson
    Nov 19 at 16:27






  • 2




    Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
    – desertnaut
    Nov 19 at 16:27




















  • "the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
    – G. Anderson
    Nov 19 at 16:22










  • Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
    – G. Anderson
    Nov 19 at 16:27






  • 2




    Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
    – desertnaut
    Nov 19 at 16:27


















"the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
– G. Anderson
Nov 19 at 16:22




"the next Decision Tree starts learning from the misclassified error" just exactly described gradient boosted decision trees
– G. Anderson
Nov 19 at 16:22












Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
– G. Anderson
Nov 19 at 16:27




Additionally, there is most definitely a difference between bagging and random forest, and it has to do with how samples and subsets are selected for inclusion in the 'stumps' or sub-trees
– G. Anderson
Nov 19 at 16:27




2




2




Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
– desertnaut
Nov 19 at 16:27






Trees in RF are independent, so what you assume here simply does not happen. It seems you are confusing RF with the gradient boosted trees. In any case, the question is off-topic for SO and better suited for Cross Validated.
– desertnaut
Nov 19 at 16:27



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
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
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53378694%2frandom-forest-and-decision-tree-algorithm%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53378694%2frandom-forest-and-decision-tree-algorithm%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

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

TypeError: fit_transform() missing 1 required positional argument: 'X'