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

Summary

In this chapter, you learned both the power of tree-based learning methods for classification problems. Single trees, while easy to build and interpret, may not have the necessary predictive power for many of the problems that we're trying to solve. To improve on the predictive ability, we have the tools of random forest and gradient-boosted trees at our disposal. With random forest, hundreds or even thousands of trees are built and the results aggregated for an overall prediction. Each tree of the random forest is built using a sample of the data called bootstrapping as well as a sample of the predictive variables. As for gradient boosting, an initial, and a relatively small, tree is produced. After this initial tree is built, subsequent trees are produced based on the residuals/misclassifications. The intended result of such a technique is to build a series of trees that can improve on the weakness of the prior tree in the process, resulting in decreased bias and variance. We also saw that, in R, we can utilize random forests as an effective feature selection/reduction method.

While these methods are extremely powerful, they aren't some sort of nostrum in the world of machine learning. Different datasets require judgment on the part of the analyst as to which techniques are applicable. The techniques to be applied to the analysis, and the selection of the tuning parameters is equally important. This fine tuning can make all of the difference between a good predictive model and a great predictive model.

In the next chapter, we'll turn our attention to using R to build neural networks and deep learning models.

主站蜘蛛池模板: 龙口市| 宣城市| 博爱县| 灵武市| 海丰县| 额尔古纳市| 隆子县| 樟树市| 广安市| 旺苍县| 英吉沙县| 瓦房店市| 芦溪县| 揭阳市| 合川市| 宝鸡市| 清水县| 宜阳县| 河津市| 九龙城区| 武义县| 东乌珠穆沁旗| 安远县| 远安县| 金门县| 饶河县| 保德县| 镇坪县| 仁怀市| 清远市| 庆元县| 台湾省| 沂水县| 宜黄县| 昌黎县| 彝良县| 嫩江县| 京山县| 恭城| 大埔区| 同江市|