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

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.

主站蜘蛛池模板: 建阳市| 贡觉县| 历史| 马尔康县| 诸城市| 永登县| 吴江市| 车致| 聊城市| 固原市| 安阳市| 托克逊县| 青川县| 永平县| 子长县| 工布江达县| 武安市| 南昌县| 安乡县| 九龙坡区| 砚山县| 施秉县| 惠州市| 固始县| 凤冈县| 新兴县| 唐河县| 孝感市| 荔浦县| 东阿县| 年辖:市辖区| 布尔津县| 聂拉木县| 长宁县| 高淳县| 科技| 黄冈市| 东辽县| 昆明市| 黑龙江省| 沾益县|