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

Exporting ROC Curve underlying data

malcolmhaynesmalcolmhaynes Member Posts: 4 Learner I
Is there anyway to export the underlying data used to create the ROC curve from the performance operator? I want a table where each row has a decision threshold, TPR, and FPR. 
Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted
    Hi,
    Converters extension has a operator called ROC Curve to Example Set which does this for you.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany

Answers

  • malcolmhaynesmalcolmhaynes Member Posts: 4 Learner I
    The converter operator has one parameter - number of evaluation points. How is the converter generating the evaluation points? For example, if I have a dataset with 250 examples, but the evaluation points are set to 500. Is it just extrapolating points from a best fit curve?
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist

    been a while since I dived into this (when writing the AUPRC operator). The short answer is yes. The usual way how we implement a ROC curve is using an interpolation. The code for it is available here: https://github.com/rapidminer/rapidminer-studio/blob/master/src/main/java/com/rapidminer/tools/math/ROCData.java (and in other classes of the math package).

    I hope this helps,
    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.