Feature: add enhanced treatment of sample as a protected column#261
Feature: add enhanced treatment of sample as a protected column#261nikosbosse merged 5 commits intomasterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #261 +/- ##
==========================================
+ Coverage 91.36% 91.39% +0.03%
==========================================
Files 21 21
Lines 1366 1371 +5
==========================================
+ Hits 1248 1253 +5
Misses 118 118
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Nice thanks a lot! So essentially this internally checks whether the prediction type is quantile, and if it is then it removes "sample" from the list of protected columns, right? What do you think about the additional (alternative?) feature that it would give a message / warning when you run |
Yes exactly
I am not sure why you would want to do that? Unless it offers safety elsewhere in your code it seems overly restrictive. I'm totally open to either so can either merge this in or close out and flag the desired implementation in the original issue. |
e1f66d5 to
f75e180
Compare
|
Merci! |
This PR adds support for scoring quantile forecasts that have a sample column. It closes #242. Whilst I've added some testing to protect against issues it may be the case that the "protected" column assumptions are baked into places I have missed and so this is still dangerous.
See the following example for the new functionality:
Created on 2023-01-12 with reprex v2.0.2