"Is it possible to obtain the predictions made inside an operator of X-Validation"

earmijoearmijo MemberPosts:270Unicorn
edited June 2019 inHelp
在每一轮的10倍X-validation过程,one tenth of the dataset is used as a test set and the rest is used as training data. The model is used to predict that one tenth. After 10 rounds you get a full vector of "conservative" predictions. These predictions are compared to the actual values and metrics like the RMSE are calculated.

My question is: Is there a way to obtain those predictions inside the X-validation operator?

Answers

  • awchisholmawchisholm RapidMiner Certified Expert, MemberPosts:458Unicorn
    Hello

    You could store the results in the repository using the Store operator or in memory using the Remember operator. To avoid overwriting, you would have to make sure the name of the stored item was changed based on the value of a macro that incremented as each iteration of the loop happens.

    Outside the cross validation, you could retrieve or recall as needed.

    regards

    Andrew
  • earmijoearmijo MemberPosts:270Unicorn
    Thank you very much Andrew. I'll give it a try.
  • earmijoearmijo MemberPosts:270Unicorn
    Oops. This is embarrasing...

    I just discovered there is an operator in RM that does precisely what I want: X-Prediction.
Sign InorRegisterto comment.