The DecisionForest function uses a training data set to create a predictive model. You can input the model to the Forest_Predict function, which uses it to make predictions.
The ML Engine provides a tree_size_estimator function that you can use to estimate maximum values for the arguments TreeSize and NumTrees, based on the cluster configuration and the number of predictor variables. This is the syntax of the tree_size_estimator function:
SELECT * FROM tree_size_estimator (ON inputtable NumericInputs ('predictor' [,…]));
The query results includes a row_count column. The average value of this column is the recommended maximum value for the argument NumTrees.