class_metric_vec_constructor: Helper function for constructing 'metric_vec' methods for...

View source: R/evaluator-lib-utils.R

class_metric_vec_constructorR Documentation

Helper function for constructing metric_vec methods for custom yardstick metrics.

Description

Helper function for constructing metric_vec methods for custom yardstick metrics.

Usage

class_metric_vec_constructor(
  name,
  fun,
  truth,
  estimate,
  estimator,
  na_rm,
  case_weights,
  event_level,
  ...
)

Yu-Group/simChef documentation built on March 25, 2024, 3:22 a.m.