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>.
Runtime for Regenerator-compiled generator and async functions.
Rcmdr Plugin for the FactoMineR
package.
Shorthand macros to assist creating Decimal types.
Runtime for Regenerator-compiled generator and async functions.
Runtime for Regenerator-compiled generator and async functions.
Test suite of the ref-cast crate.
This package provides a sys crate for the rust_hawktracer library.
This package provides coverage rasterization for lines, quadratic and cubic beziers.
This package provides additional test assertions for Ruby standard libraries.
This package provides a crate that allows reading memory from another process.
This package provides a C API library for the rustc-demangle
crate.
rustls-native-certs
allows rustls to use the platform native certificate store.
rustls-native-certs
allows rustls to use the platform native certificate store.
rustls-native-certs
allows rustls to use the platform native certificate store.
rustls-native-certs
allows rustls to use the platform native certificate store.
EmailReplyTrimmer is a Ruby small library to trim replies from plain text email.
This package provides a collection of RuboCop cops to check for performance optimizations in Ruby code.
This package provides a collection of RuboCop cops to check for performance optimizations in Ruby code.
This package provides a compile time rule parser for the pay-respects
CLI tool.
todo
This package provides a plugin for the RuboCop
code style enforcing & linting tool for factory_bot
files.
Optimized record access
Optimized record access