常見資料探勘工作
Business Problems and Data Science Solutions
(Chapter 2 of Data Science for Business)
1
Amazon #1 Best Seller in Database Storage and Design
★★★★+half★ (184)
我們前一章討論過的案例
2
兩種由資料推動的決策
3
我們討論過的案例
4
From Business Problems to Data Mining Tasks (將企業問題轉成資料探勘的工作)
5
6
機器學習
X
y
此員工離職之機率
此客戶流失之機率
此引擎是否需要維修?
與員工相關之資料
與客戶相關之資料
與引擎相關之資料
建立關聯性
Machine Learning ≈ Looking for a Function
7
Framework
8
Framework
9
A set of function
Training Data
Goodness of function f
Better
Function input:
Function output: “monkey” “cat” “dog”
Supervised Learning
Dog or muffin?
10
Dog or mop?
11
All kinds of Cats
12
AI Machine Learning
Traditional Programming
Machine Learning
Human
Programmer
Program
Output
Input
Input
Data
Learning
Algorithm
Program
Output
Framework
14
A set of function
Training Data
Goodness of function f
“monkey” “cat” “dog”
Using f*
Pick the “Best” Function
f*
Training
Testing
Step 1
Step 2
Step 3
“cat”
Correlation ⇒ Causation (相關未必代表因果關係)
15
Correlation ⇒ Causation (相關未必代表因果關係)
16
Correlation ⇒ Causation (相關未必代表因果關係)
17
Correlation ⇒ Causation (相關並不代表因果關係)
18
太早做結論可能會做出被誤導的決策
19
Classification
20
Regression (回歸)
21
Similarity matching (相似度配對)
22
Similarity matching
23
Clustering (群集)
24
顧客細分(Customer Segmentation)
25
Clustering (群集) 應用
26
Co-occurrence grouping (共生分群)
27
Co-occurrence grouping (續)
28
Co-occurrence grouping (續)
29
Profiling (剖析)
30
Link prediction (連結預測)
31
Data reduction (資料縮減)
32
Data reduction (資料縮減)
33
Causal modeling (建立因果關係模型)
34
本書主要討論內容
35
Classification
Class Probability Estimation
64%
75%
58%
Regression
100,000元/月
6,000元/月
Clustering
Supervised (監督式) vs. Unsupervised (非監督式) Methods
40
Supervised vs. Unsupervised Methods
41
Supervised vs. Unsupervised Methods
Customer ID …………………….. Stay for 2 years
1546 …………………….. YES
3245 …………………….. NO
42
Supervised vs. Unsupervised Methods
43
Supervised vs. Unsupervised Methods
兩種監督式資料探勘的主要方法:
44
Supervised vs. Unsupervised Methods
45
46
Decision
Tree
機器學習
監督式學習
非監督式學習
強化式學習
迴歸問題
分類問題
分群問題
降維
決策樹
線性迴歸
羅吉斯迴歸
支援向量機
主成分分析
k-平均演算法
教機器 學習
人類的學習方式
大數據(原料) 🡺 機器學習(處理器)
🡺人工智慧(結果)
Reinforcement learning (強化學習) �
47
Data Mining and Its Results
48
Data Mining and Its Result
49
The Data Mining Process
50
Business Understanding 瞭解業務
51
Data Understanding 瞭解資料
52
Data preparation 準備資料
53
Data preparation 準備資料
A variable collected in historical data gives information on the target variable-information that appears in historical data but is not actually available when the decision has to be made. 在歷史資料中有的資訊,但在做決策時卻沒有的資訊。例如,我們想預測網站訪客在特定時間點是否會繼續流覽,「本次瀏覽總網頁數」被發現是有預測能力,然而此變數的值要到訪客結束瀏覽才會知道
Leakage must be considered carefully during data preparation. 在預備資料得時候,需要考量這樣的問題
54
Modeling 建立預測模型
55
Evaluation
56
Deployment (佈署)
57
Deployment (佈署)
58
機器學習與資料探勘 Machine Learning and Data Mining
59
Summary
60