Also related to #969 and #970 is an [analytical step to debias any resampling estimate](https://scholar.google.com/scholar?hl=en&as_sdt=0%2C7&q=A+bias+correction+for+the+minimum+error+rate+in+cross+validation&as_ylo=2009&as_yhi=2009&btnG=). Prototype code is in the [`nested`](https://github.com/tidymodels/tune/blob/nested/R/debias_estimate.R) branch.