The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Multiple example sets failing with IOMultipler and IOSelector

noah977noah977 Member Posts: 32 Maven
edited November 2018 in Help
After some testing, it appears as if I get the best results by splitting my training data into several different groups and training a model for each group.

Currently, I'm doing this with several different process files.  This can get tedious quickly.

I would like to have one master process file that learns a model on each group of data (using examplefilter).

My thought was to do this with IOMultipler and IOSelector.  I keep getting errors and can't figure out  how to configure things correctly. 

Below is an example of what I'm trying to do. (Note: this process fails.)

<operator name="Root" class="Process" expanded="yes">
    <operator name="CSVExampleSource" class="CSVExampleSource">
    </operator>
    <operator name="IOMultiplier" class="IOMultiplier">
        <parameter key="io_object" value="ExampleSet"/>
        <parameter key="number_of_copies" value="4"/>
    </operator>
    <operator name="chain 1" class="OperatorChain" expanded="no">
        <operator name="ExampleFilter" class="ExampleFilter">
        </operator>
        <operator name="DecisionTree" class="DecisionTree">
        </operator>
        <operator name="ModelWriter" class="ModelWriter">
        </operator>
    </operator>
    <operator name="IOSelector" class="IOSelector">
        <parameter key="io_object" value="ExampleSet"/>
        <parameter key="select_which" value="2"/>
    </operator>
    <operator name="chain 2" class="OperatorChain" expanded="yes">
        <operator name="ExampleFilter (2)" class="ExampleFilter">
        </operator>
        <operator name="DecisionTree (2)" class="DecisionTree">
        </operator>
        <operator name="ModelWriter (2)" class="ModelWriter">
        </operator>
    </operator>
    <operator name="IOSelector (2)" class="IOSelector">
        <parameter key="io_object" value="ExampleSet"/>
        <parameter key="select_which" value="3"/>
    </operator>
    <operator name="chain 3" class="OperatorChain" expanded="yes">
        <operator name="ExampleFilter (3)" class="ExampleFilter">
        </operator>
        <operator name="DecisionTree (3)" class="DecisionTree">
        </operator>
        <operator name="ModelWriter (3)" class="ModelWriter">
        </operator>
    </operator>
    <operator name="IOSelector (3)" class="IOSelector">
        <parameter key="io_object" value="ExampleSet"/>
        <parameter key="select_which" value="4"/>
    </operator>
    <operator name="chain 4" class="OperatorChain" expanded="yes">
        <operator name="ExampleFilter (4)" class="ExampleFilter">
        </operator>
        <operator name="DecisionTree (4)" class="DecisionTree">
        </operator>
        <operator name="ModelWriter (4)" class="ModelWriter">
        </operator>
    </operator>
</operator>
Sign In or Register to comment.