Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
了解决策树和C4.5算法
Search
yafei002
January 08, 2017
Technology
310
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
了解决策树和C4.5算法
yafei002
January 08, 2017
More Decks by yafei002
See All by yafei002
了解人工神经网络
yafei002
1
240
了解朴素贝叶斯
yafei002
1
270
了解K-Means算法
yafei002
1
250
了解KNN算法
yafei002
0
200
数据可视化之视觉感知与认知
yafei002
1
450
数据可视化之地理信息可视化
yafei002
1
440
数据可视化之层次和网络数据可视化(上)
yafei002
1
740
数据可视化之复杂高维多元数据的可视化(上)
yafei002
1
330
Data Visualization Introduction and History
yafei002
1
340
Other Decks in Technology
See All in Technology
僕のハーネスを紹介します
watany
3
260
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
CloudWatch Logsのコスト最適化:どこまでAIに任せてどこから人間が承認すべきか
yama3133
0
110
Webの常識が通じないHTMLメールのダークモード
teamlab
PRO
0
140
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
410
データエンジニアの次の戦場は "プロセスエンジニアリング"
sansantech
PRO
1
120
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
290
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
680
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
2
150
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
900
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
1k
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
520
The Curse of the Amulet
leimatthew05
3
16k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Visualization
eitanlees
153
17k
Embracing the Ebb and Flow
colly
88
5.2k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Prompt Engineering for Job Search
mfonobong
0
520
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
280
Transcript
了解决策树与 C4.5算法 yafei002
决策树工作原理
如何选择节点 熵(entropy):信息的期望值
如何选择节点 决策树算法选择最大增益作为最佳划分 增益:
如何选择节点 增益偏向于取值多的属性 增益率(Gain ration)将输出节点的个数纳入考量 C4.5
决策树剪枝 为了避免生成的树过多从而过度拟合训练数据,需要对生成的决策树进行剪枝。 C4.5算法引入了悲观剪枝的方法。 悲观剪枝: 1. 一个节点对应N个实例和E个错误,则该 节点的经验错误率=(E+罚项)/ N 2. 一个子树有L个叶子节点,这些叶子节点共包含∑N个实例和∑E个错误,则该
子树的经验错误率=( ∑ E+L*罚项)/ ∑N 3. 假设子树被它的最佳叶节点替换后,在训练数据集的错误为J,如果 J+罚项<= ∑E+罚项*L + ( ∑ E+罚项)的一倍的标准差 则决定用该最佳节点替换子树
决策树剪枝 X T1 T2 T3 X T1 T2 T3 T2
(X输出最大) (最佳叶节点) 剪枝是单一的自底向上的遍历的过程 图:一个剪枝的中间步骤
PANG-NINGTAN, MICHAELSTEINBACH, & VIPINKUMAR. (2011). 数据挖掘导 论:完整版. 人民邮电出版社. 吴信东, &
VipinKumar. (2013). 数据挖掘十大算法. 清华大学出版社. 参考资料