Brammi114 jonathanagustin commited on
Commit
0319de7
·
verified ·
0 Parent(s):

Duplicate from aai510-group1/telco-customer-churn

Browse files

Co-authored-by: Jon Agustin <jonathanagustin@users.noreply.huggingface.co>

Files changed (5) hide show
  1. .gitattributes +55 -0
  2. README.md +306 -0
  3. test.csv +0 -0
  4. train.csv +0 -0
  5. validation.csv +0 -0
.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ tags:
5
+ - tabular-classification
6
+ - churn-prediction
7
+ - telecom
8
+ - customer-retention
9
+ - demographics
10
+ - customer-service
11
+ pretty_name: Telco Customer Churn
12
+ size_categories:
13
+ - 10K<n<100K
14
+ task_categories:
15
+ - tabular-classification
16
+ dataset_info:
17
+ - config_name: default
18
+ features:
19
+ - name: Age
20
+ dtype: int64
21
+ feature_type: Value
22
+ - name: Avg Monthly GB Download
23
+ dtype: int64
24
+ feature_type: Value
25
+ - name: Avg Monthly Long Distance Charges
26
+ dtype: float64
27
+ feature_type: Value
28
+ - name: Churn
29
+ dtype: int64
30
+ feature_type: ClassLabel
31
+ - name: Churn Category
32
+ dtype: string
33
+ feature_type: ClassLabel
34
+ - name: Churn Reason
35
+ dtype: string
36
+ feature_type: ClassLabel
37
+ - name: Churn Score
38
+ dtype: int64
39
+ feature_type: Value
40
+ - name: City
41
+ dtype: string
42
+ feature_type: Value
43
+ - name: CLTV
44
+ dtype: int64
45
+ feature_type: Value
46
+ - name: Contract
47
+ dtype: string
48
+ feature_type: Value
49
+ - name: Country
50
+ dtype: string
51
+ feature_type: Value
52
+ - name: Customer ID
53
+ dtype: string
54
+ feature_type: Value
55
+ - name: Customer Status
56
+ dtype: string
57
+ feature_type: Value
58
+ - name: Dependents
59
+ dtype: int64
60
+ feature_type: Value
61
+ - name: Device Protection Plan
62
+ dtype: int64
63
+ feature_type: Value
64
+ - name: Gender
65
+ dtype: string
66
+ feature_type: Value
67
+ - name: Internet Service
68
+ dtype: int64
69
+ feature_type: Value
70
+ - name: Internet Type
71
+ dtype: string
72
+ feature_type: Value
73
+ - name: Lat Long
74
+ dtype: string
75
+ feature_type: Value
76
+ - name: Latitude
77
+ dtype: float64
78
+ feature_type: Value
79
+ - name: Longitude
80
+ dtype: float64
81
+ feature_type: Value
82
+ - name: Married
83
+ dtype: int64
84
+ feature_type: Value
85
+ - name: Monthly Charge
86
+ dtype: float64
87
+ feature_type: Value
88
+ - name: Multiple Lines
89
+ dtype: int64
90
+ feature_type: Value
91
+ - name: Number of Dependents
92
+ dtype: int64
93
+ feature_type: Value
94
+ - name: Number of Referrals
95
+ dtype: int64
96
+ feature_type: Value
97
+ - name: Offer
98
+ dtype: string
99
+ feature_type: Value
100
+ - name: Online Backup
101
+ dtype: int64
102
+ feature_type: Value
103
+ - name: Online Security
104
+ dtype: int64
105
+ feature_type: Value
106
+ - name: Paperless Billing
107
+ dtype: int64
108
+ feature_type: Value
109
+ - name: Partner
110
+ dtype: int64
111
+ feature_type: Value
112
+ - name: Payment Method
113
+ dtype: string
114
+ feature_type: Value
115
+ - name: Phone Service
116
+ dtype: int64
117
+ feature_type: Value
118
+ - name: Population
119
+ dtype: int64
120
+ feature_type: Value
121
+ - name: Premium Tech Support
122
+ dtype: int64
123
+ feature_type: Value
124
+ - name: Quarter
125
+ dtype: string
126
+ feature_type: Value
127
+ - name: Referred a Friend
128
+ dtype: int64
129
+ feature_type: Value
130
+ - name: Satisfaction Score
131
+ dtype: int64
132
+ feature_type: Value
133
+ - name: Senior Citizen
134
+ dtype: int64
135
+ feature_type: Value
136
+ - name: State
137
+ dtype: string
138
+ feature_type: Value
139
+ - name: Streaming Movies
140
+ dtype: int64
141
+ feature_type: Value
142
+ - name: Streaming Music
143
+ dtype: int64
144
+ feature_type: Value
145
+ - name: Streaming TV
146
+ dtype: int64
147
+ feature_type: Value
148
+ - name: Tenure in Months
149
+ dtype: int64
150
+ feature_type: Value
151
+ - name: Total Charges
152
+ dtype: float64
153
+ feature_type: Value
154
+ - name: Total Extra Data Charges
155
+ dtype: int64
156
+ feature_type: Value
157
+ - name: Total Long Distance Charges
158
+ dtype: float64
159
+ feature_type: Value
160
+ - name: Total Refunds
161
+ dtype: float64
162
+ feature_type: Value
163
+ - name: Total Revenue
164
+ dtype: float64
165
+ feature_type: Value
166
+ - name: Under 30
167
+ dtype: int64
168
+ feature_type: Value
169
+ - name: Unlimited Data
170
+ dtype: int64
171
+ feature_type: Value
172
+ - name: Zip Code
173
+ dtype: string
174
+ feature_type: Value
175
+ splits:
176
+ - name: train
177
+ num_bytes: 400104
178
+ num_examples: 4225
179
+ - name: test
180
+ num_bytes: 183950
181
+ num_examples: 1409
182
+ - name: validation
183
+ num_bytes: 184050
184
+ num_examples: 1409
185
+ ---
186
+ # Dataset Card for Telco Customer Churn
187
+
188
+ This dataset contains information about customers of a fictional telecommunications company, including demographic information, services subscribed to, location details, and churn behavior. This merged dataset combines the information from the original Telco Customer Churn dataset with additional details.
189
+
190
+ ## Dataset Details
191
+
192
+ ### Dataset Description
193
+
194
+ This merged Telco Customer Churn dataset provides a comprehensive view of customer attributes, service usage, location data, and churn behavior. This expanded dataset is a valuable resource for understanding churn patterns, customer segmentation, and developing targeted marketing strategies.
195
+
196
+ ## Uses
197
+
198
+ ### Direct Use
199
+
200
+ This dataset can be used for various purposes, including:
201
+
202
+ - **Customer churn prediction:** Develop machine learning models to predict which customers are at risk of churning, leveraging the expanded features.
203
+ - **Customer segmentation:** Identify different customer segments based on demographics, service usage, location, and churn behavior.
204
+ - **Targeted marketing campaigns:** Develop targeted marketing campaigns to retain at-risk customers or attract new customers, tailoring campaigns based on the insights derived from the merged dataset.
205
+ - **Location-based analysis:** Analyze customer churn trends based on specific locations, cities, or zip codes, and identify potential regional differences.
206
+
207
+ ### Out-of-Scope Use
208
+
209
+ The dataset is not suitable for:
210
+
211
+ - **Real-time churn prediction:** The dataset lacks real-time data, making it inappropriate for immediate churn prediction.
212
+ - **Personal identification:** While the dataset contains customer information, it is anonymized and should not be used to identify individuals.
213
+
214
+ ## Dataset Structure
215
+
216
+ The dataset is structured as a CSV file with 49 columns, each representing a customer attribute. The columns include:
217
+
218
+ - **Age:** The customer's age in years.
219
+ - **Avg Monthly GB Download:** The customer's average monthly gigabyte download volume.
220
+ - **Avg Monthly Long Distance Charges:** The customer's average monthly long distance charges.
221
+ - **Churn Category:** A high-level category for the customer's reason for churning.
222
+ - **Churn Label:** Indicates whether the customer churned.
223
+ - **Churn Reason:** The customer's specific reason for leaving the company.
224
+ - **Churn Score:** A score from 0-100 indicating the likelihood of the customer churning.
225
+ - **Churn Value:** A numerical value representing whether the customer churned (1 for churned, 0 for not churned).
226
+ - **City:** The city of the customer's residence.
227
+ - **CLTV:** Customer Lifetime Value.
228
+ - **Contract:** The customer's contract type.
229
+ - **Country:** The country of the customer's residence.
230
+ - **Customer ID:** A unique identifier for each customer.
231
+ - **Customer Status:** The customer's status at the end of the quarter (Churned, Stayed, or Joined).
232
+ - **Dependents:** Whether the customer has dependents.
233
+ - **Device Protection Plan:** Whether the customer has a device protection plan.
234
+ - **Gender:** The customer's gender.
235
+ - **Internet Service:** Indicates whether the customer subscribes to internet service.
236
+ - **Internet Type:** The type of internet service provider.
237
+ - **Lat Long:** The combined latitude and longitude of the customer's residence.
238
+ - **Latitude:** The latitude of the customer's residence.
239
+ - **Longitude:** The longitude of the customer's residence.
240
+ - **Married:** Indicates if the customer is married.
241
+ - **Monthly Charge:** The customer's total monthly charge for all their services.
242
+ - **Multiple Lines:** Whether the customer has multiple phone lines.
243
+ - **Number of Dependents:** The number of dependents the customer has.
244
+ - **Number of Referrals:** The number of referrals made by the customer.
245
+ - **Offer:** The last marketing offer the customer accepted.
246
+ - **Online Backup:** Whether the customer has online backup service.
247
+ - **Online Security:** Whether the customer has online security service.
248
+ - **Paperless Billing:** Whether the customer has paperless billing.
249
+ - **Partner:** Whether the customer has a partner.
250
+ - **Payment Method:** The customer's payment method.
251
+ - **Phone Service:** Whether the customer has phone service.
252
+ - **Population:** The estimated population of the customer's zip code.
253
+ - **Premium Tech Support:** Whether the customer has premium tech support.
254
+ - **Quarter:** The fiscal quarter for the data.
255
+ - **Referred a Friend:** Indicates if the customer has referred a friend.
256
+ - **Satisfaction Score:** The customer's satisfaction rating.
257
+ - **Senior Citizen:** Whether the customer is a senior citizen.
258
+ - **State:** The state of the customer's residence.
259
+ - **Streaming Movies:** Whether the customer has streaming movies service.
260
+ - **Streaming Music:** Whether the customer has streaming music service.
261
+ - **Streaming TV:** Whether the customer has streaming TV service.
262
+ - **Tenure in Months:** The number of months the customer has been with the company.
263
+ - **Total Charges:** The customer's total charges.
264
+ - **Total Extra Data Charges:** The total charges for extra data downloads.
265
+ - **Total Long Distance Charges:** The total charges for long distance calls.
266
+ - **Total Refunds:** The total refunds received by the customer.
267
+ - **Total Revenue:** The total revenue generated by the customer.
268
+ - **Under 30:** Indicates if the customer is under 30 years old.
269
+ - **Unlimited Data:** Whether the customer has unlimited data.
270
+ - **Zip Code:** The zip code of the customer's residence.
271
+
272
+ ## Dataset Creation
273
+
274
+ ### Curation Rationale
275
+
276
+ This merged dataset was created to provide a more comprehensive and detailed analysis of customer churn behavior. Combining multiple sources of data allows for a richer understanding of factors influencing churn.
277
+
278
+ ### Source Data
279
+
280
+ #### Data Collection and Processing
281
+
282
+ The dataset is derived from the original Telco Customer Churn dataset and additional data sources. The specific data collection and processing methods are not disclosed.
283
+
284
+ ## Bias, Risks, and Limitations
285
+
286
+ ### Bias
287
+
288
+ The dataset may exhibit biases due to the simulated nature of the original Telco Customer Churn data. It is essential to consider that the dataset may not accurately reflect the demographics, service usage, or churn patterns of actual telecommunications companies.
289
+
290
+ ### Risks
291
+
292
+ Using the dataset for real-world decisions without proper validation and understanding of its limitations can lead to inaccurate predictions and potentially biased outcomes.
293
+
294
+ ### Limitations
295
+
296
+ - **Simulated Data:** The dataset is based on simulated data and may not fully represent real-world customer behavior.
297
+ - **Limited Context:** The dataset may lack specific contextual information such as customer feedback or reasons for churn.
298
+ - **Potential Bias:** The simulated data may not fully capture the nuances of customer behavior and churn patterns, especially when combined with additional data sources.
299
+
300
+ ### Recommendations
301
+
302
+ Users should be aware of the dataset's limitations and potential biases. Consider the following:
303
+
304
+ - **Validation:** Validate the dataset's results against real-world data before making critical decisions.
305
+ - **Contextualization:** Include additional contextual information if available to improve model accuracy and insights.
306
+ - **Transparency:** Be transparent about the dataset's limitations and potential biases when communicating results.
test.csv ADDED
The diff for this file is too large to render. See raw diff
 
train.csv ADDED
The diff for this file is too large to render. See raw diff
 
validation.csv ADDED
The diff for this file is too large to render. See raw diff