Pages: [1]
  Print  
Author Topic: metacost and stacking  (Read 1197 times)
cgkolar
Newbie
*
Posts: 31


« on: October 02, 2008, 07:24:02 PM »

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
Logged
steffen
Sr. Member
****
Posts: 376



« Reply #1 on: October 03, 2008, 08:55:55 AM »

Hello cgkolar

Hm ... I must admit I do not understand the problem. I tried the following setup...
Code:
<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
Logged

"I want to make computers do what I mean instead of what I say"
Read The Fantastic Manual
Pages: [1]
  Print  
 
Jump to: