metacost and stacking

cgkolarcgkolar Member Posts: 29 Maven
edited November 2018 in Help
Hello.  I have been able to successfully use MetaCost with decision tree, neural net, and Bayesian models.  I am looking at the stacking feature and trying to figure out how to work with it and metacost.  I don't seem to be able to embed Stacking within the MC operator, and I can't seem to wrap any of the stacked operators withing MC within the stacking operator.  I am wondering if my problem is technical, or if I am trying to do something that is conceptually inappropriate.  Cheers,  --chris

Answers

  • steffensteffen Member Posts: 347 Maven
    Hello cgkolar

    Hm ... I must admit I do not understand the problem. I tried the following setup...
    <operator name="Root" class="Process" expanded="yes">
        <operator name="ExampleSource" class="ExampleSource">
            <parameter key="attributes" value="iris.aml"/>
        </operator>
        <operator name="MetaCost" class="MetaCost" expanded="yes">
            <parameter key="cost_matrix" value="[0.0 1.0 1.0;1.0 0.0 1.0;1.0 1.0 0.0]"/>
            <operator name="Stacking" class="Stacking" expanded="yes">
                <operator name="NaiveBayes" class="NaiveBayes">
                </operator>
                <operator name="DecisionTree" class="DecisionTree">
                </operator>
            </operator>
        </operator>
    </operator>
    ...which worked without any problems.

    Please help if I got you wrong

    greetings

    Steffen
Sign In or Register to comment.