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

Added Mathews Correlation Coefficient as a calibration statistic to use. #145

Closed ChrisJones687 closed 2 years ago

ChrisJones687 commented 2 years ago

Calibration works the same except that mathews correlation coefficient is selectable as another stat compared to the previous (precision, accuracy, specificity, and sensitivity).

codecov[bot] commented 2 years ago

Codecov Report

Merging #145 (bc8e146) into main (825fbf4) will decrease coverage by 1.15%. The diff coverage is 63.26%.

:exclamation: Current head bc8e146 differs from pull request most recent head aca809e. Consider uploading reports for the commit aca809e to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   82.22%   81.06%   -1.16%     
==========================================
  Files          46       47       +1     
  Lines        5384     5124     -260     
==========================================
- Hits         4427     4154     -273     
- Misses        957      970      +13     
Impacted Files Coverage Δ
R/calibrate.R 85.80% <62.50%> (-2.52%) :arrow_down:
R/quantity_allocation_disagreement.R 87.73% <100.00%> (ø)
inst/include/radial_kernel.hpp 64.00% <0.00%> (-22.57%) :arrow_down:
inst/include/switch_kernel.hpp 66.66% <0.00%> (-11.12%) :arrow_down:
inst/include/config.hpp 79.74% <0.00%> (-7.66%) :arrow_down:
inst/include/utils.hpp 77.77% <0.00%> (-7.64%) :arrow_down:
inst/include/uniform_kernel.hpp 63.63% <0.00%> (-5.60%) :arrow_down:
inst/include/deterministic_kernel.hpp 76.84% <0.00%> (-5.21%) :arrow_down:
inst/include/lognormal_kernel.hpp 47.61% <0.00%> (-4.56%) :arrow_down:
inst/include/treatments.hpp 86.46% <0.00%> (-4.02%) :arrow_down:
... and 25 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 825fbf4...aca809e. Read the comment docs.