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
How to apply a Score dataset with no Target values to a model in RapidMiner
Hi All,
I was wondering, if anybody know how to apply a score dataset to a data mining model in RapidMiner.
I can easy use train and test datasets for classification accuracy of a data mining model.
But I do not know how a score dataset with no values of target attribute.
I have a score dataset but do not know if there is a way to apply the score dataset to a DM model in Rapid. Unfortunately, I can not skip the score dataset part and must use it to make sure the model I created works well.
Regards,
Seyhan
:-\
I was wondering, if anybody know how to apply a score dataset to a data mining model in RapidMiner.
I can easy use train and test datasets for classification accuracy of a data mining model.
But I do not know how a score dataset with no values of target attribute.
I have a score dataset but do not know if there is a way to apply the score dataset to a DM model in Rapid. Unfortunately, I can not skip the score dataset part and must use it to make sure the model I created works well.
Regards,
Seyhan
:-\
0
Answers
this should be quite simple: As long as the score dataset consists of the same regular attributes (special attributes like the label are not needed) you can simply feed it into a apply model operator. If you load your previously trained model into this operator, too, it will calculate the scores for you.
Here's a little example: Greetings,
Sebastian
But I still could not run it xml you added. I am not an expert on RapidMiner and do not know half. But I added the xml of my model.
I will appreciate if you let me where to add score into the model applier, since there is no subsection of the applier.
Regards,
Seyhan
Code
<operator name="Root" class="Process" expanded="yes">
<operator name="CSVExampleSource" class="CSVExampleSource">
<parameter key="filename" value="C:\PAKDD2010\sample_modelV3.csv"/>
<parameter key="label_name" value="TARGET_LABEL"/>
</operator>
<operator name="Bootstrapping" class="Bootstrapping">
</operator>
<operator name="Nominal2Numerical" class="Nominal2Numerical">
</operator>
<operator name="XValidation" class="XValidation" expanded="yes">
<operator name="AdaBoost" class="AdaBoost" expanded="yes">
<operator name="KernelNaiveBayes" class="KernelNaiveBayes">
</operator>
</operator>
<operator name="OperatorChain" class="OperatorChain" expanded="yes">
<operator name="ModelApplier" class="ModelApplier">
<parameter key="keep_model" value="true"/>
<list key="application_parameters">
</list>
<parameter key="create_view" value="true"/>
</operator>
<operator name="Performance" class="Performance">
</operator>
<operator name="ResultWriter" class="ResultWriter">
<parameter key="result_file" value="G:\Rapping\model_results.csv"/>
</operator>
</operator>
</operator>
</operator>
here's your modified process. You can use the model output of the XValidation to get a model trained on the complete data set that was forwarded into the X-Validation.
Please take a look at the XValidation and Adaboost. You forgot to connect the outputs of the operators with the subprocesses endpoints.
I would strongly recommend to take a look at all the sample processes delivered with RapidMiner and the videos linked on our website to get an understanding how RapidMiner works. Greetings,
Sebastian