Training r2 and error

mb223223
mb223223 New Altair Community Member
edited November 5 in Community Q&A
As I know the error and r2 appeared in the Results is belonging to testing error. How can I have both training and testing error in the Results in a process?

Best 

Best Answer

  • varunm1
    varunm1 New Altair Community Member
    edited September 2019 Answer ✓
    Hello  @mb223223

    Generally, we don't recommend looking into train error as the models overfit most of the times, but if you have any specific requirement here is the sample process to get training and testing error either using a split validation or cross-validation. I also attached the sample process files that you can import into rapidminer from File --> Import Process so that you can run them as well.

    Split Validation: Training & Testing Error



    Cross-Validation Training and Testing Error: This is inside cross-validation operator.


    Hope this helps. Please inform if you need more information.

Answers

  • varunm1
    varunm1 New Altair Community Member
    edited September 2019 Answer ✓
    Hello  @mb223223

    Generally, we don't recommend looking into train error as the models overfit most of the times, but if you have any specific requirement here is the sample process to get training and testing error either using a split validation or cross-validation. I also attached the sample process files that you can import into rapidminer from File --> Import Process so that you can run them as well.

    Split Validation: Training & Testing Error



    Cross-Validation Training and Testing Error: This is inside cross-validation operator.


    Hope this helps. Please inform if you need more information.
  • mb223223
    mb223223 New Altair Community Member
    Hi Dear Varun
    Thanks indeed for your reply and unique solution.

    Best Wishes