luz_metric_set: Creates a metric set

View source: R/metrics.R

luz_metric_setR Documentation

Creates a metric set

Description

A metric set can be used to specify metrics that are only evaluated during training, validation or both.

Usage

luz_metric_set(metrics = NULL, train_metrics = NULL, valid_metrics = NULL)

Arguments

metrics

A list of luz_metrics that are meant to be used in both training and validation.

train_metrics

A list of luz_metrics that are only used during training.

valid_metrics

A list of luz_metrics that are only sued for validation.


mlverse/luz documentation built on Sept. 19, 2024, 11:20 p.m.