verify.xgb.Booster: Enhances an "xgb.Booster" object with verification data.

View source: R/verification.R

verify.xgb.BoosterR Documentation

Enhances an "xgb.Booster" object with verification data.

Description

Enhances an "xgb.Booster" object with verification data.

Usage

## S3 method for class 'xgb.Booster'
verify(
  x,
  newdata,
  precision = 1e-06,
  zeroThreshold = 1e-06,
  response_name = NULL,
  response_levels = c(),
  ...
)

Arguments

x

An "xgb.Booster" object.

newdata

The verification dataset.

precision

Maximal relative error.

zeroThreshold

Maximal absolute error near the zero value.

response_name

The name of the target field.

response_levels

A list of category values for a categorical target field.

...

Arguments to pass on to the "predict.xgb.Booster" method.


r2pmml documentation built on April 6, 2023, 1:12 a.m.