- 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
- JBoss Weld CDI for Java Platform
- Qt 5 and OpenCV 4 Computer Vision Projects
- Spring Boot+Spring Cloud+Vue+Element項(xiàng)目實(shí)戰(zhàn):手把手教你開發(fā)權(quán)限管理系統(tǒng)
- RTC程序設(shè)計(jì):實(shí)時(shí)音視頻權(quán)威指南
- The Computer Vision Workshop
- C語(yǔ)言程序設(shè)計(jì)實(shí)踐教程
- 深度強(qiáng)化學(xué)習(xí)算法與實(shí)踐:基于PyTorch的實(shí)現(xiàn)
- 用戶體驗(yàn)增長(zhǎng):數(shù)字化·智能化·綠色化
- 青少年學(xué)Python(第1冊(cè))
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- Clojure for Java Developers
- Java Web應(yīng)用開發(fā)項(xiàng)目教程
- R Data Science Essentials
- Python程序設(shè)計(jì)開發(fā)寶典
- Android Game Programming by Example