radoneradone RapidMiner Certified Expert, Member Posts: 74 Guru
edited November 2018 in Help
could anyone give me an example how the WeightedPerformanceCreator should be used. Unfortunately, the code below returns "unknown" performance value.

Below I have made an example (which is a part of XValidation) where the default weight is 0.0 and the weight of "accuracy" and "relative_error" were explicitly set to 1.0 resp. 2.0. I do nut undersand why the resulting performance vector returns unknown.

Thank you in advance.
                    <operator name="ClassificationPerformance (5)" class="ClassificationPerformance">
                        <parameter key="keep_example_set" value="true"/>
                        <parameter key="main_criterion" value="relative_error"/>
                        <parameter key="accuracy" value="true"/>
                        <parameter key="relative_error" value="true"/>
                        <parameter key="squared_error" value="true"/>
                        <parameter key="correlation" value="true"/>
                        <list key="class_weights">
                    <operator name="WeightedPerformanceCreator" class="WeightedPerformanceCreator">
                        <parameter key="default_weight" value="0.0"/>
                        <list key="criteria_weights">
                          <parameter key="accuracy" value="1.0"/>
                          <parameter key="relative_error" value="2.0"/>


  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    at least in RapidMiner 5.0 this works as expected.

Sign In or Register to comment.