JuliaTrustworthyAI / ConformalPrediction.jl

Predictive Uncertainty Quantification through Conformal Prediction for Machine Learning models trained in MLJ.
https://juliatrustworthyai.github.io/ConformalPrediction.jl/
MIT License
135 stars 12 forks source link

adding a warning for the case of big shift size #94

Closed MojiFarmanbar closed 10 months ago

MojiFarmanbar commented 11 months ago

@pat-alt , I have used @warn to throw a warning to the user. could you please check if using warning macro is the right way?

codecov-commenter commented 11 months ago

Codecov Report

Merging #94 (d39c906) into main (3d8dad4) will decrease coverage by 0.55%. The diff coverage is 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   71.99%   71.44%   -0.55%     
==========================================
  Files          20       20              
  Lines         757      760       +3     
==========================================
- Hits          545      543       -2     
- Misses        212      217       +5     
Files Coverage Δ
src/conformal_models/transductive_regression.jl 96.58% <0.00%> (-0.91%) :arrow_down:

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

MojiFarmanbar commented 10 months ago

I have updated "how to guide" as well. whenever you have time, please check qmd file pls. for some reasons I couldn't test it properly.

pat-alt commented 10 months ago

Hey mate, thanks for this! I have rerendered this now and will merge after tests pass (ignoring nightly).