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
Should I see a decision tree in the ROC chart with default threshold of 0.5?
I'm running the "Hotel App Performance Measurement Solution" process from TrainingResources. I thought I understood the ROC concept but now I am confused about that specific example. From the confusion matrix (pasted at the bottom below) I think the FPR is 6% and the TPR is 33%, which I find on the ROC (black lines crossing at (6%; 33%). But then I thought that RapidMiners binary classification threshold is 0.5, and the ROC point corresponding to a threshold of 0.5 is more around (10%; 43%), as indicated by the green lines below.
Does this mean 0.5 is not the classification threshold used in this example? Or am I missing something else?
Any hint is greatly appreciated!
Thank you!
Holger.
Does this mean 0.5 is not the classification threshold used in this example? Or am I missing something else?
Any hint is greatly appreciated!
Thank you!
Holger.
1
Answers
The ROC is not looking at the "one" threshold of 50 % at all, just at the confidences. The steps in the confidences are the steps in the chart.
At each confidence level the false and true positive rate is calculated.
Try a k-NN with a few neighbors (e. g. 3) and without distance weighting. This restricts the possible thresholds to only a few values. It is easier to calculate the values in the chart that way.
Regards,
Balázs