Package: metrica 2.1.0
metrica: Prediction Performance Metrics
A compilation of more than 80 functions designed to quantitatively and visually evaluate prediction performance of regression (continuous variables) and classification (categorical variables) of point-forecast models (e.g. APSIM, DSSAT, DNDC, supervised Machine Learning). For regression, it includes functions to generate plots (scatter, tiles, density, & Bland-Altman plot), and to estimate error metrics (e.g. MBE, MAE, RMSE), error decomposition (e.g. lack of accuracy-precision), model efficiency (e.g. NSE, E1, KGE), indices of agreement (e.g. d, RAC), goodness of fit (e.g. r, R2), adjusted correlation coefficients (e.g. CCC, dcorr), symmetric regression coefficients (intercept, slope), and mean absolute scaled error (MASE) for time series predictions. For classification (binomial and multinomial), it offers functions to generate and plot confusion matrices, and to estimate performance metrics such as accuracy, precision, recall, specificity, F-score, Cohen's Kappa, G-mean, and many more. For more details visit the vignettes <https://adriancorrendo.github.io/metrica/>.
Authors:
metrica_2.1.0.tar.gz
metrica_2.1.0.zip(r-4.5)metrica_2.1.0.zip(r-4.4)metrica_2.1.0.zip(r-4.3)
metrica_2.1.0.tgz(r-4.4-any)metrica_2.1.0.tgz(r-4.3-any)
metrica_2.1.0.tar.gz(r-4.5-noble)metrica_2.1.0.tar.gz(r-4.4-noble)
metrica_2.1.0.tgz(r-4.4-emscripten)metrica_2.1.0.tgz(r-4.3-emscripten)
metrica.pdf |metrica.html✨
metrica/json (API)
NEWS
# Install 'metrica' in R: |
install.packages('metrica', repos = c('https://adriancorrendo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/adriancorrendo/metrica/issues
- barley - Barley grain number
- chickpea - Chickpea dry mass
- land_cover - Binary Land Cover Data
- maize_phenology - Multi Class Phenology
- sorghum - Sorghum grain number
- wheat - Wheat grain nitrogen
Last updated 5 months agofrom:f01f1cf588. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 28 2024 |
R-4.5-win | OK | Oct 28 2024 |
R-4.5-linux | OK | Oct 28 2024 |
R-4.4-win | OK | Oct 28 2024 |
R-4.4-mac | OK | Oct 28 2024 |
R-4.3-win | OK | Oct 28 2024 |
R-4.3-mac | OK | Oct 28 2024 |
Exports:ACaccuracyagfAUC_rocB0_smaB1_smabalaccbland_altman_plotbmiCCCconfusion_matrixcsidd1d1rdcorrdeltapdensity_plotdorE1Erelerror_rateFDRfmiFNRFORFPRfscoregmeanhitrateimport_apsim_dbimport_apsim_outiqRMSEjaccardindexjindexKGEkhatlambdaLCSMAEMAPEMASEMBEmccmetrics_summaryMICmkMLAMLPMSEnegLrnpvNSEp4PABPBEphi_coefPLAPLPposLrPPBppvprecisionprevalpreval_trR2RACRAErecallRMAERMLARMLPRMSERRMSERSERSRRSSSBscatter_plotSDSDselectivitysensitivitySMAPEspecificitytiles_plotTNRTPRTSSUbUcUeuSDvar_uXa
Dependencies:bitbit64blobbootcachemclicolorspacecpp11DBIdplyrenergyfansifarverfastmapgenericsggplot2ggppgluegridExtragslgtableisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvminervamunsellnlmepillarpkgconfigplogrpolynompurrrR6RColorBrewerRcppRcppArmadillorlangRSQLitescalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrxtszoo
Importing APSIM Classic and NewGeneration files
Rendered fromapsim_open.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-03-24
Started: 2022-07-03
Cheatsheet
Rendered fromCheatsheet.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-06-30
Started: 2023-03-13
Classification case: Assessing the performance of remote sensing models
Rendered fromclassification_case.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-03-24
Started: 2022-06-22
Classification performance metrics and indices
Rendered fromavailable_metrics_classification.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-06-30
Started: 2022-07-03
JOSS publication
Rendered fromJOSS_publication.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-03-24
Started: 2023-03-13
Regression case: Assessing model agreement in wheat grain nitrogen content prediction
Rendered fromregression_case.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-06-30
Started: 2022-06-22
Regression performance metrics and indices
Rendered fromavailable_metrics_regression.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-03-24
Started: 2022-07-03
Shinyapp
Rendered fromShinyapp.Rmd
usingknitr::rmarkdown
on Oct 28 2024.Last update: 2024-03-24
Started: 2023-03-13