Predict Function for Deeptree
# S3 method for deeptree predict(object, newData, treeLeaves = NA, stackPred = NA, ...)
object | deeptree model object |
---|---|
newData | pass dataframe for prediction |
treeLeaves | Pass vector with tree leaves if fit outside deeptree. default NA. |
stackPred | Pass stackPred of prediction data if it was passed in deeptree |
... | further arguments passed to or from other methods. |
returns predictions vector or dataframe