当前位置:网站首页>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
边栏推荐
- Fuel consumption calculator
- A real day for Beijing programmers!!!!!
- ClickPaaS低代码平台
- The development of mobile IM based on TCP still needs to keep the heartbeat alive
- FFmepg使用指南
- After the deployment of web resources, the navigator cannot obtain the solution of mediadevices instance (navigator.mediadevices is undefined)
- 如何实现实时音视频聊天功能
- Threejs implements labels and displays labels with custom styles
- 【虚幻引擎UE】运行和启动的区别,常见问题分析
- Ctfshow web entry code audit
猜你喜欢
Interview summary: This is a comprehensive & detailed Android interview guide
Use Firefox browser to quickly pick up Web image materials
【虛幻引擎UE】實現UE5像素流部署僅需六步操作少走彎路!(4.26和4.27原理類似)
C语言课设:影院售票管理系统
【thingsboard】替换首页logo的方法
[phantom engine UE] only six steps are needed to realize the deployment of ue5 pixel stream and avoid detours! (the principles of 4.26 and 4.27 are similar)
MacBook installation postgresql+postgis
Resolved (sqlalchemy+pandas.read_sql) attributeerror: 'engine' object has no attribute 'execution_ options‘
Threejs implements labels and displays labels with custom styles
Uni app change the default component style
随机推荐
Ctfshow 2022 Spring Festival welcome (detailed commentary)
Rome链分析
【刷题】BFS题目精选
EasyCVR更改录像存储路径,不生成录像文件如何解决?
阿里云ECS使用cloudfs4oss挂载OSS
[phantom engine UE] only six steps are needed to realize the deployment of ue5 pixel stream and avoid detours! (the principles of 4.26 and 4.27 are similar)
为什么百度、阿里这些大厂宁愿花25K招聘应届生,也不愿涨薪5K留住老员工?
网络安全-记录web漏洞修复
Summary of scene design
根据入栈顺序判断出栈顺序是否合理
Use object composition in preference to class inheritance
About the recent experience of writing questions
Three level linkage demo of uniapp uview u-picker components
Ctfshow web entry code audit
Clickpaas low code platform
“金九银十”是找工作的最佳时期吗?那倒未必
How to use jedis of redis
[array]566 Reshape the matrix - simple
Kwai, Tiktok, video number, battle content payment
mysql的七种join连接查询