"How to Calculate

bobdobbs
bobdobbs New Altair Community Member
edited November 5 in Community Q&A
It has been suggested that I calculate the "R" score on some of the models that I've trained.

Is there a function to do this in RM?

Thanks!
Tagged:

Answers

  • steffen
    steffen New Altair Community Member
    Do you mean this one : http://en.wikipedia.org/wiki/R_score ?

    If this is not correct,  please provide a link or an explanation.
  • bobdobbs
    bobdobbs New Altair Community Member
    I've seen it referred to in texts as  R2

    Does that help?
  • haddock
    haddock New Altair Community Member
    Hi,

    If this is what you mean...

    http://en.wikipedia.org/wiki/Coefficient_of_determination

    Then this might be what you are after
    <operator name="RegressionPerformance" class="RegressionPerformance">
            <parameter key="main_criterion" value="squared_correlation"/>
            <parameter key="skip_undefined_labels" value="false"/>
            <parameter key="use_example_weights" value="false"/>
        </operator>