"How to Calculate

bobdobbsbobdobbs Member Posts: 26 Maven
edited May 2019 in Help
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

  • steffensteffen Member Posts: 347 Maven
    Do you mean this one : http://en.wikipedia.org/wiki/R_score ?

    If this is not correct,  please provide a link or an explanation.
  • bobdobbsbobdobbs Member Posts: 26 Maven
    I've seen it referred to in texts as  R2

    Does that help?
  • haddockhaddock Member Posts: 849 Maven
    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>
Sign In or Register to comment.