1.1 - 8.10 - XGBoost Output - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Teradata Vantage
Release Number
October 2019
Content Type
Programming Reference
Publication ID
English (United States)

The function outputs a message and a model table.

Output Message Schema

Column Data Type Description
message VARCHAR Reports parameter values used to train model.

OutputTable Schema

The function saves this model table to output_table, whose default value is xgboost_model in the current schema.

The schema is the same for dense and sparse input.

Column Data Type Description
tree_id INTEGER Identifier of boosted tree.

Number of unique tree_id values depends on NumBoostedTrees syntax element value and number of vworkers.

iter INTEGER Iteration (boosting round) number.
class_num INTEGER Index of class column to predict.

For LossFunction ('softmax'), the default: Number of unique class_num values is number of class labels in data set.

For K class labels: class_num values are the integers in range [0, K-1].

For LossFunction('binomial'): There is only one class_num value.

tree CLOB JSON representation of decision tree. One row contains metadata about model.

For JSON types that can appear in tree representation, see DecisionForest Output.

region_prediction CLOB JSON representation of predicted values assigned to each region (leaf) of tree.