SlideShare a Scribd company logo
1 of 11
Download to read offline
資料探勘
10766012 陳遠任
資料背景與分析目的
 資料背景:
一家銀行有著高失客率。
 分析目的:
觀察這10,000個資料,調查和預測哪些客戶有可能離開
銀行。
資料簡介
資料簡介
•信用評分CreditScore
•地區Geography
•性別Gender
•年齡Age
•所在期間Tenure
•存款餘額Balance
銀行顧客流失率資料,變數數目: 11 觀察值數目: 10000
•產品數量
NumOf
Products
•是否擁有信用卡HasCrCard
•是否為活躍客戶
IsActive
Member
•估計薪水
Estimated
Salary
•是否離開Exited
•RowNumber、
CustomerId、Surname
其他
敘述性統計
資料轉換
欄位間的關聯
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
CreditScore
Age
Tenure
Balance
NumOfProducts
HasCrCard
IsActiveMember
EstimatedSalary
Exited
G_Tran
Gen_Tran
CreditScore
Age
Tenure
Balance
NumOfProducts
HasCrCard
IsActiveMember
EstimatedSalary
Exited
G_Tran
Gen_Tran
KNN (using package : class)
SVM (using package : E1071)
CART 決策樹(using package : rpart)
PLOT OF CART
Newtable.Age < 43
Newtable.IsActiveMember >= 0.5
Newtable.Age < 51
Newtable.Age < 45
yes no
1
2
3
6
7
14
28 29 15
Newtable.Age < 43
Newtable.IsActiveMember >= 0.5
Newtable.Age < 51
Newtable.Age < 45
0
.80 .20
100%
0
.89 .11
71%
0
.58 .42
29%
0
.73 .27
16%
1
.40 .60
13%
0
.51 .49
9%
0
.65 .35
3%
1
.45 .55
6%
1
.15 .85
4%
yes no
1
2
3
6
7
14
28 29 15
Rattle 2019-五月-02 09:56:12 jason

More Related Content

More from Jason Chen (6)

Ai robot
Ai robotAi robot
Ai robot
 
Outlier detection in audit logs for application systems
Outlier detection in audit logs for application systemsOutlier detection in audit logs for application systems
Outlier detection in audit logs for application systems
 
PHILIPPINE JASON 0530
 PHILIPPINE JASON 0530 PHILIPPINE JASON 0530
PHILIPPINE JASON 0530
 
10766012 ranalitics
10766012 ranalitics10766012 ranalitics
10766012 ranalitics
 
Ml ch17
Ml ch17Ml ch17
Ml ch17
 
Post Big Data 0530
Post Big Data 0530Post Big Data 0530
Post Big Data 0530
 

JASON - Data mining