generate_reg_metrics: Generates bootstrap replicates of y and y_hat and calculates...

Description Usage Arguments Value

View source: R/helpers.r

Description

Generates bootstrap replicates of y and y_hat and calculates error metrics on the replicates. Metrics are focused on common regression tasks.

Usage

1
generate_reg_metrics(y, y_hat, n = 10000)

Arguments

y

True values.

y_hat

Predicted values.

n

Indicates the number of boostrap replicates.

Value

data.frame with error metrics.


prescient/modelpipe documentation built on Dec. 25, 2019, 3:20 a.m.