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

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
主站蜘蛛池模板: 修文县| 孝义市| 枝江市| 介休市| 南投县| 莒南县| 昌黎县| 兴化市| 措美县| 两当县| 临沭县| 清镇市| 宣化县| 荃湾区| 五大连池市| 岳普湖县| 武陟县| 安阳市| 巴里| 久治县| 龙陵县| 襄樊市| 嵩明县| 南阳市| 巴马| 平安县| 塔河县| 龙山县| 武定县| 永和县| 天长市| 蒙城县| 祁东县| 康乐县| 罗平县| 新源县| 呼伦贝尔市| 河北省| 汶上县| 建德市| 九寨沟县|