Package: CompareMultipleModels 0.1.0

CompareMultipleModels: Finding the Best Model Using Eight Metrics Values

In statistical modeling, multiple models need to be compared based on certain criteria. The method described here uses eight metrics from 'AllMetrics' package. ‘input_df’ is the data frame (at least two columns for comparison) containing metrics values in different rows of a column (which denotes a particular model’s performance). First five metrics are expected to be minimum and last three metrics are expected to be maximum for a model to be considered good. Firstly, every metric value (among first five) is searched in every columns and minimum values are denoted as ‘MIN’ and other values are denoted as ‘NA’. Secondly, every metric (among last three) is searched in every columns and maximum values are denoted as ‘MAX’ and other values are denoted as ‘NA’. ‘output_df’ contains the similar number of rows (which is 8) and columns (which is number of models to be compared) as of ‘input_df’. Values in ‘output_df’ are corresponding ‘NA’, ‘MIN’ or ‘MAX’. Finally, the column containing minimum number of ‘NA’ values is denoted as the best column. ‘min_NA_col’ gives the name of the best column (model). ‘min_NA_values’ are the corresponding metrics values. ‘BestColumn_metrics’ is the data frame (dimension: 1*8) containing different metrics of the best column (model). ‘best_column_results’ is the final result (a list) containing all of these output elements. In special case, if two columns having equal 'NA', it will be checked among these two column which one is having least 'NA' in first five rows and will be inferred as the best. More details about 'AllMetrics' can be found in Garai (2023) <doi:10.13140/RG.2.2.18688.30723>.

Authors:Mr. Sandip Garai [aut, cre]

CompareMultipleModels_0.1.0.tar.gz
CompareMultipleModels_0.1.0.zip(r-4.5)CompareMultipleModels_0.1.0.zip(r-4.4)CompareMultipleModels_0.1.0.zip(r-4.3)
CompareMultipleModels_0.1.0.tgz(r-4.4-any)CompareMultipleModels_0.1.0.tgz(r-4.3-any)
CompareMultipleModels_0.1.0.tar.gz(r-4.5-noble)CompareMultipleModels_0.1.0.tar.gz(r-4.4-noble)
CompareMultipleModels_0.1.0.tgz(r-4.4-emscripten)CompareMultipleModels_0.1.0.tgz(r-4.3-emscripten)
CompareMultipleModels.pdf |CompareMultipleModels.html
CompareMultipleModels/json (API)

# Install 'CompareMultipleModels' in R:
install.packages('CompareMultipleModels', repos = c('https://sandipgarai.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 147 downloads 1 exports 112 dependencies

Last updated 2 years agofrom:f971f314dc. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:best_model_finder

Dependencies:aTSAcaretCEEMDANMLclasscliclockcodetoolscolorspacecpp11curlcvardata.tableDerivdiagramdigestdplyre1071earthfansifarverfastICAfBasicsfGarchFinTSforeachforecastFormulafracdifffuturefuture.applygbutilsgenericsggplot2globalsgluegowergssgtablehardhatipredisobanditeratorsjsonliteKernSmoothlabelinglatticelavalifecyclelistenvlmtestLSTSlubridatemagrittrMASSMatrixmgcvModelMetricsmunsellneuralnetnlmennetnumDerivparallellypatchworkpillarpkgconfigplotmoplotrixplyrpROCprodlimprogressrproxypsopurrrquadprogquantmodR6rbibutilsRColorBrewerRcppRcppArmadilloRdpackrecipesreshape2rlangRlibeemdrpartscalesshapespatialSQUAREMstablediststringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetimeSeriestseriesTTRtzdburcautf8vctrsviridisLitewithrxtszoo