Here I’m writing the simplest form of the concept so that anyone can quickly get the idea. If you want a serious post, read paper or other blog article. This isn’t for you.
Conformal prediction outputs range for regression and multiple lables for classifications. Its purpose is to have output contains the correct answer for of time where is called significance level.
Let’s use regression example and a score function of . For all the data points, calculate scores: . And then calculate the quantile, e.g., sort the scores in ascending order and find the 90%th score if .
Now, we know how we can come up with a prediction range that would contain the answer for the 90% of time: .