+5 votes
in Programming Languages by (59.4k points)
I want to perform an isotonic regression calibration of posterior probabilities of records. Is there any R package/function for it?

1 Answer

+1 vote
by (353k points)
selected by
 
Best answer

probability.calibration() function of rfUtilities package can be used to perform an isotonic regression calibration of posterior probabilities.

If rfUtilities is not installed, you can install it before running the function.

library(rfUtilities)

p_calibrated = probability.calibration(y, p, regularization = FALSE)

where y = vector of actual labels

and p = vector of posterior probabilities from the model

Related questions

+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer
+1 vote
1 answer

...