ncsu-landscape-dynamics / rpops

PoPS (Pest or Pathogen Spread) R Package
https://ncsu-landscape-dynamics.github.io/rpops/
GNU General Public License v3.0
10 stars 5 forks source link

Auto select thresholds #130

Closed ChrisJones687 closed 2 years ago

ChrisJones687 commented 2 years ago

update calibration to select thresholds that are a reasonable starting place for the first generation. Also updates the calibration to use accuracy, precision, recall, specificity, RMSE, and/or distance.

codecov[bot] commented 2 years ago

Codecov Report

Merging #130 (ba82495) into main (8219f65) will decrease coverage by 1.35%. The diff coverage is 76.63%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #130      +/-   ##
==========================================
- Coverage   81.42%   80.07%   -1.36%     
==========================================
  Files          82       40      -42     
  Lines        5740     5244     -496     
==========================================
- Hits         4674     4199     -475     
+ Misses       1066     1045      -21     
Impacted Files Coverage Δ
R/checks.R 88.68% <ø> (-0.05%) :arrow_down:
R/configuration.R 85.48% <ø> (+0.05%) :arrow_up:
R/pops_multirun.R 89.87% <ø> (ø)
R/validate.R 86.99% <50.00%> (+0.11%) :arrow_up:
R/quantity_allocation_disagreement.R 75.30% <52.77%> (-18.09%) :arrow_down:
R/calibrate.R 87.97% <81.34%> (-4.75%) :arrow_down:
R/helpers.R 86.97% <100.00%> (+2.81%) :arrow_up:
...in17.0/Rcpp/include/Rcpp/storage/PreserveStorage.h
... and 42 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8219f65...ba82495. Read the comment docs.