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

Predicting Sports Winners with Decision Trees

In this chapter, we will look at predicting the winner of sports matches using a different type of classification algorithm to the ones we have seen so far: decision trees. These algorithms have a number of advantages over other algorithms. One of the main advantages is that they are readable by humans, allowing for their use in human-driven decision making. In this way, decision trees can be used to learn a procedure, which could then be given to a human to perform if needed. Another advantage is that they work with a variety of features, including categorical, which we will see in this chapter.

We will cover the following topics in this chapter:

  • Using the pandas library for loading and manipulating data
  • Decision trees for classification
  • Random forests to improve upon decision trees
  • Using real-world datasets in data mining
  • Creating new features and testing them in a robust framework
主站蜘蛛池模板: 邢台县| 微山县| 瑞金市| 宿迁市| 北流市| 扎鲁特旗| 定襄县| 七台河市| 榆中县| 曲水县| 南宁市| 江阴市| 遵义县| 商水县| 娄烦县| 吕梁市| 青铜峡市| 苍梧县| 青海省| 达拉特旗| 洞头县| 新干县| 紫金县| 东兰县| 凤庆县| 贵阳市| 扶沟县| 五台县| 山东省| 孙吴县| 刚察县| 屯门区| 桃园市| 三亚市| 手游| 安塞县| 梁山县| 玉门市| 安义县| 额敏县| 赤峰市|