getHypers: Hyperparameter Retrieval Function

View source: R/helpers.R

getHypersR Documentation

Hyperparameter Retrieval Function

Description

getHypers() retrieves the names and values of all hyperparameters associated with an estimator passed to cvCovEst().

Usage

getHypers(dat, summ_stat, new_df = FALSE)

Arguments

dat

A data.frame of estimators and their hyperparameter values. Specifically, this is one of the outputs of summary.cvCovEst() or cvCovEst().

summ_stat

A character vector specifying the summary statistic of interest.

new_df

A logical indicating whether a new data.frame should be returned with columns for individual hyperparameters. Default is FALSE.

Value

A named list containing the names of all hyperparameters and their associated values, or a new wider data.frame.


cvCovEst documentation built on May 29, 2024, 5:51 a.m.