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] 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