Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

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

earmijoearmijo Member Posts: 271 Unicorn
edited June 2019 in Help
In each round of a 10-fold X-validation process, 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, Member Posts: 458 Unicorn
    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 Member Posts: 271 Unicorn
    Thank you very much Andrew. I'll give it a try.
  • earmijoearmijo Member Posts: 271 Unicorn
    Oops. This is embarrasing...

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