当前位置:网站首页>Machine learning decision tree
Machine learning decision tree
2022-07-05 04:12:00 【Ssaty.】
The first 1 Turn off : What is a decision tree
The first 1 topic
The process of training decision tree is the process of building decision tree
ID3 The algorithm builds a decision tree based on information gain
C4.5 The algorithm builds a decision tree according to the information gain ratio
The decision tree model is highly understandable
The first 2 topic
The decision tree can be a multi branch tree . For example, there are three situations to choose from when buying watermelon : buy 、 Not buy 、 undetermined . At this time, the decision tree is not a binary tree .
The first 2 Turn off : Information entropy and information gain
Our mission : Grasp what is information gain , Complete the program design of calculating information gain .
import numpy as np
def getEnt(array):
Ent = 0
for i in range(2):
Dv = 0
边栏推荐
- Possible stack order of stack order with length n
- 【虚幻引擎UE】实现测绘三脚架展开动画制作
- Threejs rendering obj+mtl model source code, 3D factory model
- 【看完就懂系列】一文6000字教你从0到1实现接口自动化
- Wechat applet development process (with mind map)
- After the deployment of web resources, the navigator cannot obtain the solution of mediadevices instance (navigator.mediadevices is undefined)
- Phpmailer reported an error: SMTP error: failed to connect to server: (0)
- How to solve the problem that easycvr changes the recording storage path and does not generate recording files?
- BDF application - topology sequence
- @The problem of cross database query invalidation caused by transactional annotation
猜你喜欢
Network security - record web vulnerability fixes
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
Differences among 10 addressing modes
Why can't all browsers on my computer open web pages
Behavior perception system
Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?
Interview related high-frequency algorithm test site 3
kubernetes集群之调度系统
[wp]bmzclub writeup of several questions
“金九银十”是找工作的最佳时期吗?那倒未必
随机推荐
Study notes 7
10种寻址方式之间的区别
Open graph protocol
[Chongqing Guangdong education] 2408t Chinese contemporary literature reference test in autumn 2018 of the National Open University
ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
【虚幻引擎UE】实现背景模糊下近景旋转操作物体的方法及踩坑记录
MacBook installation postgresql+postgis
Seven join join queries of MySQL
A real day for Beijing programmers!!!!!
The order of LDS links
provide/inject
[PHP features - variable coverage] improper use, improper configuration and code logic vulnerability of the function
Bit operation skills
[array]566 Reshape the matrix - simple
CTF stegano practice stegano 9
Convert Boolean to integer value PHP - Convert Boolean to integer value PHP
测试开发是什么?为什么现在那么多公司都要招聘测试开发?
Rust blockchain development - signature encryption and private key public key
Plasticscm enterprise crack
Why can't all browsers on my computer open web pages