- TensorFlow Machine Learning Projects
- Ankit Jain Armando Fandango Amita Kapoor
- 228字
- 2021-06-10 19:15:32
What is a decision tree?
Decision trees are a family of non-parametric supervised learning methods. In the decision tree algorithm, we start with the complete dataset and split it into two partitions based on a simple rule. The splitting continues until a specified criterion is met. The nodes at which the split is made are called interior nodes and the final endpoints are called terminal or leaf nodes.
As an example, let us look at the following tree:
Here, we are assuming that the exoplanet data has only two properties: flux.1 and flux.2. First, we make a decision if flux.1 > 400 and then divide the data into two partitions. Then we divide the data again based on flux.2 feature, and that division decides whether the planet is an exoplanet or not. How did we decide that condition flux.1 > 400? We did not. This was just to demonstrate a decision tree. During the training phase, that's what the model learns – the parameters of conditions that divide the data into partitions.
For classification problems, the decision tree has leaf nodes that shows the result as the discrete classification of the data and for regression problems, the leaf nodes show the results as a predicted number. Decision trees, thus, are also popularly known as Classification and Regression Trees (CART).
- 亮劍.NET:.NET深入體驗(yàn)與實(shí)戰(zhàn)精要
- Mastering Proxmox(Third Edition)
- 計(jì)算機(jī)原理
- Mastering D3.js
- 數(shù)據(jù)掘金
- MATLAB/Simulink權(quán)威指南:開發(fā)環(huán)境、程序設(shè)計(jì)、系統(tǒng)仿真與案例實(shí)戰(zhàn)
- 單片機(jī)C語言程序設(shè)計(jì)完全自學(xué)手冊(cè)
- Visual FoxPro程序設(shè)計(jì)
- 基于神經(jīng)網(wǎng)絡(luò)的監(jiān)督和半監(jiān)督學(xué)習(xí)方法與遙感圖像智能解譯
- Excel 2010函數(shù)與公式速查手冊(cè)
- Salesforce Advanced Administrator Certification Guide
- 網(wǎng)絡(luò)服務(wù)器搭建與管理
- MPC5554/5553微處理器揭秘
- 貫通開源Web圖形與報(bào)表技術(shù)全集
- Machine Learning with Spark(Second Edition)