官术网_书友最值得收藏!

Random forests model

Random forests is another ensemble learning model. Here, we get all the ensemble learning objects from the ensemble submodule in scikit-learn. For example, here, we use the RandomForestRegressor method. The following screenshot, shows the algorithm used for this model:

So, in a case where we produce a forest of 50 individual predictors, this algorithm will produce 50 individual trees. Each tree will have max_depth of 16, which will then produce the individual predictions again by majority vote.

主站蜘蛛池模板: 青铜峡市| 平昌县| 县级市| 五常市| 祁东县| 潜江市| 日喀则市| 满城县| 安义县| 高碑店市| 壤塘县| 禄丰县| 宁河县| 桓仁| 郁南县| 上犹县| 泽州县| 九龙县| 兴海县| 玉环县| 河津市| 珠海市| 东光县| 睢宁县| 三亚市| 丁青县| 皮山县| 卢氏县| 隆子县| 青河县| 行唐县| 肃宁县| 芮城县| 巴马| 罗甸县| 拉萨市| 新竹市| 白水县| 定结县| 天台县| 沿河|