Number of iterations for minimal cost complexity prunning?Why is the number of samples smaller than the number of values in my decision tree?Minimum number of trees for Random Forest classifierSpace complexity of classification algorithmsHow to control number of branches for each split in sklearn DT classifier?Decision Trees How to Calculate Entropy Gain for Continuous Values for split point?How to reduce the number of rules in decision tree with Support and ConfidenceHow important is it for each row of data to have the same number of features?Decision Tree Classifier For Minimizing Arbitrary Cost FunctionBuilding a minimal encoding of nominal labels from numerical featuresHow to determine number of leaves in decision tree analysis?
Error message with tabularx
To say I met a person for the first time
Mac Pro install disk keeps ejecting itself
Binary Numbers Magic Trick
What does the "ep" capability mean?
Size of electromagnet needed to replicate Earth's magnetic field
Examples of subgroups where it's nontrivial to show closure under multiplication?
How to get a plain text file version of a CP/M .BAS (M-BASIC) program?
Does Gita support doctrine of eternal cycle of birth and death for evil people?
Repelling Blast: Must targets always be pushed back?
Will tsunami waves travel forever if there was no land?
French for 'It must be my imagination'?
What makes accurate emulation of old systems a difficult task?
Unexpected email from Yorkshire Bank
Who is the Umpire in this picture?
Is there really no use for MD5 anymore?
Is the claim "Employers won't employ people with no 'social media presence'" realistic?
Why does academia still use scientific journals and not peer-reviewed government funded alternatives?
Seemingly unused edef prior to an ifx mysteriously affects the outcome of the ifx. Why?
How can the Zone of Truth spell be defeated without the caster knowing?
Why do games have consumables?
What route did the Hindenburg take when traveling from Germany to the U.S.?
Why other Westeros houses don't use wildfire?
Was there a shared-world project before "Thieves World"?
Number of iterations for minimal cost complexity prunning?
Why is the number of samples smaller than the number of values in my decision tree?Minimum number of trees for Random Forest classifierSpace complexity of classification algorithmsHow to control number of branches for each split in sklearn DT classifier?Decision Trees How to Calculate Entropy Gain for Continuous Values for split point?How to reduce the number of rules in decision tree with Support and ConfidenceHow important is it for each row of data to have the same number of features?Decision Tree Classifier For Minimizing Arbitrary Cost FunctionBuilding a minimal encoding of nominal labels from numerical featuresHow to determine number of leaves in decision tree analysis?
$begingroup$
I've been fiddling with weka's J48 decision tree implementation (C4.5). My goal is to implement cost complexity prunning using weakest link cut method. Basically my algorithm iteratively prunes the tree creating trees with fewer nodes from the previous ones ($ T_0 > T_1 > T_2 >...>T_N$).
My goal now is how do I find that $N$ from $T_N$ meaning how many times should I prune the tree. The algorithm seems to prune pretty aggressively, few iterations too much and it will be completely prunned.
For now I'm using the stop condition regarding the complexity factor and I stop the prunning when $alpha gt 0.001$ (from $R(t) = R(t) + alpha|T|$) . This works pretty well for the two datasets I've tested so far but I wouldn't bet my money on it.
decision-trees
$endgroup$
add a comment |
$begingroup$
I've been fiddling with weka's J48 decision tree implementation (C4.5). My goal is to implement cost complexity prunning using weakest link cut method. Basically my algorithm iteratively prunes the tree creating trees with fewer nodes from the previous ones ($ T_0 > T_1 > T_2 >...>T_N$).
My goal now is how do I find that $N$ from $T_N$ meaning how many times should I prune the tree. The algorithm seems to prune pretty aggressively, few iterations too much and it will be completely prunned.
For now I'm using the stop condition regarding the complexity factor and I stop the prunning when $alpha gt 0.001$ (from $R(t) = R(t) + alpha|T|$) . This works pretty well for the two datasets I've tested so far but I wouldn't bet my money on it.
decision-trees
$endgroup$
add a comment |
$begingroup$
I've been fiddling with weka's J48 decision tree implementation (C4.5). My goal is to implement cost complexity prunning using weakest link cut method. Basically my algorithm iteratively prunes the tree creating trees with fewer nodes from the previous ones ($ T_0 > T_1 > T_2 >...>T_N$).
My goal now is how do I find that $N$ from $T_N$ meaning how many times should I prune the tree. The algorithm seems to prune pretty aggressively, few iterations too much and it will be completely prunned.
For now I'm using the stop condition regarding the complexity factor and I stop the prunning when $alpha gt 0.001$ (from $R(t) = R(t) + alpha|T|$) . This works pretty well for the two datasets I've tested so far but I wouldn't bet my money on it.
decision-trees
$endgroup$
I've been fiddling with weka's J48 decision tree implementation (C4.5). My goal is to implement cost complexity prunning using weakest link cut method. Basically my algorithm iteratively prunes the tree creating trees with fewer nodes from the previous ones ($ T_0 > T_1 > T_2 >...>T_N$).
My goal now is how do I find that $N$ from $T_N$ meaning how many times should I prune the tree. The algorithm seems to prune pretty aggressively, few iterations too much and it will be completely prunned.
For now I'm using the stop condition regarding the complexity factor and I stop the prunning when $alpha gt 0.001$ (from $R(t) = R(t) + alpha|T|$) . This works pretty well for the two datasets I've tested so far but I wouldn't bet my money on it.
decision-trees
decision-trees
asked Apr 7 at 7:37
oren revengeoren revenge
1062
1062
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48789%2fnumber-of-iterations-for-minimal-cost-complexity-prunning%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48789%2fnumber-of-iterations-for-minimal-cost-complexity-prunning%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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