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
Apply Model in RapidMiner
HeikoeWin786
Member Posts: 64 Contributor I
in Help
Dear all,
I split a dataset 75%(Training) and 25%(Testing). I pre-processed the data on training data. Then, I split the training data again (75%-25%) and perform Naive Bayes Classification. I saved the model as a result of training data.
However, if I want to test whether my model is applicable or not, I believe I need to run my model on the 25% which I kept as the test data initially.
Means, for 25% of initial testing data, I will perform pre-processing same as training, then, I retrieve the pre-processed test data and apply the model which I saved from the training data.
Could you please advise if this is correct or am I doing wrong here?
thanks.
Heikoe
I split a dataset 75%(Training) and 25%(Testing). I pre-processed the data on training data. Then, I split the training data again (75%-25%) and perform Naive Bayes Classification. I saved the model as a result of training data.
However, if I want to test whether my model is applicable or not, I believe I need to run my model on the 25% which I kept as the test data initially.
Means, for 25% of initial testing data, I will perform pre-processing same as training, then, I retrieve the pre-processed test data and apply the model which I saved from the training data.
Could you please advise if this is correct or am I doing wrong here?
thanks.
Heikoe
1
Best Answer
-
Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 UnicornThat would be correct, if you want to run split validation manually, which it sounds like you did.
You could also use the Split Validation operator, which does this automatically and delivers the performance on the test portion of the data.
But I would really recommend using Cross Validation instead, which will train and test on multiple subsets of your original data and supply the resulting validation performance automatically.2
Answers
Hello
Most of the people have this question when they start working with data with RM or other software.
I agree with @Telcontar120, also I recommend you to read this link.
https://community.rapidminer.com/discussion/55112/cross-validation-and-its-outputs-in-rm-studio#latest
Best
Sara
Also, for the test dataset, I should retrieve the test dataset and use the "saved model" to test the data, correct?
I mean, how to design in RM for the test dataset? (i.e. the 25% initial unlabel data).
thanks much for your kind explanation.
Regards,
Heikoe
Thanks a lot Sara, I had looked into this and tried the corss-validation
Lindon Ventures
Data Science Consulting from Certified RapidMiner Experts