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

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
主站蜘蛛池模板: 翼城县| 平潭县| 屯昌县| 凉城县| 湄潭县| 延吉市| 泗洪县| 阿城市| 酉阳| 那坡县| 确山县| 鲜城| 屯昌县| 沧州市| 梁平县| 汤原县| 湖南省| 外汇| 罗定市| 介休市| 富源县| 玉龙| 鹤岗市| 遂溪县| 景泰县| 陈巴尔虎旗| 辽宁省| 乐昌市| 南投县| 乡宁县| 皮山县| 禄劝| 子长县| 汉阴县| 会理县| 恩平市| 鱼台县| 焦作市| 吉安县| 濮阳市| 柳河县|