mode_keys: Canonical Mode Keys

View source: R/estimator_keys.R

mode_keysR Documentation

Canonical Mode Keys

Description

The names for different possible modes for an estimator. The following standard keys are defined:

Usage

mode_keys()

Details

TRAIN Training mode.
EVAL Evaluation mode.
PREDICT Prediction / inference mode.

See Also

Other estimator keys: metric_keys(), prediction_keys()

Examples

## Not run: 
modes <- mode_keys()
modes$TRAIN

## End(Not run)


tfestimators documentation built on Aug. 19, 2025, 1:15 a.m.