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
[SOLVED] Set (or Optimize) Class Recall for a Classification Model
jaysunice3401
Member Posts: 6 Contributor II
Is it possible to "set" the class recall for a given classification model's class and have RapidMiner yield the model and parameters? For example, a Decision Tree with two output labels: Y and N. I would like the N class's recall to be at least 80%. I'm thinking there has to be a way to do this? Perhaps some type of loop with the MetaCost operator? Something better?
An ideal situation - optimize the tree's parameters given the critereia of having the N class's recall at least 80%. Yes, I realize increasing N's recall will result in lost recall of Y.
Any help or guidance is greatly appreciated.
Jason
An ideal situation - optimize the tree's parameters given the critereia of having the N class's recall at least 80%. Yes, I realize increasing N's recall will result in lost recall of Y.
Any help or guidance is greatly appreciated.
Jason
Tagged:
0
Answers
the Select Recall operator is your friend
When you apply a classification model, additionally to the hard, binary classification (true/false), it generates so called confidences, i.e. how "sure" is the model that an example is actually from the predicted class. Usually, when the confidence is higher than 50%, the model predicts the respective class. By changing that threshold, you can influence the recall of the model.
The Select Recall operator must be applied on the classified example set (i.e. after Apply Model). It generates a threshold, which must then be applied to the example set with Apply Threshold. The process below depicts the general approach.
Best regards,
Marius