当前位置:网站首页>Using information entropy to construct decision tree
Using information entropy to construct decision tree
2022-07-26 15:39:00 【Vernacular machine learning】
today , Let's continue to share the relevant content of the decision tree . Through the last article , We know that the basic principle of decision tree is based on the tree structure , From top to bottom , adopt if/else The process of finding a decision path and finally obtaining the decision result .
The core part of the decision tree algorithm is How to choose an appropriate feature attribute to divide , So as to gradually construct our tree structure .
The quantitative evaluation criteria are different according to our selection of features , There are many different construction algorithms for decision trees , In the last article, we introduced the use of Gini( The gini coefficient ) Construct a decision tree as a splitting criterion , We call this decision tree algorithm CART Algorithm .
today , We From the perspective of information gain, we will further explore other algorithms for constructing decision trees . at present , The commonly used decision tree construction algorithm is as follows :

First , Before specific discussion , Let's first understand some basic concepts :
What is information entropy ?
The concept of information entropy was introduced by Claude · Shannon in 1948 in . Information is a very abstract concept , Suppose we take an article as an example , The amount of information in an article does not entirely depend on the number of words in the article , Sometimes even a small amount of content can contain a large amount of information . Information entropy is proposed to solve the problem of quantitative evaluation of information .
Information entropy H(X) The calculation formula of is as follows :

边栏推荐
- QCF for deep packet inspection paper summary
- Can't you see the withdrawal? Three steps to prevent withdrawal on wechat.
- FOC learning notes - coordinate transformation and simulation verification
- No module named ‘win32gui‘
- Unity URP entry practice
- 数据中台、BI业务访谈(四)—— 十个问题看本质
- Familiarize you with the "phone book" of cloud network: DNS
- The R language uses the histogram function in the lattice package to visualize the histogram (histogram plot), the col parameter to customize the fill color, and the type parameter to customize the hi
- Data warehouse: Data Modeling and log system in data warehouse construction
- FOC motor control foundation
猜你喜欢
![[leetcode daily question] - 268. Missing numbers](/img/96/dcf18522257dea7cb7e52f5bb7ced3.png)
[leetcode daily question] - 268. Missing numbers

What is the transport layer protocol tcp/udp???

University rankings in Beijing

FOC学习笔记-坐标变换以及仿真验证

anaconda No module named ‘cv2‘

C # set different text watermarks for each page of word
![[expdp export data] expdp exports a table with 23 rows of records and no lob field. It takes 48 minutes. Please help us have a look](/img/ee/7bec8211dddc90e52c2bc0f56c8dd4.png)
[expdp export data] expdp exports a table with 23 rows of records and no lob field. It takes 48 minutes. Please help us have a look

白话详解决策树模型之使用信息熵构建决策树

关于我写的IDEA插件能一键生成service,mapper....这件事(附源码)

Practical purchasing skills, purchasing methods of five bottleneck materials
随机推荐
81.(cesium之家)cesium修改灰色背景(默认蓝色)
教程篇(7.0) 05. 通过FortiClient EMS发放FortiClient * FortiClient EMS * Fortinet 网络安全专家 NSE 5
Promise, async await and the solution of cross domain problems -- the principle of proxy server
Using two stacks to implement a queue
Can't you see the withdrawal? Three steps to prevent withdrawal on wechat.
2023 catering industry exhibition, China catering supply chain exhibition and Jiangxi catering Ingredients Exhibition were held in February
[leave some code] Apply transformer to target detection, and understand the model operation process of the model through debug
Zhaoqi science and technology innovation high-end talent project was introduced and implemented, mass entrepreneurship and innovation competition was organized, and online live roadshow was broadcast
【静态代码质量分析工具】上海道宁为您带来SonarSource/SonarQube下载、试用、教程
Within a week, I developed my own knowledge sharing platform
VP视频结构化框架
Pytorch--- advanced chapter (function usage skills / precautions)
Complete MySQL commands
[leetcode] 33. Search rotation sort array
VS添加作者信息和时间信息的设置
Continuous integration (II) introduction to the basic use of Jenkins
R language uses LM function to build a multiple regression model with interactive terms, and uses step function to build a stepwise regression model to screen the best subset of predictive variables (
Use of oscilloscope
The civil construction of the whole line of Guangzhou Metro Line 13 phase II has been completed by 53%, and it is expected to open next year
Sword finger offer II 009. subarray with product less than k