A regression tree is basically a decision tree that is used to predict continuous valued outputs. In decision trees for classification, the tree splits on the basis of entropy and information gain. However, since we are predicting the continuous variables, entropy cannot not be used instead mean square error is…