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.
[SOLVED] How to get roc curve data?
gaoxiaolei
Member Posts: 12 Contributor II
Hi, everyone.
I used comparerocs operator which contains some classifiers. But there is another model of my own, which can not be executed in rapidminer. I want to plot these models' roc curve, the question is how to get the models' roc curve data? So I can plot them in excel.
Thanks!
I used comparerocs operator which contains some classifiers. But there is another model of my own, which can not be executed in rapidminer. I want to plot these models' roc curve, the question is how to get the models' roc curve data? So I can plot them in excel.
Thanks!
Tagged:
0
Answers
does your model create confidences? Then you can apply your model outside of RapidMiner, save the processed data including original label, predicted label and confidences in a csv file and import it into RapidMiner. Then make sure that attribute roles and attribute names comply with the naming scheme of classified data sets in RapidMiner (make use of Rename and Set Role operators). If you then use the Performance operator and push your data through it, you will get a ROC curve.
For doing the same outside RapidMiner, sort your examples by confidence, calculate True and False positive rate for each distinct confidence and create a data point from this.
Cheers,
Marius
Is there any way we can directly get the point data of ROC curve?
in RapidMiner this is not possible out of the box. You can however create a process which applies the algorithm described above on an example set with confidences and a label attribute.
Cheers,
Marius
This code didn't work on rapidminer version 6.4.
Are there any solution of this problem?
Thanks.