Question: Create a function that creates predictions for a new matrix of predictors newX based on the estimated regression tree.
Create a function that creates predictions for a new matrix of predictors newX based on the estimated regression tree.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
