- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Tarek Amr
- 197字
- 2021-06-18 18:24:29
Making Decisions with Trees
In this chapter, we are going to start by looking at our first supervised learning algorithm—decision trees. The decision tree algorithm is versatile and easy to understand. It is widely used and also serves as a building block for the numerous advanced algorithms that we will encounter later on in this book. In this chapter, we will learn how to train a decision tree and use it for either classification or regression problems. We will also understand the details of its learning process in order to know how to set its different hyperparameters. Furthermore, we will use a real-world dataset to apply what we are going to learn here in practice. We will start by getting and preparing the data and apply our algorithm to it. Along the way, we will also try to understand key machine learning concepts, such as cross-validation and model evaluation metrics. By the end of this chapter, you will have a very good understanding of the following topics:
- Understanding decision trees
- How do decision trees learn?
- Getting a more reliable score
- Tuning the hyperparameters for higher accuracy
- Visualizing the tree's decision boundaries
- Building decision tree regressors
- Mastering AWS Lambda
- Mastering JavaScript Object-Oriented Programming
- 區(qū)塊鏈架構(gòu)與實現(xiàn):Cosmos詳解
- FFmpeg入門詳解:音視頻流媒體播放器原理及應(yīng)用
- 匯編語言程序設(shè)計(第2版)
- Apache Karaf Cookbook
- 軟件項目管理實用教程
- RISC-V體系結(jié)構(gòu)編程與實踐(第2版)
- Working with Odoo
- C語言程序設(shè)計
- C/C++程序員面試指南
- AIRIOT物聯(lián)網(wǎng)平臺開發(fā)框架應(yīng)用與實戰(zhàn)
- 匯編語言編程基礎(chǔ):基于LoongArch
- Unity Character Animation with Mecanim
- Hadoop 2.X HDFS源碼剖析