Skip to contents

Prediction function for fitted function F() in single factor.

Usage

predictFXSF(tree_list, newdata, learning_rate)

Arguments

tree_list

A fitted function represented by a list of trees.

newdata

Data frame containing the values at which predictions are required.

learning_rate

Numeric. The learning rate in the gradient boosting part.

Value

A vector containing predicted F(X). Each entry corresponds to a new sample.