metacost and stacking

cgkolar
cgkolar New Altair Community Member
edited November 5 in Community Q&A
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
Tagged:

Answers

  • steffen
    steffen New Altair Community Member
    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