🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"Macro Value in the Operator Name"

User: "Shubha"
New Altair Community Member
Updated by Jocelyn
Hi,

Please run the below process file.
<operator name="Root" class="Process" expanded="yes">
    <operator name="IteratingOperatorChain" class="IteratingOperatorChain" expanded="yes">
        <parameter key="iterations" value="3"/>
        <operator name="ExampleSetGenerator" class="ExampleSetGenerator">
            <parameter key="target_function" value="simple polynomial classification"/>
        </operator>
        <operator name="JMySVMLearner" class="JMySVMLearner">
            <parameter key="keep_example_set" value="true"/>
        </operator>
        <operator name="ModelApplier" class="ModelApplier">
            <list key="application_parameters">
            </list>
        </operator>
        <operator name="Perform_%{a}" class="ClassificationPerformance">
            <parameter key="main_criterion" value="accuracy"/>
            <list key="class_weights">
            </list>
        </operator>
        <operator name="IOStorer" class="IOStorer">
            <parameter key="name" value="g_%{a}"/>
            <parameter key="io_object" value="PerformanceVector"/>
        </operator>
    </operator>
    <operator name="IORetriever (2)" class="IORetriever">
        <parameter key="name" value="g_1"/>
        <parameter key="io_object" value="PerformanceVector"/>
    </operator>
    <operator name="IORetriever (3)" class="IORetriever">
        <parameter key="name" value="g_2"/>
        <parameter key="io_object" value="PerformanceVector"/>
    </operator>
    <operator name="IORetriever (4)" class="IORetriever">
        <parameter key="name" value="g_3"/>
        <parameter key="io_object" value="PerformanceVector"/>
    </operator>
</operator>
One can see three performance vectors after running the above process file. Three being three separate performance vectors for three separate iterations (dummy data created).

I want to name each performance vector as say Perform_1, Perform_2, and Perform_3. How do I do this? I tried by changing the operator name as 'Perform_%{a}', but in vain as you can see it from the name of the outputs generated as 'Performance Vector (Perform_%{a})' for all the three performance vectors. Are there any ways of this?

Thanks,
Shubha.

Find more posts tagged with