The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Is it possible to obtain the predictions made inside an operator of X-Validation"
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?
My question is: Is there a way to obtain those predictions inside the X-validation operator?
Tagged:
0
Answers
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
I just discovered there is an operator in RM that does precisely what I want: X-Prediction.