当前位置:网站首页>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
边栏推荐
- What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
- About the recent experience of writing questions
- Learning notes 8
- Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
- Use Firefox browser to quickly pick up Web image materials
- 基于TCP的移动端IM即时通讯开发仍然需要心跳保活
- Containerd series - detailed explanation of plugins
- open graph协议
- 如何优雅的获取每个分组的前几条数据
- How to use jedis of redis
猜你喜欢

JVM garbage collection

Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery

Alibaba cloud ECS uses cloudfs4oss to mount OSS

How to solve the problem that easycvr changes the recording storage path and does not generate recording files?

How does the applet solve the rendering layer network layer error?

EasyCVR更改录像存储路径,不生成录像文件如何解决?

Three level linkage demo of uniapp uview u-picker components

laravel8 导出Excle文件

MacBook installation postgresql+postgis

Learning notes 8
随机推荐
Get to know MySQL connection query for the first time
UI自動化測試從此告別手動下載瀏覽器驅動
Containerd series - what is containerd?
行为感知系统
This article takes you to understand the relationship between the past and present of Bi and the digital transformation of enterprises
Threejs realizes the drawing of the earth, geographical location annotation, longitude and latitude conversion of world coordinates threejs coordinates
How to solve the problem that easycvr changes the recording storage path and does not generate recording files?
Soul 3: what is interface testing, how to play interface testing, and how to play interface automation testing?
JVM garbage collection
测试开发是什么?为什么现在那么多公司都要招聘测试开发?
Pyqt pyside custom telescopic menu bar sharing (including tutorial)
CTF stegano practice stegano 9
陇原战“疫“2021网络安全大赛 Web EasyJaba
C language course setting: cinema ticket selling management system
在线文本行固定长度填充工具
[phantom engine UE] realize the animation production of mapping tripod deployment
Use Firefox browser to quickly pick up Web image materials
Behavior perception system
Rust blockchain development - signature encryption and private key public key
[array]566 Reshape the matrix - simple