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

WeightedPerformanceCreator

radoneradone RapidMiner Certified Expert, Member Posts: 74 Guru
edited November 2018 in Help
Hello,
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">
                        </list>
                    </operator>
                    <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"/>
                        </list>
                    </operator>

Answers

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

    Greetings,
      Sebastian
Sign In or Register to comment.