Skip to contents

These methods provide the default prediction and summary interface for the production hte3_model wrapper class.

Usage

# S3 method for class 'hte3_model'
predict(object, new_data = NULL, ...)

# S3 method for class 'hte3_model'
summary(object, ...)

Arguments

object

An object created by fit_cate() or fit_crr().

new_data

Optional prediction data. If omitted, predictions are returned on the training task.

...

Unused additional arguments.

Value

predict() returns model predictions. summary() returns a compact summary object with key training metadata, including wrapper-level cross-validation selection metadata when available, such as EP basis-size and EP targeting-style fields.