Closed loveyu3317 closed 2 months ago
And when I run :
learner$predict_type = 'prob'
it says :
Error in .__PipeOpThreshold__predict_type(self = self, private = private, :
$predict_type for PipeOpThreshold is read-only.
I have the same problem with you.How did you solve it?
The purpose of the thesholding PipeOp is specifically to turn "prob"
predictions into "response"
predictions. If you want to have "prob"
predictions, you should not use the thresholding PipeOp. However, there may be a reason to have both outputs so that one could use two measures, classif.auc
and classif.acc
, together? We should discuss this.
I want to tune threshold by classif.auc. But when I run the following codes, it cannot set predict_type = "prob".