verify.xgb.Booster {r2pmml}R 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.


[Package r2pmml version 0.28.0 Index]