The random forest regressor

The random forest regressor takes the decision tree regressor as the base estimator, and makes predictions in a method similar to that of the random forest classifier, as illustrated by the following diagram:

Making the final prediction in the random forest regressor

The only difference between the random forest classifier and the random forest regressor is the fact that, in the case of the latter, the base estimator is a decision tree regressor.

Get Machine Learning with scikit-learn Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.