AICOE-Datamatics commited on
Commit
247c8df
1 Parent(s): ca4e3d2

Initial code

Browse files
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .idea
2
+ __pycache__
AI.jpg ADDED
DA_P1.py ADDED
@@ -0,0 +1,530 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ # coding: utf-8
3
+
4
+ # In[28]:
5
+
6
+
7
+ import numpy as np
8
+ import pandas as pd
9
+ import datetime
10
+ import seaborn as sns
11
+ import matplotlib
12
+ matplotlib.use('Agg')
13
+ import matplotlib.pyplot as plt
14
+ import missingno as msno
15
+ import statistics
16
+ import plotly
17
+ import plotly.express as px
18
+ import plotly.graph_objects as go
19
+ from wordcloud import WordCloud, STOPWORDS
20
+ import nlplot
21
+
22
+
23
+ # #### Reading the Data set #########
24
+
25
+ # In[2]:
26
+ def get_details(data):
27
+ try:
28
+ correlation_matrix_info = {}
29
+ missing_values_info = {}
30
+ print("started")
31
+ s_time = datetime.datetime.now()
32
+
33
+ data_columns=data.columns.tolist()
34
+
35
+ # #####################################
36
+
37
+ #
38
+
39
+ # ########## Types of variable ############
40
+
41
+ # In[3]:
42
+
43
+ num_data = data.select_dtypes(include=np.number) # numeric data
44
+
45
+ num_data_col = data.select_dtypes(include=np.number).columns.tolist() # numeric column name
46
+
47
+ # print("numeric column",len(num_data_col))
48
+
49
+ cat_data = data.select_dtypes(include=['object']) # Categorical data
50
+
51
+ cat_data_col = data.select_dtypes(include=['object']).columns.tolist() # categorical column names
52
+
53
+ # print("Categorical column",len(cat_data_col))
54
+
55
+ bool_data = data.select_dtypes(include=["bool_"]) # bool data
56
+
57
+ bool_data_col = data.select_dtypes(include=["bool_"]).columns.tolist() # bool column names
58
+
59
+ # print("Boolean column",len(bool_data_col))
60
+
61
+ unsupported_data = data.select_dtypes(exclude=["number", "bool_", "object_"])
62
+
63
+ # ##########################################################################################
64
+
65
+ #
66
+
67
+ # ################################### No of columns #########################################
68
+
69
+ # In[4]:
70
+
71
+ column = data.columns
72
+
73
+ col_length = len(column)
74
+
75
+ row_length = len(data)
76
+
77
+ # print("Number of variables ",col_length) #Number of variables
78
+ # print("Number of observations ",row_length) #Number of observations
79
+
80
+ total_cells = col_length * row_length
81
+
82
+ # ############################################################################################
83
+
84
+ #
85
+
86
+ # ################################ Missing cell and % #########################################
87
+
88
+ # In[5]:
89
+
90
+ missing_values = np.where(pd.isnull(data))
91
+
92
+ no_of_missing_values = len(missing_values[0]) # no of missing cells
93
+
94
+ missing_value_per = (no_of_missing_values / total_cells) * 100 # missing cell %
95
+
96
+ # print("no of missing cells ",no_of_missing_values)
97
+ # print("missing cell(%) ",missing_value_per,"%")
98
+
99
+ # #############################################################################################
100
+
101
+ #
102
+
103
+ # ################################# duplicate rows and % #######################################
104
+
105
+ # In[6]:
106
+
107
+ duplicate = data[data.duplicated()]
108
+ duplicate_rows = len(duplicate)
109
+
110
+ dup_row_per = (duplicate_rows / row_length) * 100
111
+ # print("Duplicate rows ",duplicate_rows)
112
+ # print("Duplicate rows (%) ",dup_row_per,"%")
113
+
114
+ # ###############################################################################################
115
+
116
+ #
117
+
118
+ # #################################### Memory usage ###############################################
119
+
120
+ # In[7]:
121
+
122
+ memory_usage = data.memory_usage(deep=True).sum()
123
+ memory_usage_MB = memory_usage / 1024 ** 2
124
+ # print("Total size in memory ",memory_usage_MB,"MiB")
125
+ avg_memory_usage = data.memory_usage(deep=True).mean()
126
+ avg_memory_usage_MB = avg_memory_usage / 1024 ** 2
127
+ # print("Average record size in memory ",avg_memory_usage_MB,"MiB")
128
+
129
+ # #################################################################################################
130
+
131
+ #
132
+ print("Overview Completed")
133
+
134
+ # ####################################### General Insights of Numeric Variable ##########################################
135
+
136
+ #
137
+
138
+ # In[8]:
139
+
140
+ num_variable = {}
141
+ for col in num_data_col:
142
+ val = {}
143
+ distinct_val = data[col].nunique()
144
+ val['distinct'] = int(distinct_val)
145
+ total_count = len(data[col])
146
+ distinct_per = (distinct_val / total_count) * 100
147
+ val['distinct_percent'] = str(distinct_per) + "%"
148
+ null = data[col].isnull().sum()
149
+ val['missing'] = int(null)
150
+ percent_missing = data[col].isnull().sum() * 100 / len(data[col])
151
+ val['missing_percent'] = str(percent_missing) + "%"
152
+ zeros_in_col = (data[col] == 0).sum()
153
+ val['zeros'] = int(zeros_in_col)
154
+ zero_percent = (zeros_in_col / total_count) * 100
155
+ val['zero_percent'] = str(zero_percent) + "%"
156
+ mean = data[col].mean()
157
+ val['mean'] = float(mean)
158
+ mini = data[col].min()
159
+ val['minimum'] = str(mini)
160
+ median = data[col].median()
161
+ val['median'] = str(median)
162
+ maxi = data[col].max()
163
+ val['maximum'] = str(maxi)
164
+ # infinite = df[col].isin([np.inf, -np.inf])
165
+ infinite = np.isinf(data[col]).values.sum()
166
+ val['infinite'] = int(infinite)
167
+ infinite_percent = infinite * 100 / len(data[col])
168
+ val['infinite_percent'] = str(infinite_percent) + "%"
169
+ percent5 = np.percentile(data[col], 5)
170
+ val['5th_percentile'] = str(percent5)
171
+ percent95 = np.percentile(data[col], 95)
172
+ val['95th_percentile'] = str(percent95)
173
+ range1 = maxi - mini
174
+ val['range'] = str(range1)
175
+ q1 = np.percentile(data[col], 25)
176
+ val['q1'] = str(q1)
177
+ q3 = np.percentile(data[col], 75)
178
+ val['q3'] = str(q3)
179
+ iqr = q3 - q1
180
+ val['iqr'] = str(iqr)
181
+ sample = data[col]
182
+
183
+ standard_deviation = statistics.stdev(data[col])
184
+ val['standard_deviation'] = str(standard_deviation)
185
+
186
+ df1 = pd.DataFrame(data)
187
+ val['skewness'] = str(data[col].skew())
188
+
189
+ val['kurtosis'] = str(data[col].kurtosis())
190
+
191
+ val['sum'] = str(data[col].sum())
192
+
193
+ val['variance'] = str(data[col].var())
194
+
195
+ cv = standard_deviation / mean
196
+ # val['co-efficient_variance'] = str(cv)
197
+
198
+ val['monotocity'] = str(((all(data[col][i] <= data[col][i + 1] for i in range(len(data[col]) - 1))
199
+ or all(data[col][i] >= data[col][i + 1] for i in range(len(data[col] - 1))))))
200
+
201
+ #fig, ax = px.subplots(figsize=(10, 10))
202
+ fig = px.histogram(data, x=col)
203
+ fig.update_layout(bargap=0.2)
204
+ #fig.update_layout(width=25,height=25)
205
+ val['visual_path'] = fig
206
+
207
+ out_fig = px.box(data, x=col)
208
+ val['outlier_img'] = out_fig
209
+
210
+ #st.plotly_chart(fig)
211
+ #px.close(fig)
212
+
213
+ num_variable[col] = val
214
+
215
+ #########################################################################################################################
216
+
217
+ print("Numeric Variable Completed")
218
+ ####################################### General Insights of Categorical Variable ##########################################
219
+
220
+ # In[9]:
221
+
222
+ cat_variable = {}
223
+
224
+ for col in cat_data_col:
225
+ val = {}
226
+ distinct_val = data[col].nunique()
227
+ total_count = len(data[col])
228
+ distinct_per = (distinct_val / total_count) * 100
229
+ val['distinct'] = int(distinct_val)
230
+ val['distinct_percent'] = str(round(distinct_per, 5)) + "%"
231
+ missing_val = np.where(pd.isnull(data[col]))
232
+ missing_val_count = len(missing_val[0])
233
+ missing_value_per = (missing_val_count / total_count) * 100
234
+ val['missing'] = int(missing_val_count)
235
+ val['missing_percent'] = str(str(round(missing_value_per, 5))) + "%"
236
+ memory_usage_col = data[col].memory_usage(deep=True)
237
+ memory_usage_col_MB = memory_usage_col / 1024 ** 2
238
+ val['memory'] = str(round(memory_usage_col_MB, 5)) + " MiB"
239
+ measurer = np.vectorize(len)
240
+ temp_df1 = data[col].dropna()
241
+ length_result = measurer(temp_df1.values.astype(str))
242
+ val['max_length'] = int(length_result.max())
243
+ val['median_length'] = int(np.median(length_result))
244
+ val['mean_length'] = float(length_result.mean())
245
+ val['min_length'] = int(length_result.min())
246
+ temp_df = pd.DataFrame(data[col].str.len())
247
+ val['total_character'] = int(temp_df.sum())
248
+ lst = []
249
+ for i in data[col]:
250
+ if type(i) == str:
251
+ l = list(set(i))
252
+ for j in l:
253
+ if j not in lst:
254
+ lst.append(j)
255
+
256
+ val['distinct_character'] = int(len(lst))
257
+ val['distinct_categories'] = ""
258
+ val['distinct_blocks'] = "??"
259
+ val['distinct_scripts'] = "??"
260
+ val['unique'] = "??"
261
+ val['unique_percent'] = "??"
262
+
263
+ #fig=plt.figure()
264
+ fig = px.histogram(data, y=col)
265
+ #fig.update_layout(width=25,height=25)
266
+ val['visual_path'] = fig
267
+ #px.close(fig)
268
+
269
+
270
+
271
+ cat_variable[col] = val
272
+
273
+ # ####################################################################################################
274
+ print("Categorical Variable Completed")
275
+
276
+ ##### Scatter Plot for dataset ##########
277
+ sc_fig = px.scatter_matrix(data)
278
+ #########################################
279
+
280
+ ################# Correlation matrix Visualization #############################
281
+ ################## pearson #############################
282
+ pearsoncorr = num_data.corr(method='pearson')
283
+ fig = go.Figure(data = [
284
+ go.Heatmap(
285
+ z=pearsoncorr,
286
+ x=pearsoncorr.columns,
287
+ y=pearsoncorr.columns)
288
+ ])
289
+ correlation_matrix_info['pearsons'] = fig
290
+ ##########################################################
291
+
292
+
293
+ ################## spearman's #############################
294
+ spearmancorr = num_data.corr(method='spearman')
295
+ fig = go.Figure(data = [
296
+ go.Heatmap(
297
+ z=spearmancorr,
298
+ x=spearmancorr.columns,
299
+ y=spearmancorr.columns)
300
+ ])
301
+ correlation_matrix_info['spearmans'] = fig
302
+ ###########################################################
303
+
304
+ # ################# kendall's #############################
305
+ pearsoncorr = num_data.corr(method='kendall')
306
+ fig = go.Figure(data = [
307
+ go.Heatmap(
308
+ z=pearsoncorr,
309
+ x=pearsoncorr.columns,
310
+ y=pearsoncorr.columns)
311
+ ])
312
+ correlation_matrix_info['kendall'] = fig
313
+ #######################################################
314
+ ######################################################################################################################
315
+
316
+
317
+ ############################################### Missing Values ####################################################
318
+
319
+ #################### Count ################
320
+ fig1=plt.figure()
321
+ msno.bar(data, figsize=(20, 20), color="dodgerblue")
322
+ missing_values_info['count'] = fig1
323
+ plt.close(fig1)
324
+ ###########################################
325
+
326
+ ################## Matrix ##################
327
+ fig2=msno.matrix(data, color=(0.27, 0.52, 1.0))
328
+ fig_2 = fig2.get_figure()
329
+ missing_values_info['matrix'] = fig_2
330
+ plt.close()
331
+ #############################################
332
+
333
+ ################ heatmap ################
334
+ fig3=msno.heatmap(data)
335
+ fig_3 = fig3.get_figure()
336
+ missing_values_info['heatmap'] = fig_3
337
+ plt.close()
338
+ #############################################
339
+
340
+ ############## dendrogram ##################
341
+ fig4=msno.dendrogram(data)
342
+ fig_4 = fig4.get_figure()
343
+ missing_values_info['dendrogram'] = fig_4
344
+ plt.close()
345
+ ################################################
346
+ ###################################################################
347
+
348
+ f_time = datetime.datetime.now()
349
+ duration = f_time - s_time
350
+
351
+
352
+
353
+
354
+ final_output = {}
355
+ overview = {}
356
+ reproduction = {}
357
+
358
+ numerical_variable_info = {}
359
+ categorical_variable_info = {}
360
+
361
+ data_statistics = {}
362
+ variable_type = {}
363
+
364
+ data_statistics['number_of_variables'] = int(col_length)
365
+ data_statistics['number_of_observations'] = int(row_length)
366
+ data_statistics['no_of_missing_cells'] = int(no_of_missing_values)
367
+ data_statistics['missing_cell_percent'] = str(round(missing_value_per, 5)) + "%"
368
+ data_statistics['duplicate_rows'] = int(duplicate_rows)
369
+ data_statistics['duplicate_rows_percent'] = str(round(dup_row_per, 5)) + "%"
370
+ data_statistics['total_size_in_memory'] = str(round(memory_usage_MB, 5)) + "MiB"
371
+ data_statistics['average_memory_Usage'] = str(round(avg_memory_usage_MB, 5)) + "MiB"
372
+
373
+ variable_type['numeric_column'] = int(len(num_data_col))
374
+ variable_type['categorical_column'] = int(len(cat_data_col))
375
+ variable_type['boolean_column'] = int(len(bool_data_col))
376
+
377
+ overview['data_statistics'] = data_statistics
378
+ overview['variable_type'] = variable_type
379
+
380
+ reproduction['analysis_started'] = str(s_time)
381
+ reproduction['analysis_finished'] = str(f_time)
382
+ reproduction['duration'] = str(duration)
383
+ reproduction['software_version'] = "??"
384
+ reproduction['download_configuration'] = "??"
385
+
386
+ numerical_variable_info['variable_info'] = num_variable
387
+ categorical_variable_info['variable_info'] = cat_variable
388
+
389
+
390
+
391
+ ################## Main Functions ######################################
392
+ final_output['overview'] = overview
393
+ final_output['reproduction'] = reproduction
394
+ final_output['numerical_variable_info'] = numerical_variable_info
395
+ final_output['categorical_variable_info'] = categorical_variable_info
396
+ final_output['scatter_chart_matrix']=sc_fig
397
+ final_output['correlation_matrix_info'] = correlation_matrix_info
398
+ final_output['missing_values_info'] = missing_values_info
399
+ #######################################################################
400
+
401
+ return final_output
402
+ except Exception as e:
403
+ # exc_type, exc_obj, exc_tb = sys.exc_info()
404
+ # fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
405
+ return None
406
+
407
+
408
+
409
+ ############### Prints the Imbalance Ration of the dataset ##################
410
+ def imbalnce_ratio(dataset, target):
411
+ val = ""
412
+ if dataset[target].nunique() <= 10:
413
+ dt = dataset[target].value_counts()
414
+ ln = len(dataset[target].value_counts())
415
+ for i in range(0, ln):
416
+ ir_cal = round(dt[i] / len(dataset) * 10, 1)
417
+ category ="/"+ str(dt.index[i])
418
+ if ir_cal.is_integer():
419
+ val = val + str(int(ir_cal))
420
+ val =val+ category
421
+ else:
422
+ val = val + str(ir_cal)
423
+ val = val + category
424
+
425
+ if i != (ln - 1):
426
+ val = val + " : "
427
+ return val
428
+ ###################################################################
429
+
430
+
431
+ ########### return's an image which describes about Text visulization ############
432
+ def word_cloud(dataset, column):
433
+ if column == "Select":
434
+ pass
435
+ else:
436
+ comment_words = ' '
437
+ wc = WordCloud(stopwords=set(STOPWORDS),
438
+ max_words=200,
439
+ max_font_size=100)
440
+ for val in dataset[column]:
441
+ # typecaste each val to string
442
+ val = str(val)
443
+ # split the value
444
+ tokens = val.split()
445
+ # Converts each token into lowercase
446
+ for i in range(len(tokens)):
447
+ tokens[i] = tokens[i].lower()
448
+ for words in tokens:
449
+ comment_words = comment_words + words + ' '
450
+
451
+ wc.generate(comment_words)
452
+
453
+ word_list = []
454
+ freq_list = []
455
+ fontsize_list = []
456
+ position_list = []
457
+ orientation_list = []
458
+ color_list = []
459
+
460
+ for (word, freq), fontsize, position, orientation, color in wc.layout_:
461
+ word_list.append(word)
462
+ freq_list.append(freq)
463
+ fontsize_list.append(fontsize)
464
+ position_list.append(position)
465
+ orientation_list.append(orientation)
466
+ color_list.append(color)
467
+
468
+ # get the positions
469
+ x = []
470
+ y = []
471
+ for i in position_list:
472
+ x.append(i[0])
473
+ y.append(i[1])
474
+
475
+ # get the relative occurence frequencies
476
+ new_freq_list = []
477
+ for i in freq_list:
478
+ new_freq_list.append(i * 100)
479
+
480
+ trace = go.Scatter(x=x,
481
+ y=y,
482
+ textfont=dict(size=new_freq_list,
483
+ color=color_list),
484
+ hoverinfo='text',
485
+ hovertext=['{0} {1:.2f} %'.format(w, f) for w, f in zip(word_list, new_freq_list)],
486
+ mode='text',
487
+ text=word_list
488
+ )
489
+
490
+ layout = go.Layout({'xaxis': {'showgrid': False, 'showticklabels': False, 'zeroline': False},
491
+ 'yaxis': {'showgrid': False, 'showticklabels': False, 'zeroline': False}})
492
+
493
+ fig = go.Figure(data=[trace], layout=layout)
494
+
495
+ return fig
496
+ ###############################################################################
497
+
498
+
499
+ ########### return's an image which describes about target feature for NLP text classification ############
500
+ def plotly_target(dataset, column):
501
+ if column == "Select":
502
+ return None
503
+ else:
504
+ fig = px.histogram(dataset, y=column)
505
+ fig.update_layout(bargap=0.2)
506
+ return fig
507
+ ############################################################################################################
508
+
509
+
510
+ ############ Plotting n-gram for text feature in NLP Text Classification ###########################
511
+ def plot_ngram(dataset, input_col):
512
+ if input_col == 'Select':
513
+ return None
514
+ else:
515
+ train = dataset
516
+ train[input_col] = train[input_col].apply(lambda x: x.lower())
517
+ npt = nlplot.NLPlot(train, target_col=input_col)
518
+ stopwords = npt.get_stopword(top_n=30, min_freq=0)
519
+ fig = npt.bar_ngram(
520
+ title='bi-gram',
521
+ xaxis_label='word_count',
522
+ yaxis_label='word',
523
+ ngram=2,
524
+ top_n=50,
525
+ width=700,
526
+ height=1100,
527
+ stopwords=stopwords,
528
+ )
529
+ return fig
530
+ #################################################################################################
NLP_text_classification.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ # coding: utf-8
3
+ #### IMPORTING PACKAGES ######
4
+ import pandas as pd
5
+ import re, string
6
+ import nltk
7
+ from nltk.corpus import stopwords
8
+ from nltk.tokenize import word_tokenize
9
+ from nltk.stem import SnowballStemmer
10
+ from nltk.corpus import wordnet
11
+ from nltk.stem import WordNetLemmatizer
12
+
13
+ nltk.download('punkt')
14
+ nltk.download('averaged_perceptron_tagger')
15
+ nltk.download('wordnet')
16
+
17
+ # for model-building
18
+ from sklearn.model_selection import train_test_split
19
+ from sklearn.linear_model import LogisticRegression
20
+ from sklearn.tree import DecisionTreeClassifier
21
+ from sklearn.neighbors import KNeighborsClassifier
22
+ from xgboost import XGBClassifier
23
+ from sklearn.naive_bayes import MultinomialNB
24
+ from sklearn.metrics import classification_report, roc_curve,roc_auc_score, confusion_matrix
25
+ from sklearn.pipeline import Pipeline
26
+ # bag of words
27
+ from sklearn.feature_extraction.text import TfidfVectorizer
28
+ from imblearn.over_sampling import SMOTE
29
+ import plotly.express as px
30
+ import plotly.graph_objects as go
31
+ #############################################################
32
+
33
+
34
+ # ## PRE-PROCESSING
35
+
36
+ # 1. Common text preprocessing
37
+ # text = " This is a message to be cleaned. It may involve some things like: <br>, ?, :, '' adjacent spaces and tabs . "
38
+
39
+ # convert to lowercase and remove punctuations and characters and then strip
40
+ def preprocess(text):
41
+ text = str(text)
42
+ text = text.lower() # lowercase text
43
+ text = text.strip() # get rid of leading/trailing whitespace
44
+ text = re.compile('<.*?>').sub('', text) # Remove HTML tags/markups
45
+ text = re.compile('[%s]' % re.escape(string.punctuation)).sub(' ',
46
+ text) # Replace punctuation with space. Careful since punctuation can sometime be useful
47
+ text = re.sub('\s+', ' ', text) # Remove extra space and tabs
48
+ text = re.sub(r'\[[0-9]*\]', ' ', text) # [0-9] matches any digit (0 to 10000...)
49
+ text = re.sub(r'[^\w\s]', '', str(text).lower().strip())
50
+ text = re.sub(r'\d', ' ', text) # matches any digit from 0 to 100000..., \D matches non-digits
51
+ text = re.sub(r'\s+', ' ',
52
+ text) # \s matches any whitespace, \s+ matches multiple whitespace, \S matches non-whitespace
53
+
54
+ return text
55
+
56
+
57
+ # 1. STOPWORD REMOVAL
58
+ def stopword(string):
59
+ a = [i for i in string.split() if i not in stopwords.words('english')]
60
+ return ' '.join(a)
61
+
62
+
63
+ # 2. STEMMING
64
+
65
+ # Initialize the stemmer
66
+ snow = SnowballStemmer('english')
67
+
68
+
69
+ def stemming(string):
70
+ a = [snow.stem(i) for i in word_tokenize(string)]
71
+ return " ".join(a)
72
+
73
+
74
+ # 3. LEMMATIZATION
75
+ # Initialize the lemmatizer
76
+ wl = WordNetLemmatizer()
77
+
78
+
79
+ # This is a helper function to map NTLK position tags
80
+ # Full list is available here: https://www.ling.upenn.edu/courses/Fall_2003/ling001/penn_treebank_pos.html
81
+ def get_wordnet_pos(tag):
82
+ if tag.startswith('J'):
83
+ return wordnet.ADJ
84
+ elif tag.startswith('V'):
85
+ return wordnet.VERB
86
+ elif tag.startswith('N'):
87
+ return wordnet.NOUN
88
+ elif tag.startswith('R'):
89
+ return wordnet.ADV
90
+ else:
91
+ return wordnet.NOUN
92
+
93
+
94
+ # Tokenize the sentence
95
+ def lemmatizer(string):
96
+ word_pos_tags = nltk.pos_tag(word_tokenize(string)) # Get position tags
97
+ a = [wl.lemmatize(tag[0], get_wordnet_pos(tag[1])) for idx, tag in
98
+ enumerate(word_pos_tags)] # Map the position tag and lemmatize the word/token
99
+ return " ".join(a)
100
+
101
+
102
+ # FINAL PREPROCESSING
103
+ def finalpreprocess(string):
104
+ return lemmatizer(stopword(preprocess(string)))
105
+
106
+
107
+
108
+ ################ Data Cleaning and model building for NLP Text Classification ##############################
109
+ def model_train(dataset, input_feature, target_data,balance_data):
110
+ try:
111
+
112
+ lst = []
113
+ data_dict = {}
114
+ df_train = dataset # pd.read_csv(filepath, encoding='ISO-8859-1')
115
+ print(df_train.shape)
116
+
117
+ text = input_feature # 'Review'
118
+ target = target_data # 'Liked'
119
+
120
+ print("Data Pre-Process Started")
121
+ df_train['clean_text'] = df_train[text].apply(lambda x: finalpreprocess(x))
122
+ # df_train.head()
123
+ print("Data Pre-Process Finished")
124
+
125
+ # TF-IDF
126
+ # Convert x_train to vector since model can only run on numbers and not words- Fit and transform
127
+ tfidf_vectorizer = TfidfVectorizer(use_idf=True)
128
+ X_train_vectors_tfidf = tfidf_vectorizer.fit_transform(
129
+ df_train['clean_text']) # tfidf runs on non-tokenized sentences unlike word2ve
130
+
131
+ train_data=X_train_vectors_tfidf
132
+ target_data=df_train[target]
133
+
134
+ if balance_data == "Auto":
135
+ d = {}
136
+ d["Before Handling Imbalanced Dataset"] = target_data.value_counts()
137
+ oversample = SMOTE()
138
+ train_data, target_data = oversample.fit_resample(train_data, target_data)
139
+ d["After Handling Imbalanced Dataset"] = target_data.value_counts()
140
+ data_dict["Handling Imbalanced Dataset"] = d
141
+ elif balance_data == "False":
142
+ data_dict["Cannot Handle Imbalanced Dataset,It is set to False"] = ""
143
+
144
+ X_train, X_val, y_train, y_val = train_test_split(train_data,
145
+ target_data,
146
+ test_size=0.2,
147
+ shuffle=True)
148
+
149
+ pipeline_lr = Pipeline([('lr_classifier', LogisticRegression(solver='liblinear', C=10, penalty='l2'))])
150
+ pipeline_nb = Pipeline([('nb_classifier', MultinomialNB())])
151
+ pipeline_knn = Pipeline([('knn_classifier', KNeighborsClassifier())])
152
+ pipeline_dt = Pipeline([('dt_classifier', DecisionTreeClassifier())])
153
+ pipeline_xg = Pipeline([('xg_classifier', XGBClassifier())])
154
+ pipelines = [pipeline_lr, pipeline_nb, pipeline_knn, pipeline_dt, pipeline_xg]
155
+ best_accuracy = 0.0
156
+ best_classifier = 0
157
+ best_pipeline = ""
158
+
159
+ pipe_dict = {0: 'Logistic_Regression', 1: 'MultinomialNB', 2: 'KNeighborsClassifier',
160
+ 3: 'DecisionTreeClassifier', 4: "XGBoost_Classifier"}
161
+ for pipe in pipelines:
162
+ pipe.fit(X_train, y_train)
163
+
164
+ models_info = {}
165
+ for i, model in enumerate(pipelines):
166
+ val = "{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_val, y_val))
167
+ lst.append(val)
168
+ models_info[pipe_dict[i]] = model.score(X_val, y_val)
169
+ print("{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_val, y_val)))
170
+ df_models_info = pd.DataFrame(models_info.items(), columns=["Models", "Accuracy"])
171
+
172
+ for i, model in enumerate(pipelines):
173
+ if model.score(X_val, y_val) > best_accuracy:
174
+ best_accuracy = model.score(X_val, y_val)
175
+ best_pipeline = model
176
+ best_classifier = i
177
+
178
+ val1 = 'Classifier with best accuracy:{}'.format(pipe_dict[best_classifier])
179
+ lst.append(val1)
180
+ print('Classifier with best accuracy:{}'.format(pipe_dict[best_classifier]))
181
+
182
+ y_predict = best_pipeline.predict(X_val)
183
+ cn = confusion_matrix(y_val, y_predict)
184
+ print(cn)
185
+
186
+ report = classification_report(y_val, y_predict)
187
+ print(report)
188
+
189
+ data_dict['Model details'] = lst
190
+ fig = px.histogram(df_models_info, x="Models", y="Accuracy", color="Models")
191
+ fig.update_layout(yaxis_title="Accuracy")
192
+ data_dict['model_comparison'] = fig
193
+ data_dict['Best model'] = lst[-1].split(':')[1]
194
+ data_dict['Best pipeline'] = best_pipeline
195
+ data_dict['Confusion Matrix'] = cn
196
+ data_dict['Classification Report'] = report
197
+ data_dict['tfidf_vector'] = tfidf_vectorizer
198
+
199
+ y_scores = best_pipeline.predict_proba(X_val)
200
+
201
+ # One hot encode the labels in order to plot them
202
+ y_onehot = pd.get_dummies(y_val, columns=best_pipeline.classes_)
203
+
204
+ # Create an empty figure, and iteratively add new lines
205
+ # every time we compute a new class
206
+ fig = go.Figure()
207
+ fig.add_shape(
208
+ type='line', line=dict(dash='dash'),
209
+ x0=0, x1=1, y0=0, y1=1
210
+ )
211
+
212
+ for i in range(y_scores.shape[1]):
213
+ y_true = y_onehot.iloc[:, i]
214
+ y_score = y_scores[:, i]
215
+
216
+ fpr, tpr, _ = roc_curve(y_true, y_score)
217
+ auc_score = roc_auc_score(y_true, y_score)
218
+
219
+ name = f"{y_onehot.columns[i]} (AUC={auc_score:.2f})"
220
+ fig.add_trace(go.Scatter(x=fpr, y=tpr, name=name, mode='lines'))
221
+
222
+ fig.update_layout(
223
+ xaxis_title='False Positive Rate',
224
+ yaxis_title='True Positive Rate',
225
+ yaxis=dict(scaleanchor="x", scaleratio=1),
226
+ xaxis=dict(constrain='domain'),
227
+ width=700, height=500
228
+ )
229
+ data_dict['ROC Curve'] = fig
230
+
231
+ return data_dict
232
+ except:
233
+ return None
234
+ ##########################################################################
235
+
236
+
237
+ #### TESTING THE MODEL ON text #########
238
+ def predict_text(text, model, tfidf_vectorizer):
239
+ df = pd.DataFrame()
240
+ empty = []
241
+ empty.append(text)
242
+ df['text'] = empty
243
+ df['clean_text'] = df['text'].apply(lambda x: finalpreprocess(x)) # preprocess the data
244
+ X_test = df['clean_text']
245
+ X_vector = tfidf_vectorizer.transform(X_test) # converting X_test to vector
246
+ y_predict = model.predict(X_vector)
247
+ return y_predict
248
+ #########################################
249
+
250
+ #### TESTING THE MODEL ON CSV PREDICTION ####
251
+ def predict_csv(df, model, tfidf_vectorizer, input):
252
+ df['clean_text'] = df[input].apply(lambda x: finalpreprocess(x)) # preprocess the data
253
+ X_test = df['clean_text']
254
+ X_vector = tfidf_vectorizer.transform(X_test) # converting X_test to vector
255
+ y_predict = model.predict(X_vector)
256
+ return y_predict
257
+ ###############################################
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  title: AiNext
3
- emoji: 📊
4
  colorFrom: purple
5
- colorTo: red
6
  sdk: streamlit
7
  sdk_version: 1.31.0
8
  app_file: app.py
 
1
  ---
2
  title: AiNext
3
+ emoji: 😻
4
  colorFrom: purple
5
+ colorTo: pink
6
  sdk: streamlit
7
  sdk_version: 1.31.0
8
  app_file: app.py
Sample Dataset/Predictive analytics/Loan_Approval_prediction/test.csv ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Loan_ID,Gender,Married,Dependents,Education,Self_Employed,ApplicantIncome,CoapplicantIncome,LoanAmount,Loan_Amount_Term,Credit_History,Property_Area
2
+ LP001015,Male,Yes,0,Graduate,No,5720,0,110,360,1,Urban
3
+ LP001022,Male,Yes,1,Graduate,No,3076,1500,126,360,1,Urban
4
+ LP001031,Male,Yes,2,Graduate,No,5000,1800,208,360,1,Urban
5
+ LP001035,Male,Yes,2,Graduate,No,2340,2546,100,360,,Urban
6
+ LP001051,Male,No,0,Not Graduate,No,3276,0,78,360,1,Urban
7
+ LP001054,Male,Yes,0,Not Graduate,Yes,2165,3422,152,360,1,Urban
8
+ LP001055,Female,No,1,Not Graduate,No,2226,0,59,360,1,Semiurban
9
+ LP001056,Male,Yes,2,Not Graduate,No,3881,0,147,360,0,Rural
10
+ LP001059,Male,Yes,2,Graduate,,13633,0,280,240,1,Urban
11
+ LP001067,Male,No,0,Not Graduate,No,2400,2400,123,360,1,Semiurban
12
+ LP001078,Male,No,0,Not Graduate,No,3091,0,90,360,1,Urban
13
+ LP001082,Male,Yes,1,Graduate,,2185,1516,162,360,1,Semiurban
14
+ LP001083,Male,No,3+,Graduate,No,4166,0,40,180,,Urban
15
+ LP001094,Male,Yes,2,Graduate,,12173,0,166,360,0,Semiurban
16
+ LP001096,Female,No,0,Graduate,No,4666,0,124,360,1,Semiurban
17
+ LP001099,Male,No,1,Graduate,No,5667,0,131,360,1,Urban
18
+ LP001105,Male,Yes,2,Graduate,No,4583,2916,200,360,1,Urban
19
+ LP001107,Male,Yes,3+,Graduate,No,3786,333,126,360,1,Semiurban
20
+ LP001108,Male,Yes,0,Graduate,No,9226,7916,300,360,1,Urban
21
+ LP001115,Male,No,0,Graduate,No,1300,3470,100,180,1,Semiurban
22
+ LP001121,Male,Yes,1,Not Graduate,No,1888,1620,48,360,1,Urban
23
+ LP001124,Female,No,3+,Not Graduate,No,2083,0,28,180,1,Urban
24
+ LP001128,,No,0,Graduate,No,3909,0,101,360,1,Urban
25
+ LP001135,Female,No,0,Not Graduate,No,3765,0,125,360,1,Urban
26
+ LP001149,Male,Yes,0,Graduate,No,5400,4380,290,360,1,Urban
27
+ LP001153,Male,No,0,Graduate,No,0,24000,148,360,0,Rural
28
+ LP001163,Male,Yes,2,Graduate,No,4363,1250,140,360,,Urban
29
+ LP001169,Male,Yes,0,Graduate,No,7500,3750,275,360,1,Urban
30
+ LP001174,Male,Yes,0,Graduate,No,3772,833,57,360,,Semiurban
31
+ LP001176,Male,No,0,Graduate,No,2942,2382,125,180,1,Urban
32
+ LP001177,Female,No,0,Not Graduate,No,2478,0,75,360,1,Semiurban
33
+ LP001183,Male,Yes,2,Graduate,No,6250,820,192,360,1,Urban
34
+ LP001185,Male,No,0,Graduate,No,3268,1683,152,360,1,Semiurban
35
+ LP001187,Male,Yes,0,Graduate,No,2783,2708,158,360,1,Urban
36
+ LP001190,Male,Yes,0,Graduate,No,2740,1541,101,360,1,Urban
37
+ LP001203,Male,No,0,Graduate,No,3150,0,176,360,0,Semiurban
38
+ LP001208,Male,Yes,2,Graduate,,7350,4029,185,180,1,Urban
39
+ LP001210,Male,Yes,0,Graduate,Yes,2267,2792,90,360,1,Urban
40
+ LP001211,Male,No,0,Graduate,Yes,5833,0,116,360,1,Urban
41
+ LP001219,Male,No,0,Graduate,No,3643,1963,138,360,1,Urban
42
+ LP001220,Male,Yes,0,Graduate,No,5629,818,100,360,1,Urban
43
+ LP001221,Female,No,0,Graduate,No,3644,0,110,360,1,Urban
44
+ LP001226,Male,Yes,0,Not Graduate,No,1750,2024,90,360,1,Semiurban
45
+ LP001230,Male,No,0,Graduate,No,6500,2600,200,360,1,Semiurban
46
+ LP001231,Female,No,0,Graduate,No,3666,0,84,360,1,Urban
47
+ LP001232,Male,Yes,0,Graduate,No,4260,3900,185,,,Urban
48
+ LP001237,Male,Yes,,Not Graduate,No,4163,1475,162,360,1,Urban
49
+ LP001242,Male,No,0,Not Graduate,No,2356,1902,108,360,1,Semiurban
50
+ LP001268,Male,No,0,Graduate,No,6792,3338,187,,1,Urban
51
+ LP001270,Male,Yes,3+,Not Graduate,Yes,8000,250,187,360,1,Semiurban
52
+ LP001284,Male,Yes,1,Graduate,No,2419,1707,124,360,1,Urban
53
+ LP001287,,Yes,3+,Not Graduate,No,3500,833,120,360,1,Semiurban
54
+ LP001291,Male,Yes,1,Graduate,No,3500,3077,160,360,1,Semiurban
55
+ LP001298,Male,Yes,2,Graduate,No,4116,1000,30,180,1,Urban
56
+ LP001312,Male,Yes,0,Not Graduate,Yes,5293,0,92,360,1,Urban
57
+ LP001313,Male,No,0,Graduate,No,2750,0,130,360,0,Urban
58
+ LP001317,Female,No,0,Not Graduate,No,4402,0,130,360,1,Rural
59
+ LP001321,Male,Yes,2,Graduate,No,3613,3539,134,180,1,Semiurban
60
+ LP001323,Female,Yes,2,Graduate,No,2779,3664,176,360,0,Semiurban
61
+ LP001324,Male,Yes,3+,Graduate,No,4720,0,90,180,1,Semiurban
62
+ LP001332,Male,Yes,0,Not Graduate,No,2415,1721,110,360,1,Semiurban
63
+ LP001335,Male,Yes,0,Graduate,Yes,7016,292,125,360,1,Urban
64
+ LP001338,Female,No,2,Graduate,No,4968,0,189,360,1,Semiurban
65
+ LP001347,Female,No,0,Graduate,No,2101,1500,108,360,0,Rural
66
+ LP001348,Male,Yes,3+,Not Graduate,No,4490,0,125,360,1,Urban
67
+ LP001351,Male,Yes,0,Graduate,No,2917,3583,138,360,1,Semiurban
68
+ LP001352,Male,Yes,0,Not Graduate,No,4700,0,135,360,0,Semiurban
69
+ LP001358,Male,Yes,0,Graduate,No,3445,0,130,360,0,Semiurban
70
+ LP001359,Male,Yes,0,Graduate,No,7666,0,187,360,1,Semiurban
71
+ LP001361,Male,Yes,0,Graduate,No,2458,5105,188,360,0,Rural
72
+ LP001366,Female,No,,Graduate,No,3250,0,95,360,1,Semiurban
73
+ LP001368,Male,No,0,Graduate,No,4463,0,65,360,1,Semiurban
74
+ LP001375,Male,Yes,1,Graduate,,4083,1775,139,60,1,Urban
75
+ LP001380,Male,Yes,0,Graduate,Yes,3900,2094,232,360,1,Rural
76
+ LP001386,Male,Yes,0,Not Graduate,No,4750,3583,144,360,1,Semiurban
77
+ LP001400,Male,No,0,Graduate,No,3583,3435,155,360,1,Urban
78
+ LP001407,Male,Yes,0,Graduate,No,3189,2367,186,360,1,Urban
79
+ LP001413,Male,No,0,Graduate,Yes,6356,0,50,360,1,Rural
80
+ LP001415,Male,Yes,1,Graduate,No,3413,4053,,360,1,Semiurban
81
+ LP001419,Female,Yes,0,Graduate,No,7950,0,185,360,1,Urban
82
+ LP001420,Male,Yes,3+,Graduate,No,3829,1103,163,360,0,Urban
83
+ LP001428,Male,Yes,3+,Graduate,No,72529,0,360,360,1,Urban
84
+ LP001445,Male,Yes,2,Not Graduate,No,4136,0,149,480,0,Rural
85
+ LP001446,Male,Yes,0,Graduate,No,8449,0,257,360,1,Rural
86
+ LP001450,Male,Yes,0,Graduate,No,4456,0,131,180,0,Semiurban
87
+ LP001452,Male,Yes,2,Graduate,No,4635,8000,102,180,1,Rural
88
+ LP001455,Male,Yes,0,Graduate,No,3571,1917,135,360,1,Urban
89
+ LP001466,Male,No,0,Graduate,No,3066,0,95,360,1,Semiurban
90
+ LP001471,Male,No,2,Not Graduate,No,3235,2015,77,360,1,Semiurban
91
+ LP001472,Female,No,0,Graduate,,5058,0,200,360,1,Rural
92
+ LP001475,Male,Yes,0,Graduate,Yes,3188,2286,130,360,,Rural
93
+ LP001483,Male,Yes,3+,Graduate,No,13518,0,390,360,1,Rural
94
+ LP001486,Male,Yes,1,Graduate,No,4364,2500,185,360,1,Semiurban
95
+ LP001490,Male,Yes,2,Not Graduate,No,4766,1646,100,360,1,Semiurban
96
+ LP001496,Male,Yes,1,Graduate,No,4609,2333,123,360,0,Semiurban
97
+ LP001499,Female,Yes,3+,Graduate,No,6260,0,110,360,1,Semiurban
98
+ LP001500,Male,Yes,1,Graduate,No,3333,4200,256,360,1,Urban
99
+ LP001501,Male,Yes,0,Graduate,No,3500,3250,140,360,1,Semiurban
100
+ LP001517,Male,Yes,3+,Graduate,No,9719,0,61,360,1,Urban
101
+ LP001527,Male,Yes,3+,Graduate,No,6835,0,188,360,,Semiurban
102
+ LP001534,Male,No,0,Graduate,No,4452,0,131,360,1,Rural
103
+ LP001542,Female,Yes,0,Graduate,No,2262,0,,480,0,Semiurban
104
+ LP001547,Male,Yes,1,Graduate,No,3901,0,116,360,1,Urban
105
+ LP001548,Male,Yes,2,Not Graduate,No,2687,0,50,180,1,Rural
106
+ LP001558,Male,No,0,Graduate,No,2243,2233,107,360,,Semiurban
107
+ LP001561,Female,Yes,0,Graduate,No,3417,1287,200,360,1,Semiurban
108
+ LP001563,,No,0,Graduate,No,1596,1760,119,360,0,Urban
109
+ LP001567,Male,Yes,3+,Graduate,No,4513,0,120,360,1,Rural
110
+ LP001568,Male,Yes,0,Graduate,No,4500,0,140,360,1,Semiurban
111
+ LP001573,Male,Yes,0,Not Graduate,No,4523,1350,165,360,1,Urban
112
+ LP001584,Female,No,0,Graduate,Yes,4742,0,108,360,1,Semiurban
113
+ LP001587,Male,Yes,,Graduate,No,4082,0,93,360,1,Semiurban
114
+ LP001589,Female,No,0,Graduate,No,3417,0,102,360,1,Urban
115
+ LP001591,Female,Yes,2,Graduate,No,2922,3396,122,360,1,Semiurban
116
+ LP001599,Male,Yes,0,Graduate,No,4167,4754,160,360,1,Rural
117
+ LP001601,Male,No,3+,Graduate,No,4243,4123,157,360,,Semiurban
118
+ LP001607,Female,No,0,Not Graduate,No,0,1760,180,360,1,Semiurban
119
+ LP001611,Male,Yes,1,Graduate,No,1516,2900,80,,0,Rural
120
+ LP001613,Female,No,0,Graduate,No,1762,2666,104,360,0,Urban
121
+ LP001622,Male,Yes,2,Graduate,No,724,3510,213,360,0,Rural
122
+ LP001627,Male,No,0,Graduate,No,3125,0,65,360,1,Urban
123
+ LP001650,Male,Yes,0,Graduate,No,2333,3803,146,360,1,Rural
124
+ LP001651,Male,Yes,3+,Graduate,No,3350,1560,135,360,1,Urban
125
+ LP001652,Male,No,0,Graduate,No,2500,6414,187,360,0,Rural
126
+ LP001655,Female,No,0,Graduate,No,12500,0,300,360,0,Urban
127
+ LP001660,Male,No,0,Graduate,No,4667,0,120,360,1,Semiurban
128
+ LP001662,Male,No,0,Graduate,No,6500,0,71,360,0,Urban
129
+ LP001663,Male,Yes,2,Graduate,No,7500,0,225,360,1,Urban
130
+ LP001667,Male,No,0,Graduate,No,3073,0,70,180,1,Urban
131
+ LP001695,Male,Yes,1,Not Graduate,No,3321,2088,70,,1,Semiurban
132
+ LP001703,Male,Yes,0,Graduate,No,3333,1270,124,360,1,Urban
133
+ LP001718,Male,No,0,Graduate,No,3391,0,132,360,1,Rural
134
+ LP001728,Male,Yes,1,Graduate,Yes,3343,1517,105,360,1,Rural
135
+ LP001735,Female,No,1,Graduate,No,3620,0,90,360,1,Urban
136
+ LP001737,Male,No,0,Graduate,No,4000,0,83,84,1,Urban
137
+ LP001739,Male,Yes,0,Graduate,No,4258,0,125,360,1,Urban
138
+ LP001742,Male,Yes,2,Graduate,No,4500,0,147,360,1,Rural
139
+ LP001757,Male,Yes,1,Graduate,No,2014,2925,120,360,1,Rural
140
+ LP001769,,No,,Graduate,No,3333,1250,110,360,1,Semiurban
141
+ LP001771,Female,No,3+,Graduate,No,4083,0,103,360,,Semiurban
142
+ LP001785,Male,No,0,Graduate,No,4727,0,150,360,0,Rural
143
+ LP001787,Male,Yes,3+,Graduate,No,3089,2999,100,240,1,Rural
144
+ LP001789,Male,Yes,3+,Not Graduate,,6794,528,139,360,0,Urban
145
+ LP001791,Male,Yes,0,Graduate,Yes,32000,0,550,360,,Semiurban
146
+ LP001794,Male,Yes,2,Graduate,Yes,10890,0,260,12,1,Rural
147
+ LP001797,Female,No,0,Graduate,No,12941,0,150,300,1,Urban
148
+ LP001815,Male,No,0,Not Graduate,No,3276,0,90,360,1,Semiurban
149
+ LP001817,Male,No,0,Not Graduate,Yes,8703,0,199,360,0,Rural
150
+ LP001818,Male,Yes,1,Graduate,No,4742,717,139,360,1,Semiurban
151
+ LP001822,Male,No,0,Graduate,No,5900,0,150,360,1,Urban
152
+ LP001827,Male,No,0,Graduate,No,3071,4309,180,360,1,Urban
153
+ LP001831,Male,Yes,0,Graduate,No,2783,1456,113,360,1,Urban
154
+ LP001842,Male,No,0,Graduate,No,5000,0,148,360,1,Rural
155
+ LP001853,Male,Yes,1,Not Graduate,No,2463,2360,117,360,0,Urban
156
+ LP001855,Male,Yes,2,Graduate,No,4855,0,72,360,1,Rural
157
+ LP001857,Male,No,0,Not Graduate,Yes,1599,2474,125,300,1,Semiurban
158
+ LP001862,Male,Yes,2,Graduate,Yes,4246,4246,214,360,1,Urban
159
+ LP001867,Male,Yes,0,Graduate,No,4333,2291,133,350,1,Rural
160
+ LP001878,Male,No,1,Graduate,No,5823,2529,187,360,1,Semiurban
161
+ LP001881,Male,Yes,0,Not Graduate,No,7895,0,143,360,1,Rural
162
+ LP001886,Male,No,0,Graduate,No,4150,4256,209,360,1,Rural
163
+ LP001906,Male,No,0,Graduate,,2964,0,84,360,0,Semiurban
164
+ LP001909,Male,No,0,Graduate,No,5583,0,116,360,1,Urban
165
+ LP001911,Female,No,0,Graduate,No,2708,0,65,360,1,Rural
166
+ LP001921,Male,No,1,Graduate,No,3180,2370,80,240,,Rural
167
+ LP001923,Male,No,0,Not Graduate,No,2268,0,170,360,0,Semiurban
168
+ LP001933,Male,No,2,Not Graduate,No,1141,2017,120,360,0,Urban
169
+ LP001943,Male,Yes,0,Graduate,No,3042,3167,135,360,1,Urban
170
+ LP001950,Female,Yes,3+,Graduate,,1750,2935,94,360,0,Semiurban
171
+ LP001959,Female,Yes,1,Graduate,No,3564,0,79,360,1,Rural
172
+ LP001961,Female,No,0,Graduate,No,3958,0,110,360,1,Rural
173
+ LP001973,Male,Yes,2,Not Graduate,No,4483,0,130,360,1,Rural
174
+ LP001975,Male,Yes,0,Graduate,No,5225,0,143,360,1,Rural
175
+ LP001979,Male,No,0,Graduate,No,3017,2845,159,180,0,Urban
176
+ LP001995,Male,Yes,0,Not Graduate,No,2431,1820,110,360,0,Rural
177
+ LP001999,Male,Yes,2,Graduate,,4912,4614,160,360,1,Rural
178
+ LP002007,Male,Yes,2,Not Graduate,No,2500,3333,131,360,1,Urban
179
+ LP002009,Female,No,0,Graduate,No,2918,0,65,360,,Rural
180
+ LP002016,Male,Yes,2,Graduate,No,5128,0,143,360,1,Rural
181
+ LP002017,Male,Yes,3+,Graduate,No,15312,0,187,360,,Urban
182
+ LP002018,Male,Yes,2,Graduate,No,3958,2632,160,360,1,Semiurban
183
+ LP002027,Male,Yes,0,Graduate,No,4334,2945,165,360,1,Semiurban
184
+ LP002028,Male,Yes,2,Graduate,No,4358,0,110,360,1,Urban
185
+ LP002042,Female,Yes,1,Graduate,No,4000,3917,173,360,1,Rural
186
+ LP002045,Male,Yes,3+,Graduate,No,10166,750,150,,1,Urban
187
+ LP002046,Male,Yes,0,Not Graduate,No,4483,0,135,360,,Semiurban
188
+ LP002047,Male,Yes,2,Not Graduate,No,4521,1184,150,360,1,Semiurban
189
+ LP002056,Male,Yes,2,Graduate,No,9167,0,235,360,1,Semiurban
190
+ LP002057,Male,Yes,0,Not Graduate,No,13083,0,,360,1,Rural
191
+ LP002059,Male,Yes,2,Graduate,No,7874,3967,336,360,1,Rural
192
+ LP002062,Female,Yes,1,Graduate,No,4333,0,132,84,1,Rural
193
+ LP002064,Male,No,0,Graduate,No,4083,0,96,360,1,Urban
194
+ LP002069,Male,Yes,2,Not Graduate,,3785,2912,180,360,0,Rural
195
+ LP002070,Male,Yes,3+,Not Graduate,No,2654,1998,128,360,0,Rural
196
+ LP002077,Male,Yes,1,Graduate,No,10000,2690,412,360,1,Semiurban
197
+ LP002083,Male,No,0,Graduate,Yes,5833,0,116,360,1,Urban
198
+ LP002090,Male,Yes,1,Graduate,No,4796,0,114,360,0,Semiurban
199
+ LP002096,Male,Yes,0,Not Graduate,No,2000,1600,115,360,1,Rural
200
+ LP002099,Male,Yes,2,Graduate,No,2540,700,104,360,0,Urban
201
+ LP002102,Male,Yes,0,Graduate,Yes,1900,1442,88,360,1,Rural
202
+ LP002105,Male,Yes,0,Graduate,Yes,8706,0,108,480,1,Rural
203
+ LP002107,Male,Yes,3+,Not Graduate,No,2855,542,90,360,1,Urban
204
+ LP002111,Male,Yes,,Graduate,No,3016,1300,100,360,,Urban
205
+ LP002117,Female,Yes,0,Graduate,No,3159,2374,108,360,1,Semiurban
206
+ LP002118,Female,No,0,Graduate,No,1937,1152,78,360,1,Semiurban
207
+ LP002123,Male,Yes,0,Graduate,No,2613,2417,123,360,1,Semiurban
208
+ LP002125,Male,Yes,1,Graduate,No,4960,2600,187,360,1,Semiurban
209
+ LP002148,Male,Yes,1,Graduate,No,3074,1083,146,360,1,Semiurban
210
+ LP002152,Female,No,0,Graduate,No,4213,0,80,360,1,Urban
211
+ LP002165,,No,1,Not Graduate,No,2038,4027,100,360,1,Rural
212
+ LP002167,Female,No,0,Graduate,No,2362,0,55,360,1,Urban
213
+ LP002168,Male,No,0,Graduate,No,5333,2400,200,360,0,Rural
214
+ LP002172,Male,Yes,3+,Graduate,Yes,5384,0,150,360,1,Semiurban
215
+ LP002176,Male,No,0,Graduate,No,5708,0,150,360,1,Rural
216
+ LP002183,Male,Yes,0,Not Graduate,No,3754,3719,118,,1,Rural
217
+ LP002184,Male,Yes,0,Not Graduate,No,2914,2130,150,300,1,Urban
218
+ LP002186,Male,Yes,0,Not Graduate,No,2747,2458,118,36,1,Semiurban
219
+ LP002192,Male,Yes,0,Graduate,No,7830,2183,212,360,1,Rural
220
+ LP002195,Male,Yes,1,Graduate,Yes,3507,3148,212,360,1,Rural
221
+ LP002208,Male,Yes,1,Graduate,No,3747,2139,125,360,1,Urban
222
+ LP002212,Male,Yes,0,Graduate,No,2166,2166,108,360,,Urban
223
+ LP002240,Male,Yes,0,Not Graduate,No,3500,2168,149,360,1,Rural
224
+ LP002245,Male,Yes,2,Not Graduate,No,2896,0,80,480,1,Urban
225
+ LP002253,Female,No,1,Graduate,No,5062,0,152,300,1,Rural
226
+ LP002256,Female,No,2,Graduate,Yes,5184,0,187,360,0,Semiurban
227
+ LP002257,Female,No,0,Graduate,No,2545,0,74,360,1,Urban
228
+ LP002264,Male,Yes,0,Graduate,No,2553,1768,102,360,1,Urban
229
+ LP002270,Male,Yes,1,Graduate,No,3436,3809,100,360,1,Rural
230
+ LP002279,Male,No,0,Graduate,No,2412,2755,130,360,1,Rural
231
+ LP002286,Male,Yes,3+,Not Graduate,No,5180,0,125,360,0,Urban
232
+ LP002294,Male,No,0,Graduate,No,14911,14507,130,360,1,Semiurban
233
+ LP002298,,No,0,Graduate,Yes,2860,2988,138,360,1,Urban
234
+ LP002306,Male,Yes,0,Graduate,No,1173,1594,28,180,1,Rural
235
+ LP002310,Female,No,1,Graduate,No,7600,0,92,360,1,Semiurban
236
+ LP002311,Female,Yes,0,Graduate,No,2157,1788,104,360,1,Urban
237
+ LP002316,Male,No,0,Graduate,No,2231,2774,176,360,0,Urban
238
+ LP002321,Female,No,0,Graduate,No,2274,5211,117,360,0,Semiurban
239
+ LP002325,Male,Yes,2,Not Graduate,No,6166,13983,102,360,1,Rural
240
+ LP002326,Male,Yes,2,Not Graduate,No,2513,1110,107,360,1,Semiurban
241
+ LP002329,Male,No,0,Graduate,No,4333,0,66,480,1,Urban
242
+ LP002333,Male,No,0,Not Graduate,No,3844,0,105,360,1,Urban
243
+ LP002339,Male,Yes,0,Graduate,No,3887,1517,105,360,0,Semiurban
244
+ LP002344,Male,Yes,0,Graduate,No,3510,828,105,360,1,Semiurban
245
+ LP002346,Male,Yes,0,Graduate,,2539,1704,125,360,0,Rural
246
+ LP002354,Female,No,0,Not Graduate,No,2107,0,64,360,1,Semiurban
247
+ LP002355,,Yes,0,Graduate,No,3186,3145,150,180,0,Semiurban
248
+ LP002358,Male,Yes,2,Graduate,Yes,5000,2166,150,360,1,Urban
249
+ LP002360,Male,Yes,,Graduate,No,10000,0,,360,1,Urban
250
+ LP002375,Male,Yes,0,Not Graduate,Yes,3943,0,64,360,1,Semiurban
251
+ LP002376,Male,No,0,Graduate,No,2925,0,40,180,1,Rural
252
+ LP002383,Male,Yes,3+,Graduate,No,3242,437,142,480,0,Urban
253
+ LP002385,Male,Yes,,Graduate,No,3863,0,70,300,1,Semiurban
254
+ LP002389,Female,No,1,Graduate,No,4028,0,131,360,1,Semiurban
255
+ LP002394,Male,Yes,2,Graduate,No,4010,1025,120,360,1,Urban
256
+ LP002397,Female,Yes,1,Graduate,No,3719,1585,114,360,1,Urban
257
+ LP002399,Male,No,0,Graduate,,2858,0,123,360,0,Rural
258
+ LP002400,Female,Yes,0,Graduate,No,3833,0,92,360,1,Rural
259
+ LP002402,Male,Yes,0,Graduate,No,3333,4288,160,360,1,Urban
260
+ LP002412,Male,Yes,0,Graduate,No,3007,3725,151,360,1,Rural
261
+ LP002415,Female,No,1,Graduate,,1850,4583,81,360,,Rural
262
+ LP002417,Male,Yes,3+,Not Graduate,No,2792,2619,171,360,1,Semiurban
263
+ LP002420,Male,Yes,0,Graduate,No,2982,1550,110,360,1,Semiurban
264
+ LP002425,Male,No,0,Graduate,No,3417,738,100,360,,Rural
265
+ LP002433,Male,Yes,1,Graduate,No,18840,0,234,360,1,Rural
266
+ LP002440,Male,Yes,2,Graduate,No,2995,1120,184,360,1,Rural
267
+ LP002441,Male,No,,Graduate,No,3579,3308,138,360,,Semiurban
268
+ LP002442,Female,Yes,1,Not Graduate,No,3835,1400,112,480,0,Urban
269
+ LP002445,Female,No,1,Not Graduate,No,3854,3575,117,360,1,Rural
270
+ LP002450,Male,Yes,2,Graduate,No,5833,750,49,360,0,Rural
271
+ LP002471,Male,No,0,Graduate,No,3508,0,99,360,1,Rural
272
+ LP002476,Female,Yes,3+,Not Graduate,No,1635,2444,99,360,1,Urban
273
+ LP002482,Female,No,0,Graduate,Yes,3333,3916,212,360,1,Rural
274
+ LP002485,Male,No,1,Graduate,No,24797,0,240,360,1,Semiurban
275
+ LP002495,Male,Yes,2,Graduate,No,5667,440,130,360,0,Semiurban
276
+ LP002496,Female,No,0,Graduate,No,3500,0,94,360,0,Semiurban
277
+ LP002523,Male,Yes,3+,Graduate,No,2773,1497,108,360,1,Semiurban
278
+ LP002542,Male,Yes,0,Graduate,,6500,0,144,360,1,Urban
279
+ LP002550,Female,No,0,Graduate,No,5769,0,110,180,1,Semiurban
280
+ LP002551,Male,Yes,3+,Not Graduate,,3634,910,176,360,0,Semiurban
281
+ LP002553,,No,0,Graduate,No,29167,0,185,360,1,Semiurban
282
+ LP002554,Male,No,0,Graduate,No,2166,2057,122,360,1,Semiurban
283
+ LP002561,Male,Yes,0,Graduate,No,5000,0,126,360,1,Rural
284
+ LP002566,Female,No,0,Graduate,No,5530,0,135,360,,Urban
285
+ LP002568,Male,No,0,Not Graduate,No,9000,0,122,360,1,Rural
286
+ LP002570,Female,Yes,2,Graduate,No,10000,11666,460,360,1,Urban
287
+ LP002572,Male,Yes,1,Graduate,,8750,0,297,360,1,Urban
288
+ LP002581,Male,Yes,0,Not Graduate,No,2157,2730,140,360,,Rural
289
+ LP002584,Male,No,0,Graduate,,1972,4347,106,360,1,Rural
290
+ LP002592,Male,No,0,Graduate,No,4983,0,141,360,1,Urban
291
+ LP002593,Male,Yes,1,Graduate,No,8333,4000,,360,1,Urban
292
+ LP002599,Male,Yes,0,Graduate,No,3667,2000,170,360,1,Semiurban
293
+ LP002604,Male,Yes,2,Graduate,No,3166,2833,145,360,1,Urban
294
+ LP002605,Male,No,0,Not Graduate,No,3271,0,90,360,1,Rural
295
+ LP002609,Female,Yes,0,Graduate,No,2241,2000,88,360,0,Urban
296
+ LP002610,Male,Yes,1,Not Graduate,,1792,2565,128,360,1,Urban
297
+ LP002612,Female,Yes,0,Graduate,No,2666,0,84,480,1,Semiurban
298
+ LP002614,,No,0,Graduate,No,6478,0,108,360,1,Semiurban
299
+ LP002630,Male,No,0,Not Graduate,,3808,0,83,360,1,Rural
300
+ LP002635,Female,Yes,2,Not Graduate,No,3729,0,117,360,1,Semiurban
301
+ LP002639,Male,Yes,2,Graduate,No,4120,0,128,360,1,Rural
302
+ LP002644,Male,Yes,1,Graduate,Yes,7500,0,75,360,1,Urban
303
+ LP002651,Male,Yes,1,Graduate,,6300,0,125,360,0,Urban
304
+ LP002654,Female,No,,Graduate,Yes,14987,0,177,360,1,Rural
305
+ LP002657,,Yes,1,Not Graduate,Yes,570,2125,68,360,1,Rural
306
+ LP002711,Male,Yes,0,Graduate,No,2600,700,96,360,1,Semiurban
307
+ LP002712,Male,No,2,Not Graduate,No,2733,1083,180,360,,Semiurban
308
+ LP002721,Male,Yes,2,Graduate,Yes,7500,0,183,360,1,Rural
309
+ LP002735,Male,Yes,2,Not Graduate,No,3859,0,121,360,1,Rural
310
+ LP002744,Male,Yes,1,Graduate,No,6825,0,162,360,1,Rural
311
+ LP002745,Male,Yes,0,Graduate,No,3708,4700,132,360,1,Semiurban
312
+ LP002746,Male,No,0,Graduate,No,5314,0,147,360,1,Urban
313
+ LP002747,Female,No,3+,Graduate,No,2366,5272,153,360,0,Rural
314
+ LP002754,Male,No,,Graduate,No,2066,2108,104,84,1,Urban
315
+ LP002759,Male,Yes,2,Graduate,No,5000,0,149,360,1,Rural
316
+ LP002760,Female,No,0,Graduate,No,3767,0,134,300,1,Urban
317
+ LP002766,Female,Yes,0,Graduate,No,7859,879,165,180,1,Semiurban
318
+ LP002769,Female,Yes,0,Graduate,No,4283,0,120,360,1,Rural
319
+ LP002774,Male,Yes,0,Not Graduate,No,1700,2900,67,360,0,Urban
320
+ LP002775,,No,0,Not Graduate,No,4768,0,125,360,1,Rural
321
+ LP002781,Male,No,0,Graduate,No,3083,2738,120,360,1,Urban
322
+ LP002782,Male,Yes,1,Graduate,No,2667,1542,148,360,1,Rural
323
+ LP002786,Female,Yes,0,Not Graduate,No,1647,1762,181,360,1,Urban
324
+ LP002790,Male,Yes,3+,Graduate,No,3400,0,80,120,1,Urban
325
+ LP002791,Male,No,1,Graduate,,16000,5000,40,360,1,Semiurban
326
+ LP002793,Male,Yes,0,Graduate,No,5333,0,90,360,1,Rural
327
+ LP002802,Male,No,0,Graduate,No,2875,2416,95,6,0,Semiurban
328
+ LP002803,Male,Yes,1,Not Graduate,,2600,618,122,360,1,Semiurban
329
+ LP002805,Male,Yes,2,Graduate,No,5041,700,150,360,1,Urban
330
+ LP002806,Male,Yes,3+,Graduate,Yes,6958,1411,150,360,1,Rural
331
+ LP002816,Male,Yes,1,Graduate,No,3500,1658,104,360,,Semiurban
332
+ LP002823,Male,Yes,0,Graduate,No,5509,0,143,360,1,Rural
333
+ LP002825,Male,Yes,3+,Graduate,No,9699,0,300,360,1,Urban
334
+ LP002826,Female,Yes,1,Not Graduate,No,3621,2717,171,360,1,Urban
335
+ LP002843,Female,Yes,0,Graduate,No,4709,0,113,360,1,Semiurban
336
+ LP002849,Male,Yes,0,Graduate,No,1516,1951,35,360,1,Semiurban
337
+ LP002850,Male,No,2,Graduate,No,2400,0,46,360,1,Urban
338
+ LP002853,Female,No,0,Not Graduate,No,3015,2000,145,360,,Urban
339
+ LP002856,Male,Yes,0,Graduate,No,2292,1558,119,360,1,Urban
340
+ LP002857,Male,Yes,1,Graduate,Yes,2360,3355,87,240,1,Rural
341
+ LP002858,Female,No,0,Graduate,No,4333,2333,162,360,0,Rural
342
+ LP002860,Male,Yes,0,Graduate,Yes,2623,4831,122,180,1,Semiurban
343
+ LP002867,Male,No,0,Graduate,Yes,3972,4275,187,360,1,Rural
344
+ LP002869,Male,Yes,3+,Not Graduate,No,3522,0,81,180,1,Rural
345
+ LP002870,Male,Yes,1,Graduate,No,4700,0,80,360,1,Urban
346
+ LP002876,Male,No,0,Graduate,No,6858,0,176,360,1,Rural
347
+ LP002878,Male,Yes,3+,Graduate,No,8334,0,260,360,1,Urban
348
+ LP002879,Male,Yes,0,Graduate,No,3391,1966,133,360,0,Rural
349
+ LP002885,Male,No,0,Not Graduate,No,2868,0,70,360,1,Urban
350
+ LP002890,Male,Yes,2,Not Graduate,No,3418,1380,135,360,1,Urban
351
+ LP002891,Male,Yes,0,Graduate,Yes,2500,296,137,300,1,Rural
352
+ LP002899,Male,Yes,2,Graduate,No,8667,0,254,360,1,Rural
353
+ LP002901,Male,No,0,Graduate,No,2283,15000,106,360,,Rural
354
+ LP002907,Male,Yes,0,Graduate,No,5817,910,109,360,1,Urban
355
+ LP002920,Male,Yes,0,Graduate,No,5119,3769,120,360,1,Rural
356
+ LP002921,Male,Yes,3+,Not Graduate,No,5316,187,158,180,0,Semiurban
357
+ LP002932,Male,Yes,3+,Graduate,No,7603,1213,197,360,1,Urban
358
+ LP002935,Male,Yes,1,Graduate,No,3791,1936,85,360,1,Urban
359
+ LP002952,Male,No,0,Graduate,No,2500,0,60,360,1,Urban
360
+ LP002954,Male,Yes,2,Not Graduate,No,3132,0,76,360,,Rural
361
+ LP002962,Male,No,0,Graduate,No,4000,2667,152,360,1,Semiurban
362
+ LP002965,Female,Yes,0,Graduate,No,8550,4255,96,360,,Urban
363
+ LP002969,Male,Yes,1,Graduate,No,2269,2167,99,360,1,Semiurban
364
+ LP002971,Male,Yes,3+,Not Graduate,Yes,4009,1777,113,360,1,Urban
365
+ LP002975,Male,Yes,0,Graduate,No,4158,709,115,360,1,Urban
366
+ LP002980,Male,No,0,Graduate,No,3250,1993,126,360,,Semiurban
367
+ LP002986,Male,Yes,0,Graduate,No,5000,2393,158,360,1,Rural
368
+ LP002989,Male,No,0,Graduate,Yes,9200,0,98,180,1,Rural
Sample Dataset/Predictive analytics/Loan_Approval_prediction/train.csv ADDED
@@ -0,0 +1,615 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Loan_ID,Gender,Married,Dependents,Education,Self_Employed,ApplicantIncome,CoapplicantIncome,LoanAmount,Loan_Amount_Term,Credit_History,Property_Area,Loan_Status
2
+ LP001002,Male,No,0,Graduate,No,5849,0,,360,1,Urban,Y
3
+ LP001003,Male,Yes,1,Graduate,No,4583,1508,128,360,1,Rural,N
4
+ LP001005,Male,Yes,0,Graduate,Yes,3000,0,66,360,1,Urban,Y
5
+ LP001006,Male,Yes,0,Not Graduate,No,2583,2358,120,360,1,Urban,Y
6
+ LP001008,Male,No,0,Graduate,No,6000,0,141,360,1,Urban,Y
7
+ LP001011,Male,Yes,2,Graduate,Yes,5417,4196,267,360,1,Urban,Y
8
+ LP001013,Male,Yes,0,Not Graduate,No,2333,1516,95,360,1,Urban,Y
9
+ LP001014,Male,Yes,3+,Graduate,No,3036,2504,158,360,0,Semiurban,N
10
+ LP001018,Male,Yes,2,Graduate,No,4006,1526,168,360,1,Urban,Y
11
+ LP001020,Male,Yes,1,Graduate,No,12841,10968,349,360,1,Semiurban,N
12
+ LP001024,Male,Yes,2,Graduate,No,3200,700,70,360,1,Urban,Y
13
+ LP001027,Male,Yes,2,Graduate,,2500,1840,109,360,1,Urban,Y
14
+ LP001028,Male,Yes,2,Graduate,No,3073,8106,200,360,1,Urban,Y
15
+ LP001029,Male,No,0,Graduate,No,1853,2840,114,360,1,Rural,N
16
+ LP001030,Male,Yes,2,Graduate,No,1299,1086,17,120,1,Urban,Y
17
+ LP001032,Male,No,0,Graduate,No,4950,0,125,360,1,Urban,Y
18
+ LP001034,Male,No,1,Not Graduate,No,3596,0,100,240,,Urban,Y
19
+ LP001036,Female,No,0,Graduate,No,3510,0,76,360,0,Urban,N
20
+ LP001038,Male,Yes,0,Not Graduate,No,4887,0,133,360,1,Rural,N
21
+ LP001041,Male,Yes,0,Graduate,,2600,3500,115,,1,Urban,Y
22
+ LP001043,Male,Yes,0,Not Graduate,No,7660,0,104,360,0,Urban,N
23
+ LP001046,Male,Yes,1,Graduate,No,5955,5625,315,360,1,Urban,Y
24
+ LP001047,Male,Yes,0,Not Graduate,No,2600,1911,116,360,0,Semiurban,N
25
+ LP001050,,Yes,2,Not Graduate,No,3365,1917,112,360,0,Rural,N
26
+ LP001052,Male,Yes,1,Graduate,,3717,2925,151,360,,Semiurban,N
27
+ LP001066,Male,Yes,0,Graduate,Yes,9560,0,191,360,1,Semiurban,Y
28
+ LP001068,Male,Yes,0,Graduate,No,2799,2253,122,360,1,Semiurban,Y
29
+ LP001073,Male,Yes,2,Not Graduate,No,4226,1040,110,360,1,Urban,Y
30
+ LP001086,Male,No,0,Not Graduate,No,1442,0,35,360,1,Urban,N
31
+ LP001087,Female,No,2,Graduate,,3750,2083,120,360,1,Semiurban,Y
32
+ LP001091,Male,Yes,1,Graduate,,4166,3369,201,360,,Urban,N
33
+ LP001095,Male,No,0,Graduate,No,3167,0,74,360,1,Urban,N
34
+ LP001097,Male,No,1,Graduate,Yes,4692,0,106,360,1,Rural,N
35
+ LP001098,Male,Yes,0,Graduate,No,3500,1667,114,360,1,Semiurban,Y
36
+ LP001100,Male,No,3+,Graduate,No,12500,3000,320,360,1,Rural,N
37
+ LP001106,Male,Yes,0,Graduate,No,2275,2067,,360,1,Urban,Y
38
+ LP001109,Male,Yes,0,Graduate,No,1828,1330,100,,0,Urban,N
39
+ LP001112,Female,Yes,0,Graduate,No,3667,1459,144,360,1,Semiurban,Y
40
+ LP001114,Male,No,0,Graduate,No,4166,7210,184,360,1,Urban,Y
41
+ LP001116,Male,No,0,Not Graduate,No,3748,1668,110,360,1,Semiurban,Y
42
+ LP001119,Male,No,0,Graduate,No,3600,0,80,360,1,Urban,N
43
+ LP001120,Male,No,0,Graduate,No,1800,1213,47,360,1,Urban,Y
44
+ LP001123,Male,Yes,0,Graduate,No,2400,0,75,360,,Urban,Y
45
+ LP001131,Male,Yes,0,Graduate,No,3941,2336,134,360,1,Semiurban,Y
46
+ LP001136,Male,Yes,0,Not Graduate,Yes,4695,0,96,,1,Urban,Y
47
+ LP001137,Female,No,0,Graduate,No,3410,0,88,,1,Urban,Y
48
+ LP001138,Male,Yes,1,Graduate,No,5649,0,44,360,1,Urban,Y
49
+ LP001144,Male,Yes,0,Graduate,No,5821,0,144,360,1,Urban,Y
50
+ LP001146,Female,Yes,0,Graduate,No,2645,3440,120,360,0,Urban,N
51
+ LP001151,Female,No,0,Graduate,No,4000,2275,144,360,1,Semiurban,Y
52
+ LP001155,Female,Yes,0,Not Graduate,No,1928,1644,100,360,1,Semiurban,Y
53
+ LP001157,Female,No,0,Graduate,No,3086,0,120,360,1,Semiurban,Y
54
+ LP001164,Female,No,0,Graduate,No,4230,0,112,360,1,Semiurban,N
55
+ LP001179,Male,Yes,2,Graduate,No,4616,0,134,360,1,Urban,N
56
+ LP001186,Female,Yes,1,Graduate,Yes,11500,0,286,360,0,Urban,N
57
+ LP001194,Male,Yes,2,Graduate,No,2708,1167,97,360,1,Semiurban,Y
58
+ LP001195,Male,Yes,0,Graduate,No,2132,1591,96,360,1,Semiurban,Y
59
+ LP001197,Male,Yes,0,Graduate,No,3366,2200,135,360,1,Rural,N
60
+ LP001198,Male,Yes,1,Graduate,No,8080,2250,180,360,1,Urban,Y
61
+ LP001199,Male,Yes,2,Not Graduate,No,3357,2859,144,360,1,Urban,Y
62
+ LP001205,Male,Yes,0,Graduate,No,2500,3796,120,360,1,Urban,Y
63
+ LP001206,Male,Yes,3+,Graduate,No,3029,0,99,360,1,Urban,Y
64
+ LP001207,Male,Yes,0,Not Graduate,Yes,2609,3449,165,180,0,Rural,N
65
+ LP001213,Male,Yes,1,Graduate,No,4945,0,,360,0,Rural,N
66
+ LP001222,Female,No,0,Graduate,No,4166,0,116,360,0,Semiurban,N
67
+ LP001225,Male,Yes,0,Graduate,No,5726,4595,258,360,1,Semiurban,N
68
+ LP001228,Male,No,0,Not Graduate,No,3200,2254,126,180,0,Urban,N
69
+ LP001233,Male,Yes,1,Graduate,No,10750,0,312,360,1,Urban,Y
70
+ LP001238,Male,Yes,3+,Not Graduate,Yes,7100,0,125,60,1,Urban,Y
71
+ LP001241,Female,No,0,Graduate,No,4300,0,136,360,0,Semiurban,N
72
+ LP001243,Male,Yes,0,Graduate,No,3208,3066,172,360,1,Urban,Y
73
+ LP001245,Male,Yes,2,Not Graduate,Yes,1875,1875,97,360,1,Semiurban,Y
74
+ LP001248,Male,No,0,Graduate,No,3500,0,81,300,1,Semiurban,Y
75
+ LP001250,Male,Yes,3+,Not Graduate,No,4755,0,95,,0,Semiurban,N
76
+ LP001253,Male,Yes,3+,Graduate,Yes,5266,1774,187,360,1,Semiurban,Y
77
+ LP001255,Male,No,0,Graduate,No,3750,0,113,480,1,Urban,N
78
+ LP001256,Male,No,0,Graduate,No,3750,4750,176,360,1,Urban,N
79
+ LP001259,Male,Yes,1,Graduate,Yes,1000,3022,110,360,1,Urban,N
80
+ LP001263,Male,Yes,3+,Graduate,No,3167,4000,180,300,0,Semiurban,N
81
+ LP001264,Male,Yes,3+,Not Graduate,Yes,3333,2166,130,360,,Semiurban,Y
82
+ LP001265,Female,No,0,Graduate,No,3846,0,111,360,1,Semiurban,Y
83
+ LP001266,Male,Yes,1,Graduate,Yes,2395,0,,360,1,Semiurban,Y
84
+ LP001267,Female,Yes,2,Graduate,No,1378,1881,167,360,1,Urban,N
85
+ LP001273,Male,Yes,0,Graduate,No,6000,2250,265,360,,Semiurban,N
86
+ LP001275,Male,Yes,1,Graduate,No,3988,0,50,240,1,Urban,Y
87
+ LP001279,Male,No,0,Graduate,No,2366,2531,136,360,1,Semiurban,Y
88
+ LP001280,Male,Yes,2,Not Graduate,No,3333,2000,99,360,,Semiurban,Y
89
+ LP001282,Male,Yes,0,Graduate,No,2500,2118,104,360,1,Semiurban,Y
90
+ LP001289,Male,No,0,Graduate,No,8566,0,210,360,1,Urban,Y
91
+ LP001310,Male,Yes,0,Graduate,No,5695,4167,175,360,1,Semiurban,Y
92
+ LP001316,Male,Yes,0,Graduate,No,2958,2900,131,360,1,Semiurban,Y
93
+ LP001318,Male,Yes,2,Graduate,No,6250,5654,188,180,1,Semiurban,Y
94
+ LP001319,Male,Yes,2,Not Graduate,No,3273,1820,81,360,1,Urban,Y
95
+ LP001322,Male,No,0,Graduate,No,4133,0,122,360,1,Semiurban,Y
96
+ LP001325,Male,No,0,Not Graduate,No,3620,0,25,120,1,Semiurban,Y
97
+ LP001326,Male,No,0,Graduate,,6782,0,,360,,Urban,N
98
+ LP001327,Female,Yes,0,Graduate,No,2484,2302,137,360,1,Semiurban,Y
99
+ LP001333,Male,Yes,0,Graduate,No,1977,997,50,360,1,Semiurban,Y
100
+ LP001334,Male,Yes,0,Not Graduate,No,4188,0,115,180,1,Semiurban,Y
101
+ LP001343,Male,Yes,0,Graduate,No,1759,3541,131,360,1,Semiurban,Y
102
+ LP001345,Male,Yes,2,Not Graduate,No,4288,3263,133,180,1,Urban,Y
103
+ LP001349,Male,No,0,Graduate,No,4843,3806,151,360,1,Semiurban,Y
104
+ LP001350,Male,Yes,,Graduate,No,13650,0,,360,1,Urban,Y
105
+ LP001356,Male,Yes,0,Graduate,No,4652,3583,,360,1,Semiurban,Y
106
+ LP001357,Male,,,Graduate,No,3816,754,160,360,1,Urban,Y
107
+ LP001367,Male,Yes,1,Graduate,No,3052,1030,100,360,1,Urban,Y
108
+ LP001369,Male,Yes,2,Graduate,No,11417,1126,225,360,1,Urban,Y
109
+ LP001370,Male,No,0,Not Graduate,,7333,0,120,360,1,Rural,N
110
+ LP001379,Male,Yes,2,Graduate,No,3800,3600,216,360,0,Urban,N
111
+ LP001384,Male,Yes,3+,Not Graduate,No,2071,754,94,480,1,Semiurban,Y
112
+ LP001385,Male,No,0,Graduate,No,5316,0,136,360,1,Urban,Y
113
+ LP001387,Female,Yes,0,Graduate,,2929,2333,139,360,1,Semiurban,Y
114
+ LP001391,Male,Yes,0,Not Graduate,No,3572,4114,152,,0,Rural,N
115
+ LP001392,Female,No,1,Graduate,Yes,7451,0,,360,1,Semiurban,Y
116
+ LP001398,Male,No,0,Graduate,,5050,0,118,360,1,Semiurban,Y
117
+ LP001401,Male,Yes,1,Graduate,No,14583,0,185,180,1,Rural,Y
118
+ LP001404,Female,Yes,0,Graduate,No,3167,2283,154,360,1,Semiurban,Y
119
+ LP001405,Male,Yes,1,Graduate,No,2214,1398,85,360,,Urban,Y
120
+ LP001421,Male,Yes,0,Graduate,No,5568,2142,175,360,1,Rural,N
121
+ LP001422,Female,No,0,Graduate,No,10408,0,259,360,1,Urban,Y
122
+ LP001426,Male,Yes,,Graduate,No,5667,2667,180,360,1,Rural,Y
123
+ LP001430,Female,No,0,Graduate,No,4166,0,44,360,1,Semiurban,Y
124
+ LP001431,Female,No,0,Graduate,No,2137,8980,137,360,0,Semiurban,Y
125
+ LP001432,Male,Yes,2,Graduate,No,2957,0,81,360,1,Semiurban,Y
126
+ LP001439,Male,Yes,0,Not Graduate,No,4300,2014,194,360,1,Rural,Y
127
+ LP001443,Female,No,0,Graduate,No,3692,0,93,360,,Rural,Y
128
+ LP001448,,Yes,3+,Graduate,No,23803,0,370,360,1,Rural,Y
129
+ LP001449,Male,No,0,Graduate,No,3865,1640,,360,1,Rural,Y
130
+ LP001451,Male,Yes,1,Graduate,Yes,10513,3850,160,180,0,Urban,N
131
+ LP001465,Male,Yes,0,Graduate,No,6080,2569,182,360,,Rural,N
132
+ LP001469,Male,No,0,Graduate,Yes,20166,0,650,480,,Urban,Y
133
+ LP001473,Male,No,0,Graduate,No,2014,1929,74,360,1,Urban,Y
134
+ LP001478,Male,No,0,Graduate,No,2718,0,70,360,1,Semiurban,Y
135
+ LP001482,Male,Yes,0,Graduate,Yes,3459,0,25,120,1,Semiurban,Y
136
+ LP001487,Male,No,0,Graduate,No,4895,0,102,360,1,Semiurban,Y
137
+ LP001488,Male,Yes,3+,Graduate,No,4000,7750,290,360,1,Semiurban,N
138
+ LP001489,Female,Yes,0,Graduate,No,4583,0,84,360,1,Rural,N
139
+ LP001491,Male,Yes,2,Graduate,Yes,3316,3500,88,360,1,Urban,Y
140
+ LP001492,Male,No,0,Graduate,No,14999,0,242,360,0,Semiurban,N
141
+ LP001493,Male,Yes,2,Not Graduate,No,4200,1430,129,360,1,Rural,N
142
+ LP001497,Male,Yes,2,Graduate,No,5042,2083,185,360,1,Rural,N
143
+ LP001498,Male,No,0,Graduate,No,5417,0,168,360,1,Urban,Y
144
+ LP001504,Male,No,0,Graduate,Yes,6950,0,175,180,1,Semiurban,Y
145
+ LP001507,Male,Yes,0,Graduate,No,2698,2034,122,360,1,Semiurban,Y
146
+ LP001508,Male,Yes,2,Graduate,No,11757,0,187,180,1,Urban,Y
147
+ LP001514,Female,Yes,0,Graduate,No,2330,4486,100,360,1,Semiurban,Y
148
+ LP001516,Female,Yes,2,Graduate,No,14866,0,70,360,1,Urban,Y
149
+ LP001518,Male,Yes,1,Graduate,No,1538,1425,30,360,1,Urban,Y
150
+ LP001519,Female,No,0,Graduate,No,10000,1666,225,360,1,Rural,N
151
+ LP001520,Male,Yes,0,Graduate,No,4860,830,125,360,1,Semiurban,Y
152
+ LP001528,Male,No,0,Graduate,No,6277,0,118,360,0,Rural,N
153
+ LP001529,Male,Yes,0,Graduate,Yes,2577,3750,152,360,1,Rural,Y
154
+ LP001531,Male,No,0,Graduate,No,9166,0,244,360,1,Urban,N
155
+ LP001532,Male,Yes,2,Not Graduate,No,2281,0,113,360,1,Rural,N
156
+ LP001535,Male,No,0,Graduate,No,3254,0,50,360,1,Urban,Y
157
+ LP001536,Male,Yes,3+,Graduate,No,39999,0,600,180,0,Semiurban,Y
158
+ LP001541,Male,Yes,1,Graduate,No,6000,0,160,360,,Rural,Y
159
+ LP001543,Male,Yes,1,Graduate,No,9538,0,187,360,1,Urban,Y
160
+ LP001546,Male,No,0,Graduate,,2980,2083,120,360,1,Rural,Y
161
+ LP001552,Male,Yes,0,Graduate,No,4583,5625,255,360,1,Semiurban,Y
162
+ LP001560,Male,Yes,0,Not Graduate,No,1863,1041,98,360,1,Semiurban,Y
163
+ LP001562,Male,Yes,0,Graduate,No,7933,0,275,360,1,Urban,N
164
+ LP001565,Male,Yes,1,Graduate,No,3089,1280,121,360,0,Semiurban,N
165
+ LP001570,Male,Yes,2,Graduate,No,4167,1447,158,360,1,Rural,Y
166
+ LP001572,Male,Yes,0,Graduate,No,9323,0,75,180,1,Urban,Y
167
+ LP001574,Male,Yes,0,Graduate,No,3707,3166,182,,1,Rural,Y
168
+ LP001577,Female,Yes,0,Graduate,No,4583,0,112,360,1,Rural,N
169
+ LP001578,Male,Yes,0,Graduate,No,2439,3333,129,360,1,Rural,Y
170
+ LP001579,Male,No,0,Graduate,No,2237,0,63,480,0,Semiurban,N
171
+ LP001580,Male,Yes,2,Graduate,No,8000,0,200,360,1,Semiurban,Y
172
+ LP001581,Male,Yes,0,Not Graduate,,1820,1769,95,360,1,Rural,Y
173
+ LP001585,,Yes,3+,Graduate,No,51763,0,700,300,1,Urban,Y
174
+ LP001586,Male,Yes,3+,Not Graduate,No,3522,0,81,180,1,Rural,N
175
+ LP001594,Male,Yes,0,Graduate,No,5708,5625,187,360,1,Semiurban,Y
176
+ LP001603,Male,Yes,0,Not Graduate,Yes,4344,736,87,360,1,Semiurban,N
177
+ LP001606,Male,Yes,0,Graduate,No,3497,1964,116,360,1,Rural,Y
178
+ LP001608,Male,Yes,2,Graduate,No,2045,1619,101,360,1,Rural,Y
179
+ LP001610,Male,Yes,3+,Graduate,No,5516,11300,495,360,0,Semiurban,N
180
+ LP001616,Male,Yes,1,Graduate,No,3750,0,116,360,1,Semiurban,Y
181
+ LP001630,Male,No,0,Not Graduate,No,2333,1451,102,480,0,Urban,N
182
+ LP001633,Male,Yes,1,Graduate,No,6400,7250,180,360,0,Urban,N
183
+ LP001634,Male,No,0,Graduate,No,1916,5063,67,360,,Rural,N
184
+ LP001636,Male,Yes,0,Graduate,No,4600,0,73,180,1,Semiurban,Y
185
+ LP001637,Male,Yes,1,Graduate,No,33846,0,260,360,1,Semiurban,N
186
+ LP001639,Female,Yes,0,Graduate,No,3625,0,108,360,1,Semiurban,Y
187
+ LP001640,Male,Yes,0,Graduate,Yes,39147,4750,120,360,1,Semiurban,Y
188
+ LP001641,Male,Yes,1,Graduate,Yes,2178,0,66,300,0,Rural,N
189
+ LP001643,Male,Yes,0,Graduate,No,2383,2138,58,360,,Rural,Y
190
+ LP001644,,Yes,0,Graduate,Yes,674,5296,168,360,1,Rural,Y
191
+ LP001647,Male,Yes,0,Graduate,No,9328,0,188,180,1,Rural,Y
192
+ LP001653,Male,No,0,Not Graduate,No,4885,0,48,360,1,Rural,Y
193
+ LP001656,Male,No,0,Graduate,No,12000,0,164,360,1,Semiurban,N
194
+ LP001657,Male,Yes,0,Not Graduate,No,6033,0,160,360,1,Urban,N
195
+ LP001658,Male,No,0,Graduate,No,3858,0,76,360,1,Semiurban,Y
196
+ LP001664,Male,No,0,Graduate,No,4191,0,120,360,1,Rural,Y
197
+ LP001665,Male,Yes,1,Graduate,No,3125,2583,170,360,1,Semiurban,N
198
+ LP001666,Male,No,0,Graduate,No,8333,3750,187,360,1,Rural,Y
199
+ LP001669,Female,No,0,Not Graduate,No,1907,2365,120,,1,Urban,Y
200
+ LP001671,Female,Yes,0,Graduate,No,3416,2816,113,360,,Semiurban,Y
201
+ LP001673,Male,No,0,Graduate,Yes,11000,0,83,360,1,Urban,N
202
+ LP001674,Male,Yes,1,Not Graduate,No,2600,2500,90,360,1,Semiurban,Y
203
+ LP001677,Male,No,2,Graduate,No,4923,0,166,360,0,Semiurban,Y
204
+ LP001682,Male,Yes,3+,Not Graduate,No,3992,0,,180,1,Urban,N
205
+ LP001688,Male,Yes,1,Not Graduate,No,3500,1083,135,360,1,Urban,Y
206
+ LP001691,Male,Yes,2,Not Graduate,No,3917,0,124,360,1,Semiurban,Y
207
+ LP001692,Female,No,0,Not Graduate,No,4408,0,120,360,1,Semiurban,Y
208
+ LP001693,Female,No,0,Graduate,No,3244,0,80,360,1,Urban,Y
209
+ LP001698,Male,No,0,Not Graduate,No,3975,2531,55,360,1,Rural,Y
210
+ LP001699,Male,No,0,Graduate,No,2479,0,59,360,1,Urban,Y
211
+ LP001702,Male,No,0,Graduate,No,3418,0,127,360,1,Semiurban,N
212
+ LP001708,Female,No,0,Graduate,No,10000,0,214,360,1,Semiurban,N
213
+ LP001711,Male,Yes,3+,Graduate,No,3430,1250,128,360,0,Semiurban,N
214
+ LP001713,Male,Yes,1,Graduate,Yes,7787,0,240,360,1,Urban,Y
215
+ LP001715,Male,Yes,3+,Not Graduate,Yes,5703,0,130,360,1,Rural,Y
216
+ LP001716,Male,Yes,0,Graduate,No,3173,3021,137,360,1,Urban,Y
217
+ LP001720,Male,Yes,3+,Not Graduate,No,3850,983,100,360,1,Semiurban,Y
218
+ LP001722,Male,Yes,0,Graduate,No,150,1800,135,360,1,Rural,N
219
+ LP001726,Male,Yes,0,Graduate,No,3727,1775,131,360,1,Semiurban,Y
220
+ LP001732,Male,Yes,2,Graduate,,5000,0,72,360,0,Semiurban,N
221
+ LP001734,Female,Yes,2,Graduate,No,4283,2383,127,360,,Semiurban,Y
222
+ LP001736,Male,Yes,0,Graduate,No,2221,0,60,360,0,Urban,N
223
+ LP001743,Male,Yes,2,Graduate,No,4009,1717,116,360,1,Semiurban,Y
224
+ LP001744,Male,No,0,Graduate,No,2971,2791,144,360,1,Semiurban,Y
225
+ LP001749,Male,Yes,0,Graduate,No,7578,1010,175,,1,Semiurban,Y
226
+ LP001750,Male,Yes,0,Graduate,No,6250,0,128,360,1,Semiurban,Y
227
+ LP001751,Male,Yes,0,Graduate,No,3250,0,170,360,1,Rural,N
228
+ LP001754,Male,Yes,,Not Graduate,Yes,4735,0,138,360,1,Urban,N
229
+ LP001758,Male,Yes,2,Graduate,No,6250,1695,210,360,1,Semiurban,Y
230
+ LP001760,Male,,,Graduate,No,4758,0,158,480,1,Semiurban,Y
231
+ LP001761,Male,No,0,Graduate,Yes,6400,0,200,360,1,Rural,Y
232
+ LP001765,Male,Yes,1,Graduate,No,2491,2054,104,360,1,Semiurban,Y
233
+ LP001768,Male,Yes,0,Graduate,,3716,0,42,180,1,Rural,Y
234
+ LP001770,Male,No,0,Not Graduate,No,3189,2598,120,,1,Rural,Y
235
+ LP001776,Female,No,0,Graduate,No,8333,0,280,360,1,Semiurban,Y
236
+ LP001778,Male,Yes,1,Graduate,No,3155,1779,140,360,1,Semiurban,Y
237
+ LP001784,Male,Yes,1,Graduate,No,5500,1260,170,360,1,Rural,Y
238
+ LP001786,Male,Yes,0,Graduate,,5746,0,255,360,,Urban,N
239
+ LP001788,Female,No,0,Graduate,Yes,3463,0,122,360,,Urban,Y
240
+ LP001790,Female,No,1,Graduate,No,3812,0,112,360,1,Rural,Y
241
+ LP001792,Male,Yes,1,Graduate,No,3315,0,96,360,1,Semiurban,Y
242
+ LP001798,Male,Yes,2,Graduate,No,5819,5000,120,360,1,Rural,Y
243
+ LP001800,Male,Yes,1,Not Graduate,No,2510,1983,140,180,1,Urban,N
244
+ LP001806,Male,No,0,Graduate,No,2965,5701,155,60,1,Urban,Y
245
+ LP001807,Male,Yes,2,Graduate,Yes,6250,1300,108,360,1,Rural,Y
246
+ LP001811,Male,Yes,0,Not Graduate,No,3406,4417,123,360,1,Semiurban,Y
247
+ LP001813,Male,No,0,Graduate,Yes,6050,4333,120,180,1,Urban,N
248
+ LP001814,Male,Yes,2,Graduate,No,9703,0,112,360,1,Urban,Y
249
+ LP001819,Male,Yes,1,Not Graduate,No,6608,0,137,180,1,Urban,Y
250
+ LP001824,Male,Yes,1,Graduate,No,2882,1843,123,480,1,Semiurban,Y
251
+ LP001825,Male,Yes,0,Graduate,No,1809,1868,90,360,1,Urban,Y
252
+ LP001835,Male,Yes,0,Not Graduate,No,1668,3890,201,360,0,Semiurban,N
253
+ LP001836,Female,No,2,Graduate,No,3427,0,138,360,1,Urban,N
254
+ LP001841,Male,No,0,Not Graduate,Yes,2583,2167,104,360,1,Rural,Y
255
+ LP001843,Male,Yes,1,Not Graduate,No,2661,7101,279,180,1,Semiurban,Y
256
+ LP001844,Male,No,0,Graduate,Yes,16250,0,192,360,0,Urban,N
257
+ LP001846,Female,No,3+,Graduate,No,3083,0,255,360,1,Rural,Y
258
+ LP001849,Male,No,0,Not Graduate,No,6045,0,115,360,0,Rural,N
259
+ LP001854,Male,Yes,3+,Graduate,No,5250,0,94,360,1,Urban,N
260
+ LP001859,Male,Yes,0,Graduate,No,14683,2100,304,360,1,Rural,N
261
+ LP001864,Male,Yes,3+,Not Graduate,No,4931,0,128,360,,Semiurban,N
262
+ LP001865,Male,Yes,1,Graduate,No,6083,4250,330,360,,Urban,Y
263
+ LP001868,Male,No,0,Graduate,No,2060,2209,134,360,1,Semiurban,Y
264
+ LP001870,Female,No,1,Graduate,No,3481,0,155,36,1,Semiurban,N
265
+ LP001871,Female,No,0,Graduate,No,7200,0,120,360,1,Rural,Y
266
+ LP001872,Male,No,0,Graduate,Yes,5166,0,128,360,1,Semiurban,Y
267
+ LP001875,Male,No,0,Graduate,No,4095,3447,151,360,1,Rural,Y
268
+ LP001877,Male,Yes,2,Graduate,No,4708,1387,150,360,1,Semiurban,Y
269
+ LP001882,Male,Yes,3+,Graduate,No,4333,1811,160,360,0,Urban,Y
270
+ LP001883,Female,No,0,Graduate,,3418,0,135,360,1,Rural,N
271
+ LP001884,Female,No,1,Graduate,No,2876,1560,90,360,1,Urban,Y
272
+ LP001888,Female,No,0,Graduate,No,3237,0,30,360,1,Urban,Y
273
+ LP001891,Male,Yes,0,Graduate,No,11146,0,136,360,1,Urban,Y
274
+ LP001892,Male,No,0,Graduate,No,2833,1857,126,360,1,Rural,Y
275
+ LP001894,Male,Yes,0,Graduate,No,2620,2223,150,360,1,Semiurban,Y
276
+ LP001896,Male,Yes,2,Graduate,No,3900,0,90,360,1,Semiurban,Y
277
+ LP001900,Male,Yes,1,Graduate,No,2750,1842,115,360,1,Semiurban,Y
278
+ LP001903,Male,Yes,0,Graduate,No,3993,3274,207,360,1,Semiurban,Y
279
+ LP001904,Male,Yes,0,Graduate,No,3103,1300,80,360,1,Urban,Y
280
+ LP001907,Male,Yes,0,Graduate,No,14583,0,436,360,1,Semiurban,Y
281
+ LP001908,Female,Yes,0,Not Graduate,No,4100,0,124,360,,Rural,Y
282
+ LP001910,Male,No,1,Not Graduate,Yes,4053,2426,158,360,0,Urban,N
283
+ LP001914,Male,Yes,0,Graduate,No,3927,800,112,360,1,Semiurban,Y
284
+ LP001915,Male,Yes,2,Graduate,No,2301,985.7999878,78,180,1,Urban,Y
285
+ LP001917,Female,No,0,Graduate,No,1811,1666,54,360,1,Urban,Y
286
+ LP001922,Male,Yes,0,Graduate,No,20667,0,,360,1,Rural,N
287
+ LP001924,Male,No,0,Graduate,No,3158,3053,89,360,1,Rural,Y
288
+ LP001925,Female,No,0,Graduate,Yes,2600,1717,99,300,1,Semiurban,N
289
+ LP001926,Male,Yes,0,Graduate,No,3704,2000,120,360,1,Rural,Y
290
+ LP001931,Female,No,0,Graduate,No,4124,0,115,360,1,Semiurban,Y
291
+ LP001935,Male,No,0,Graduate,No,9508,0,187,360,1,Rural,Y
292
+ LP001936,Male,Yes,0,Graduate,No,3075,2416,139,360,1,Rural,Y
293
+ LP001938,Male,Yes,2,Graduate,No,4400,0,127,360,0,Semiurban,N
294
+ LP001940,Male,Yes,2,Graduate,No,3153,1560,134,360,1,Urban,Y
295
+ LP001945,Female,No,,Graduate,No,5417,0,143,480,0,Urban,N
296
+ LP001947,Male,Yes,0,Graduate,No,2383,3334,172,360,1,Semiurban,Y
297
+ LP001949,Male,Yes,3+,Graduate,,4416,1250,110,360,1,Urban,Y
298
+ LP001953,Male,Yes,1,Graduate,No,6875,0,200,360,1,Semiurban,Y
299
+ LP001954,Female,Yes,1,Graduate,No,4666,0,135,360,1,Urban,Y
300
+ LP001955,Female,No,0,Graduate,No,5000,2541,151,480,1,Rural,N
301
+ LP001963,Male,Yes,1,Graduate,No,2014,2925,113,360,1,Urban,N
302
+ LP001964,Male,Yes,0,Not Graduate,No,1800,2934,93,360,0,Urban,N
303
+ LP001972,Male,Yes,,Not Graduate,No,2875,1750,105,360,1,Semiurban,Y
304
+ LP001974,Female,No,0,Graduate,No,5000,0,132,360,1,Rural,Y
305
+ LP001977,Male,Yes,1,Graduate,No,1625,1803,96,360,1,Urban,Y
306
+ LP001978,Male,No,0,Graduate,No,4000,2500,140,360,1,Rural,Y
307
+ LP001990,Male,No,0,Not Graduate,No,2000,0,,360,1,Urban,N
308
+ LP001993,Female,No,0,Graduate,No,3762,1666,135,360,1,Rural,Y
309
+ LP001994,Female,No,0,Graduate,No,2400,1863,104,360,0,Urban,N
310
+ LP001996,Male,No,0,Graduate,No,20233,0,480,360,1,Rural,N
311
+ LP001998,Male,Yes,2,Not Graduate,No,7667,0,185,360,,Rural,Y
312
+ LP002002,Female,No,0,Graduate,No,2917,0,84,360,1,Semiurban,Y
313
+ LP002004,Male,No,0,Not Graduate,No,2927,2405,111,360,1,Semiurban,Y
314
+ LP002006,Female,No,0,Graduate,No,2507,0,56,360,1,Rural,Y
315
+ LP002008,Male,Yes,2,Graduate,Yes,5746,0,144,84,,Rural,Y
316
+ LP002024,,Yes,0,Graduate,No,2473,1843,159,360,1,Rural,N
317
+ LP002031,Male,Yes,1,Not Graduate,No,3399,1640,111,180,1,Urban,Y
318
+ LP002035,Male,Yes,2,Graduate,No,3717,0,120,360,1,Semiurban,Y
319
+ LP002036,Male,Yes,0,Graduate,No,2058,2134,88,360,,Urban,Y
320
+ LP002043,Female,No,1,Graduate,No,3541,0,112,360,,Semiurban,Y
321
+ LP002050,Male,Yes,1,Graduate,Yes,10000,0,155,360,1,Rural,N
322
+ LP002051,Male,Yes,0,Graduate,No,2400,2167,115,360,1,Semiurban,Y
323
+ LP002053,Male,Yes,3+,Graduate,No,4342,189,124,360,1,Semiurban,Y
324
+ LP002054,Male,Yes,2,Not Graduate,No,3601,1590,,360,1,Rural,Y
325
+ LP002055,Female,No,0,Graduate,No,3166,2985,132,360,,Rural,Y
326
+ LP002065,Male,Yes,3+,Graduate,No,15000,0,300,360,1,Rural,Y
327
+ LP002067,Male,Yes,1,Graduate,Yes,8666,4983,376,360,0,Rural,N
328
+ LP002068,Male,No,0,Graduate,No,4917,0,130,360,0,Rural,Y
329
+ LP002082,Male,Yes,0,Graduate,Yes,5818,2160,184,360,1,Semiurban,Y
330
+ LP002086,Female,Yes,0,Graduate,No,4333,2451,110,360,1,Urban,N
331
+ LP002087,Female,No,0,Graduate,No,2500,0,67,360,1,Urban,Y
332
+ LP002097,Male,No,1,Graduate,No,4384,1793,117,360,1,Urban,Y
333
+ LP002098,Male,No,0,Graduate,No,2935,0,98,360,1,Semiurban,Y
334
+ LP002100,Male,No,,Graduate,No,2833,0,71,360,1,Urban,Y
335
+ LP002101,Male,Yes,0,Graduate,,63337,0,490,180,1,Urban,Y
336
+ LP002103,,Yes,1,Graduate,Yes,9833,1833,182,180,1,Urban,Y
337
+ LP002106,Male,Yes,,Graduate,Yes,5503,4490,70,,1,Semiurban,Y
338
+ LP002110,Male,Yes,1,Graduate,,5250,688,160,360,1,Rural,Y
339
+ LP002112,Male,Yes,2,Graduate,Yes,2500,4600,176,360,1,Rural,Y
340
+ LP002113,Female,No,3+,Not Graduate,No,1830,0,,360,0,Urban,N
341
+ LP002114,Female,No,0,Graduate,No,4160,0,71,360,1,Semiurban,Y
342
+ LP002115,Male,Yes,3+,Not Graduate,No,2647,1587,173,360,1,Rural,N
343
+ LP002116,Female,No,0,Graduate,No,2378,0,46,360,1,Rural,N
344
+ LP002119,Male,Yes,1,Not Graduate,No,4554,1229,158,360,1,Urban,Y
345
+ LP002126,Male,Yes,3+,Not Graduate,No,3173,0,74,360,1,Semiurban,Y
346
+ LP002128,Male,Yes,2,Graduate,,2583,2330,125,360,1,Rural,Y
347
+ LP002129,Male,Yes,0,Graduate,No,2499,2458,160,360,1,Semiurban,Y
348
+ LP002130,Male,Yes,,Not Graduate,No,3523,3230,152,360,0,Rural,N
349
+ LP002131,Male,Yes,2,Not Graduate,No,3083,2168,126,360,1,Urban,Y
350
+ LP002137,Male,Yes,0,Graduate,No,6333,4583,259,360,,Semiurban,Y
351
+ LP002138,Male,Yes,0,Graduate,No,2625,6250,187,360,1,Rural,Y
352
+ LP002139,Male,Yes,0,Graduate,No,9083,0,228,360,1,Semiurban,Y
353
+ LP002140,Male,No,0,Graduate,No,8750,4167,308,360,1,Rural,N
354
+ LP002141,Male,Yes,3+,Graduate,No,2666,2083,95,360,1,Rural,Y
355
+ LP002142,Female,Yes,0,Graduate,Yes,5500,0,105,360,0,Rural,N
356
+ LP002143,Female,Yes,0,Graduate,No,2423,505,130,360,1,Semiurban,Y
357
+ LP002144,Female,No,,Graduate,No,3813,0,116,180,1,Urban,Y
358
+ LP002149,Male,Yes,2,Graduate,No,8333,3167,165,360,1,Rural,Y
359
+ LP002151,Male,Yes,1,Graduate,No,3875,0,67,360,1,Urban,N
360
+ LP002158,Male,Yes,0,Not Graduate,No,3000,1666,100,480,0,Urban,N
361
+ LP002160,Male,Yes,3+,Graduate,No,5167,3167,200,360,1,Semiurban,Y
362
+ LP002161,Female,No,1,Graduate,No,4723,0,81,360,1,Semiurban,N
363
+ LP002170,Male,Yes,2,Graduate,No,5000,3667,236,360,1,Semiurban,Y
364
+ LP002175,Male,Yes,0,Graduate,No,4750,2333,130,360,1,Urban,Y
365
+ LP002178,Male,Yes,0,Graduate,No,3013,3033,95,300,,Urban,Y
366
+ LP002180,Male,No,0,Graduate,Yes,6822,0,141,360,1,Rural,Y
367
+ LP002181,Male,No,0,Not Graduate,No,6216,0,133,360,1,Rural,N
368
+ LP002187,Male,No,0,Graduate,No,2500,0,96,480,1,Semiurban,N
369
+ LP002188,Male,No,0,Graduate,No,5124,0,124,,0,Rural,N
370
+ LP002190,Male,Yes,1,Graduate,No,6325,0,175,360,1,Semiurban,Y
371
+ LP002191,Male,Yes,0,Graduate,No,19730,5266,570,360,1,Rural,N
372
+ LP002194,Female,No,0,Graduate,Yes,15759,0,55,360,1,Semiurban,Y
373
+ LP002197,Male,Yes,2,Graduate,No,5185,0,155,360,1,Semiurban,Y
374
+ LP002201,Male,Yes,2,Graduate,Yes,9323,7873,380,300,1,Rural,Y
375
+ LP002205,Male,No,1,Graduate,No,3062,1987,111,180,0,Urban,N
376
+ LP002209,Female,No,0,Graduate,,2764,1459,110,360,1,Urban,Y
377
+ LP002211,Male,Yes,0,Graduate,No,4817,923,120,180,1,Urban,Y
378
+ LP002219,Male,Yes,3+,Graduate,No,8750,4996,130,360,1,Rural,Y
379
+ LP002223,Male,Yes,0,Graduate,No,4310,0,130,360,,Semiurban,Y
380
+ LP002224,Male,No,0,Graduate,No,3069,0,71,480,1,Urban,N
381
+ LP002225,Male,Yes,2,Graduate,No,5391,0,130,360,1,Urban,Y
382
+ LP002226,Male,Yes,0,Graduate,,3333,2500,128,360,1,Semiurban,Y
383
+ LP002229,Male,No,0,Graduate,No,5941,4232,296,360,1,Semiurban,Y
384
+ LP002231,Female,No,0,Graduate,No,6000,0,156,360,1,Urban,Y
385
+ LP002234,Male,No,0,Graduate,Yes,7167,0,128,360,1,Urban,Y
386
+ LP002236,Male,Yes,2,Graduate,No,4566,0,100,360,1,Urban,N
387
+ LP002237,Male,No,1,Graduate,,3667,0,113,180,1,Urban,Y
388
+ LP002239,Male,No,0,Not Graduate,No,2346,1600,132,360,1,Semiurban,Y
389
+ LP002243,Male,Yes,0,Not Graduate,No,3010,3136,,360,0,Urban,N
390
+ LP002244,Male,Yes,0,Graduate,No,2333,2417,136,360,1,Urban,Y
391
+ LP002250,Male,Yes,0,Graduate,No,5488,0,125,360,1,Rural,Y
392
+ LP002255,Male,No,3+,Graduate,No,9167,0,185,360,1,Rural,Y
393
+ LP002262,Male,Yes,3+,Graduate,No,9504,0,275,360,1,Rural,Y
394
+ LP002263,Male,Yes,0,Graduate,No,2583,2115,120,360,,Urban,Y
395
+ LP002265,Male,Yes,2,Not Graduate,No,1993,1625,113,180,1,Semiurban,Y
396
+ LP002266,Male,Yes,2,Graduate,No,3100,1400,113,360,1,Urban,Y
397
+ LP002272,Male,Yes,2,Graduate,No,3276,484,135,360,,Semiurban,Y
398
+ LP002277,Female,No,0,Graduate,No,3180,0,71,360,0,Urban,N
399
+ LP002281,Male,Yes,0,Graduate,No,3033,1459,95,360,1,Urban,Y
400
+ LP002284,Male,No,0,Not Graduate,No,3902,1666,109,360,1,Rural,Y
401
+ LP002287,Female,No,0,Graduate,No,1500,1800,103,360,0,Semiurban,N
402
+ LP002288,Male,Yes,2,Not Graduate,No,2889,0,45,180,0,Urban,N
403
+ LP002296,Male,No,0,Not Graduate,No,2755,0,65,300,1,Rural,N
404
+ LP002297,Male,No,0,Graduate,No,2500,20000,103,360,1,Semiurban,Y
405
+ LP002300,Female,No,0,Not Graduate,No,1963,0,53,360,1,Semiurban,Y
406
+ LP002301,Female,No,0,Graduate,Yes,7441,0,194,360,1,Rural,N
407
+ LP002305,Female,No,0,Graduate,No,4547,0,115,360,1,Semiurban,Y
408
+ LP002308,Male,Yes,0,Not Graduate,No,2167,2400,115,360,1,Urban,Y
409
+ LP002314,Female,No,0,Not Graduate,No,2213,0,66,360,1,Rural,Y
410
+ LP002315,Male,Yes,1,Graduate,No,8300,0,152,300,0,Semiurban,N
411
+ LP002317,Male,Yes,3+,Graduate,No,81000,0,360,360,0,Rural,N
412
+ LP002318,Female,No,1,Not Graduate,Yes,3867,0,62,360,1,Semiurban,N
413
+ LP002319,Male,Yes,0,Graduate,,6256,0,160,360,,Urban,Y
414
+ LP002328,Male,Yes,0,Not Graduate,No,6096,0,218,360,0,Rural,N
415
+ LP002332,Male,Yes,0,Not Graduate,No,2253,2033,110,360,1,Rural,Y
416
+ LP002335,Female,Yes,0,Not Graduate,No,2149,3237,178,360,0,Semiurban,N
417
+ LP002337,Female,No,0,Graduate,No,2995,0,60,360,1,Urban,Y
418
+ LP002341,Female,No,1,Graduate,No,2600,0,160,360,1,Urban,N
419
+ LP002342,Male,Yes,2,Graduate,Yes,1600,20000,239,360,1,Urban,N
420
+ LP002345,Male,Yes,0,Graduate,No,1025,2773,112,360,1,Rural,Y
421
+ LP002347,Male,Yes,0,Graduate,No,3246,1417,138,360,1,Semiurban,Y
422
+ LP002348,Male,Yes,0,Graduate,No,5829,0,138,360,1,Rural,Y
423
+ LP002357,Female,No,0,Not Graduate,No,2720,0,80,,0,Urban,N
424
+ LP002361,Male,Yes,0,Graduate,No,1820,1719,100,360,1,Urban,Y
425
+ LP002362,Male,Yes,1,Graduate,No,7250,1667,110,,0,Urban,N
426
+ LP002364,Male,Yes,0,Graduate,No,14880,0,96,360,1,Semiurban,Y
427
+ LP002366,Male,Yes,0,Graduate,No,2666,4300,121,360,1,Rural,Y
428
+ LP002367,Female,No,1,Not Graduate,No,4606,0,81,360,1,Rural,N
429
+ LP002368,Male,Yes,2,Graduate,No,5935,0,133,360,1,Semiurban,Y
430
+ LP002369,Male,Yes,0,Graduate,No,2920,16.12000084,87,360,1,Rural,Y
431
+ LP002370,Male,No,0,Not Graduate,No,2717,0,60,180,1,Urban,Y
432
+ LP002377,Female,No,1,Graduate,Yes,8624,0,150,360,1,Semiurban,Y
433
+ LP002379,Male,No,0,Graduate,No,6500,0,105,360,0,Rural,N
434
+ LP002386,Male,No,0,Graduate,,12876,0,405,360,1,Semiurban,Y
435
+ LP002387,Male,Yes,0,Graduate,No,2425,2340,143,360,1,Semiurban,Y
436
+ LP002390,Male,No,0,Graduate,No,3750,0,100,360,1,Urban,Y
437
+ LP002393,Female,,,Graduate,No,10047,0,,240,1,Semiurban,Y
438
+ LP002398,Male,No,0,Graduate,No,1926,1851,50,360,1,Semiurban,Y
439
+ LP002401,Male,Yes,0,Graduate,No,2213,1125,,360,1,Urban,Y
440
+ LP002403,Male,No,0,Graduate,Yes,10416,0,187,360,0,Urban,N
441
+ LP002407,Female,Yes,0,Not Graduate,Yes,7142,0,138,360,1,Rural,Y
442
+ LP002408,Male,No,0,Graduate,No,3660,5064,187,360,1,Semiurban,Y
443
+ LP002409,Male,Yes,0,Graduate,No,7901,1833,180,360,1,Rural,Y
444
+ LP002418,Male,No,3+,Not Graduate,No,4707,1993,148,360,1,Semiurban,Y
445
+ LP002422,Male,No,1,Graduate,No,37719,0,152,360,1,Semiurban,Y
446
+ LP002424,Male,Yes,0,Graduate,No,7333,8333,175,300,,Rural,Y
447
+ LP002429,Male,Yes,1,Graduate,Yes,3466,1210,130,360,1,Rural,Y
448
+ LP002434,Male,Yes,2,Not Graduate,No,4652,0,110,360,1,Rural,Y
449
+ LP002435,Male,Yes,0,Graduate,,3539,1376,55,360,1,Rural,N
450
+ LP002443,Male,Yes,2,Graduate,No,3340,1710,150,360,0,Rural,N
451
+ LP002444,Male,No,1,Not Graduate,Yes,2769,1542,190,360,,Semiurban,N
452
+ LP002446,Male,Yes,2,Not Graduate,No,2309,1255,125,360,0,Rural,N
453
+ LP002447,Male,Yes,2,Not Graduate,No,1958,1456,60,300,,Urban,Y
454
+ LP002448,Male,Yes,0,Graduate,No,3948,1733,149,360,0,Rural,N
455
+ LP002449,Male,Yes,0,Graduate,No,2483,2466,90,180,0,Rural,Y
456
+ LP002453,Male,No,0,Graduate,Yes,7085,0,84,360,1,Semiurban,Y
457
+ LP002455,Male,Yes,2,Graduate,No,3859,0,96,360,1,Semiurban,Y
458
+ LP002459,Male,Yes,0,Graduate,No,4301,0,118,360,1,Urban,Y
459
+ LP002467,Male,Yes,0,Graduate,No,3708,2569,173,360,1,Urban,N
460
+ LP002472,Male,No,2,Graduate,No,4354,0,136,360,1,Rural,Y
461
+ LP002473,Male,Yes,0,Graduate,No,8334,0,160,360,1,Semiurban,N
462
+ LP002478,,Yes,0,Graduate,Yes,2083,4083,160,360,,Semiurban,Y
463
+ LP002484,Male,Yes,3+,Graduate,No,7740,0,128,180,1,Urban,Y
464
+ LP002487,Male,Yes,0,Graduate,No,3015,2188,153,360,1,Rural,Y
465
+ LP002489,Female,No,1,Not Graduate,,5191,0,132,360,1,Semiurban,Y
466
+ LP002493,Male,No,0,Graduate,No,4166,0,98,360,0,Semiurban,N
467
+ LP002494,Male,No,0,Graduate,No,6000,0,140,360,1,Rural,Y
468
+ LP002500,Male,Yes,3+,Not Graduate,No,2947,1664,70,180,0,Urban,N
469
+ LP002501,,Yes,0,Graduate,No,16692,0,110,360,1,Semiurban,Y
470
+ LP002502,Female,Yes,2,Not Graduate,,210,2917,98,360,1,Semiurban,Y
471
+ LP002505,Male,Yes,0,Graduate,No,4333,2451,110,360,1,Urban,N
472
+ LP002515,Male,Yes,1,Graduate,Yes,3450,2079,162,360,1,Semiurban,Y
473
+ LP002517,Male,Yes,1,Not Graduate,No,2653,1500,113,180,0,Rural,N
474
+ LP002519,Male,Yes,3+,Graduate,No,4691,0,100,360,1,Semiurban,Y
475
+ LP002522,Female,No,0,Graduate,Yes,2500,0,93,360,,Urban,Y
476
+ LP002524,Male,No,2,Graduate,No,5532,4648,162,360,1,Rural,Y
477
+ LP002527,Male,Yes,2,Graduate,Yes,16525,1014,150,360,1,Rural,Y
478
+ LP002529,Male,Yes,2,Graduate,No,6700,1750,230,300,1,Semiurban,Y
479
+ LP002530,,Yes,2,Graduate,No,2873,1872,132,360,0,Semiurban,N
480
+ LP002531,Male,Yes,1,Graduate,Yes,16667,2250,86,360,1,Semiurban,Y
481
+ LP002533,Male,Yes,2,Graduate,No,2947,1603,,360,1,Urban,N
482
+ LP002534,Female,No,0,Not Graduate,No,4350,0,154,360,1,Rural,Y
483
+ LP002536,Male,Yes,3+,Not Graduate,No,3095,0,113,360,1,Rural,Y
484
+ LP002537,Male,Yes,0,Graduate,No,2083,3150,128,360,1,Semiurban,Y
485
+ LP002541,Male,Yes,0,Graduate,No,10833,0,234,360,1,Semiurban,Y
486
+ LP002543,Male,Yes,2,Graduate,No,8333,0,246,360,1,Semiurban,Y
487
+ LP002544,Male,Yes,1,Not Graduate,No,1958,2436,131,360,1,Rural,Y
488
+ LP002545,Male,No,2,Graduate,No,3547,0,80,360,0,Rural,N
489
+ LP002547,Male,Yes,1,Graduate,No,18333,0,500,360,1,Urban,N
490
+ LP002555,Male,Yes,2,Graduate,Yes,4583,2083,160,360,1,Semiurban,Y
491
+ LP002556,Male,No,0,Graduate,No,2435,0,75,360,1,Urban,N
492
+ LP002560,Male,No,0,Not Graduate,No,2699,2785,96,360,,Semiurban,Y
493
+ LP002562,Male,Yes,1,Not Graduate,No,5333,1131,186,360,,Urban,Y
494
+ LP002571,Male,No,0,Not Graduate,No,3691,0,110,360,1,Rural,Y
495
+ LP002582,Female,No,0,Not Graduate,Yes,17263,0,225,360,1,Semiurban,Y
496
+ LP002585,Male,Yes,0,Graduate,No,3597,2157,119,360,0,Rural,N
497
+ LP002586,Female,Yes,1,Graduate,No,3326,913,105,84,1,Semiurban,Y
498
+ LP002587,Male,Yes,0,Not Graduate,No,2600,1700,107,360,1,Rural,Y
499
+ LP002588,Male,Yes,0,Graduate,No,4625,2857,111,12,,Urban,Y
500
+ LP002600,Male,Yes,1,Graduate,Yes,2895,0,95,360,1,Semiurban,Y
501
+ LP002602,Male,No,0,Graduate,No,6283,4416,209,360,0,Rural,N
502
+ LP002603,Female,No,0,Graduate,No,645,3683,113,480,1,Rural,Y
503
+ LP002606,Female,No,0,Graduate,No,3159,0,100,360,1,Semiurban,Y
504
+ LP002615,Male,Yes,2,Graduate,No,4865,5624,208,360,1,Semiurban,Y
505
+ LP002618,Male,Yes,1,Not Graduate,No,4050,5302,138,360,,Rural,N
506
+ LP002619,Male,Yes,0,Not Graduate,No,3814,1483,124,300,1,Semiurban,Y
507
+ LP002622,Male,Yes,2,Graduate,No,3510,4416,243,360,1,Rural,Y
508
+ LP002624,Male,Yes,0,Graduate,No,20833,6667,480,360,,Urban,Y
509
+ LP002625,,No,0,Graduate,No,3583,0,96,360,1,Urban,N
510
+ LP002626,Male,Yes,0,Graduate,Yes,2479,3013,188,360,1,Urban,Y
511
+ LP002634,Female,No,1,Graduate,No,13262,0,40,360,1,Urban,Y
512
+ LP002637,Male,No,0,Not Graduate,No,3598,1287,100,360,1,Rural,N
513
+ LP002640,Male,Yes,1,Graduate,No,6065,2004,250,360,1,Semiurban,Y
514
+ LP002643,Male,Yes,2,Graduate,No,3283,2035,148,360,1,Urban,Y
515
+ LP002648,Male,Yes,0,Graduate,No,2130,6666,70,180,1,Semiurban,N
516
+ LP002652,Male,No,0,Graduate,No,5815,3666,311,360,1,Rural,N
517
+ LP002659,Male,Yes,3+,Graduate,No,3466,3428,150,360,1,Rural,Y
518
+ LP002670,Female,Yes,2,Graduate,No,2031,1632,113,480,1,Semiurban,Y
519
+ LP002682,Male,Yes,,Not Graduate,No,3074,1800,123,360,0,Semiurban,N
520
+ LP002683,Male,No,0,Graduate,No,4683,1915,185,360,1,Semiurban,N
521
+ LP002684,Female,No,0,Not Graduate,No,3400,0,95,360,1,Rural,N
522
+ LP002689,Male,Yes,2,Not Graduate,No,2192,1742,45,360,1,Semiurban,Y
523
+ LP002690,Male,No,0,Graduate,No,2500,0,55,360,1,Semiurban,Y
524
+ LP002692,Male,Yes,3+,Graduate,Yes,5677,1424,100,360,1,Rural,Y
525
+ LP002693,Male,Yes,2,Graduate,Yes,7948,7166,480,360,1,Rural,Y
526
+ LP002697,Male,No,0,Graduate,No,4680,2087,,360,1,Semiurban,N
527
+ LP002699,Male,Yes,2,Graduate,Yes,17500,0,400,360,1,Rural,Y
528
+ LP002705,Male,Yes,0,Graduate,No,3775,0,110,360,1,Semiurban,Y
529
+ LP002706,Male,Yes,1,Not Graduate,No,5285,1430,161,360,0,Semiurban,Y
530
+ LP002714,Male,No,1,Not Graduate,No,2679,1302,94,360,1,Semiurban,Y
531
+ LP002716,Male,No,0,Not Graduate,No,6783,0,130,360,1,Semiurban,Y
532
+ LP002717,Male,Yes,0,Graduate,No,1025,5500,216,360,,Rural,Y
533
+ LP002720,Male,Yes,3+,Graduate,No,4281,0,100,360,1,Urban,Y
534
+ LP002723,Male,No,2,Graduate,No,3588,0,110,360,0,Rural,N
535
+ LP002729,Male,No,1,Graduate,No,11250,0,196,360,,Semiurban,N
536
+ LP002731,Female,No,0,Not Graduate,Yes,18165,0,125,360,1,Urban,Y
537
+ LP002732,Male,No,0,Not Graduate,,2550,2042,126,360,1,Rural,Y
538
+ LP002734,Male,Yes,0,Graduate,No,6133,3906,324,360,1,Urban,Y
539
+ LP002738,Male,No,2,Graduate,No,3617,0,107,360,1,Semiurban,Y
540
+ LP002739,Male,Yes,0,Not Graduate,No,2917,536,66,360,1,Rural,N
541
+ LP002740,Male,Yes,3+,Graduate,No,6417,0,157,180,1,Rural,Y
542
+ LP002741,Female,Yes,1,Graduate,No,4608,2845,140,180,1,Semiurban,Y
543
+ LP002743,Female,No,0,Graduate,No,2138,0,99,360,0,Semiurban,N
544
+ LP002753,Female,No,1,Graduate,,3652,0,95,360,1,Semiurban,Y
545
+ LP002755,Male,Yes,1,Not Graduate,No,2239,2524,128,360,1,Urban,Y
546
+ LP002757,Female,Yes,0,Not Graduate,No,3017,663,102,360,,Semiurban,Y
547
+ LP002767,Male,Yes,0,Graduate,No,2768,1950,155,360,1,Rural,Y
548
+ LP002768,Male,No,0,Not Graduate,No,3358,0,80,36,1,Semiurban,N
549
+ LP002772,Male,No,0,Graduate,No,2526,1783,145,360,1,Rural,Y
550
+ LP002776,Female,No,0,Graduate,No,5000,0,103,360,0,Semiurban,N
551
+ LP002777,Male,Yes,0,Graduate,No,2785,2016,110,360,1,Rural,Y
552
+ LP002778,Male,Yes,2,Graduate,Yes,6633,0,,360,0,Rural,N
553
+ LP002784,Male,Yes,1,Not Graduate,No,2492,2375,,360,1,Rural,Y
554
+ LP002785,Male,Yes,1,Graduate,No,3333,3250,158,360,1,Urban,Y
555
+ LP002788,Male,Yes,0,Not Graduate,No,2454,2333,181,360,0,Urban,N
556
+ LP002789,Male,Yes,0,Graduate,No,3593,4266,132,180,0,Rural,N
557
+ LP002792,Male,Yes,1,Graduate,No,5468,1032,26,360,1,Semiurban,Y
558
+ LP002794,Female,No,0,Graduate,No,2667,1625,84,360,,Urban,Y
559
+ LP002795,Male,Yes,3+,Graduate,Yes,10139,0,260,360,1,Semiurban,Y
560
+ LP002798,Male,Yes,0,Graduate,No,3887,2669,162,360,1,Semiurban,Y
561
+ LP002804,Female,Yes,0,Graduate,No,4180,2306,182,360,1,Semiurban,Y
562
+ LP002807,Male,Yes,2,Not Graduate,No,3675,242,108,360,1,Semiurban,Y
563
+ LP002813,Female,Yes,1,Graduate,Yes,19484,0,600,360,1,Semiurban,Y
564
+ LP002820,Male,Yes,0,Graduate,No,5923,2054,211,360,1,Rural,Y
565
+ LP002821,Male,No,0,Not Graduate,Yes,5800,0,132,360,1,Semiurban,Y
566
+ LP002832,Male,Yes,2,Graduate,No,8799,0,258,360,0,Urban,N
567
+ LP002833,Male,Yes,0,Not Graduate,No,4467,0,120,360,,Rural,Y
568
+ LP002836,Male,No,0,Graduate,No,3333,0,70,360,1,Urban,Y
569
+ LP002837,Male,Yes,3+,Graduate,No,3400,2500,123,360,0,Rural,N
570
+ LP002840,Female,No,0,Graduate,No,2378,0,9,360,1,Urban,N
571
+ LP002841,Male,Yes,0,Graduate,No,3166,2064,104,360,0,Urban,N
572
+ LP002842,Male,Yes,1,Graduate,No,3417,1750,186,360,1,Urban,Y
573
+ LP002847,Male,Yes,,Graduate,No,5116,1451,165,360,0,Urban,N
574
+ LP002855,Male,Yes,2,Graduate,No,16666,0,275,360,1,Urban,Y
575
+ LP002862,Male,Yes,2,Not Graduate,No,6125,1625,187,480,1,Semiurban,N
576
+ LP002863,Male,Yes,3+,Graduate,No,6406,0,150,360,1,Semiurban,N
577
+ LP002868,Male,Yes,2,Graduate,No,3159,461,108,84,1,Urban,Y
578
+ LP002872,,Yes,0,Graduate,No,3087,2210,136,360,0,Semiurban,N
579
+ LP002874,Male,No,0,Graduate,No,3229,2739,110,360,1,Urban,Y
580
+ LP002877,Male,Yes,1,Graduate,No,1782,2232,107,360,1,Rural,Y
581
+ LP002888,Male,No,0,Graduate,,3182,2917,161,360,1,Urban,Y
582
+ LP002892,Male,Yes,2,Graduate,No,6540,0,205,360,1,Semiurban,Y
583
+ LP002893,Male,No,0,Graduate,No,1836,33837,90,360,1,Urban,N
584
+ LP002894,Female,Yes,0,Graduate,No,3166,0,36,360,1,Semiurban,Y
585
+ LP002898,Male,Yes,1,Graduate,No,1880,0,61,360,,Rural,N
586
+ LP002911,Male,Yes,1,Graduate,No,2787,1917,146,360,0,Rural,N
587
+ LP002912,Male,Yes,1,Graduate,No,4283,3000,172,84,1,Rural,N
588
+ LP002916,Male,Yes,0,Graduate,No,2297,1522,104,360,1,Urban,Y
589
+ LP002917,Female,No,0,Not Graduate,No,2165,0,70,360,1,Semiurban,Y
590
+ LP002925,,No,0,Graduate,No,4750,0,94,360,1,Semiurban,Y
591
+ LP002926,Male,Yes,2,Graduate,Yes,2726,0,106,360,0,Semiurban,N
592
+ LP002928,Male,Yes,0,Graduate,No,3000,3416,56,180,1,Semiurban,Y
593
+ LP002931,Male,Yes,2,Graduate,Yes,6000,0,205,240,1,Semiurban,N
594
+ LP002933,,No,3+,Graduate,Yes,9357,0,292,360,1,Semiurban,Y
595
+ LP002936,Male,Yes,0,Graduate,No,3859,3300,142,180,1,Rural,Y
596
+ LP002938,Male,Yes,0,Graduate,Yes,16120,0,260,360,1,Urban,Y
597
+ LP002940,Male,No,0,Not Graduate,No,3833,0,110,360,1,Rural,Y
598
+ LP002941,Male,Yes,2,Not Graduate,Yes,6383,1000,187,360,1,Rural,N
599
+ LP002943,Male,No,,Graduate,No,2987,0,88,360,0,Semiurban,N
600
+ LP002945,Male,Yes,0,Graduate,Yes,9963,0,180,360,1,Rural,Y
601
+ LP002948,Male,Yes,2,Graduate,No,5780,0,192,360,1,Urban,Y
602
+ LP002949,Female,No,3+,Graduate,,416,41667,350,180,,Urban,N
603
+ LP002950,Male,Yes,0,Not Graduate,,2894,2792,155,360,1,Rural,Y
604
+ LP002953,Male,Yes,3+,Graduate,No,5703,0,128,360,1,Urban,Y
605
+ LP002958,Male,No,0,Graduate,No,3676,4301,172,360,1,Rural,Y
606
+ LP002959,Female,Yes,1,Graduate,No,12000,0,496,360,1,Semiurban,Y
607
+ LP002960,Male,Yes,0,Not Graduate,No,2400,3800,,180,1,Urban,N
608
+ LP002961,Male,Yes,1,Graduate,No,3400,2500,173,360,1,Semiurban,Y
609
+ LP002964,Male,Yes,2,Not Graduate,No,3987,1411,157,360,1,Rural,Y
610
+ LP002974,Male,Yes,0,Graduate,No,3232,1950,108,360,1,Rural,Y
611
+ LP002978,Female,No,0,Graduate,No,2900,0,71,360,1,Rural,Y
612
+ LP002979,Male,Yes,3+,Graduate,No,4106,0,40,180,1,Rural,Y
613
+ LP002983,Male,Yes,1,Graduate,No,8072,240,253,360,1,Urban,Y
614
+ LP002984,Male,Yes,2,Graduate,No,7583,0,187,360,1,Urban,Y
615
+ LP002990,Female,No,0,Graduate,Yes,4583,0,133,360,0,Semiurban,N
Sample Dataset/Predictive analytics/advertise/advertising.csv ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ TV,Radio,Newspaper,Sales
2
+ 230.1,37.8,69.2,22.1
3
+ 44.5,39.3,45.1,10.4
4
+ 17.2,45.9,69.3,12
5
+ 151.5,41.3,58.5,16.5
6
+ 180.8,10.8,58.4,17.9
7
+ 8.7,48.9,75,7.2
8
+ 57.5,32.8,23.5,11.8
9
+ 120.2,19.6,11.6,13.2
10
+ 8.6,2.1,1,4.8
11
+ 199.8,2.6,21.2,15.6
12
+ 66.1,5.8,24.2,12.6
13
+ 214.7,24,4,17.4
14
+ 23.8,35.1,65.9,9.2
15
+ 97.5,7.6,7.2,13.7
16
+ 204.1,32.9,46,19
17
+ 195.4,47.7,52.9,22.4
18
+ 67.8,36.6,114,12.5
19
+ 281.4,39.6,55.8,24.4
20
+ 69.2,20.5,18.3,11.3
21
+ 147.3,23.9,19.1,14.6
22
+ 218.4,27.7,53.4,18
23
+ 237.4,5.1,23.5,17.5
24
+ 13.2,15.9,49.6,5.6
25
+ 228.3,16.9,26.2,20.5
26
+ 62.3,12.6,18.3,9.7
27
+ 262.9,3.5,19.5,17
28
+ 142.9,29.3,12.6,15
29
+ 240.1,16.7,22.9,20.9
30
+ 248.8,27.1,22.9,18.9
31
+ 70.6,16,40.8,10.5
32
+ 292.9,28.3,43.2,21.4
33
+ 112.9,17.4,38.6,11.9
34
+ 97.2,1.5,30,13.2
35
+ 265.6,20,0.3,17.4
36
+ 95.7,1.4,7.4,11.9
37
+ 290.7,4.1,8.5,17.8
38
+ 266.9,43.8,5,25.4
39
+ 74.7,49.4,45.7,14.7
40
+ 43.1,26.7,35.1,10.1
41
+ 228,37.7,32,21.5
42
+ 202.5,22.3,31.6,16.6
43
+ 177,33.4,38.7,17.1
44
+ 293.6,27.7,1.8,20.7
45
+ 206.9,8.4,26.4,17.9
46
+ 25.1,25.7,43.3,8.5
47
+ 175.1,22.5,31.5,16.1
48
+ 89.7,9.9,35.7,10.6
49
+ 239.9,41.5,18.5,23.2
50
+ 227.2,15.8,49.9,19.8
51
+ 66.9,11.7,36.8,9.7
52
+ 199.8,3.1,34.6,16.4
53
+ 100.4,9.6,3.6,10.7
54
+ 216.4,41.7,39.6,22.6
55
+ 182.6,46.2,58.7,21.2
56
+ 262.7,28.8,15.9,20.2
57
+ 198.9,49.4,60,23.7
58
+ 7.3,28.1,41.4,5.5
59
+ 136.2,19.2,16.6,13.2
60
+ 210.8,49.6,37.7,23.8
61
+ 210.7,29.5,9.3,18.4
62
+ 53.5,2,21.4,8.1
63
+ 261.3,42.7,54.7,24.2
64
+ 239.3,15.5,27.3,20.7
65
+ 102.7,29.6,8.4,14
66
+ 131.1,42.8,28.9,16
67
+ 69,9.3,0.9,11.3
68
+ 31.5,24.6,2.2,11
69
+ 139.3,14.5,10.2,13.4
70
+ 237.4,27.5,11,18.9
71
+ 216.8,43.9,27.2,22.3
72
+ 199.1,30.6,38.7,18.3
73
+ 109.8,14.3,31.7,12.4
74
+ 26.8,33,19.3,8.8
75
+ 129.4,5.7,31.3,11
76
+ 213.4,24.6,13.1,17
77
+ 16.9,43.7,89.4,8.7
78
+ 27.5,1.6,20.7,6.9
79
+ 120.5,28.5,14.2,14.2
80
+ 5.4,29.9,9.4,5.3
81
+ 116,7.7,23.1,11
82
+ 76.4,26.7,22.3,11.8
83
+ 239.8,4.1,36.9,17.3
84
+ 75.3,20.3,32.5,11.3
85
+ 68.4,44.5,35.6,13.6
86
+ 213.5,43,33.8,21.7
87
+ 193.2,18.4,65.7,20.2
88
+ 76.3,27.5,16,12
89
+ 110.7,40.6,63.2,16
90
+ 88.3,25.5,73.4,12.9
91
+ 109.8,47.8,51.4,16.7
92
+ 134.3,4.9,9.3,14
93
+ 28.6,1.5,33,7.3
94
+ 217.7,33.5,59,19.4
95
+ 250.9,36.5,72.3,22.2
96
+ 107.4,14,10.9,11.5
97
+ 163.3,31.6,52.9,16.9
98
+ 197.6,3.5,5.9,16.7
99
+ 184.9,21,22,20.5
100
+ 289.7,42.3,51.2,25.4
101
+ 135.2,41.7,45.9,17.2
102
+ 222.4,4.3,49.8,16.7
103
+ 296.4,36.3,100.9,23.8
104
+ 280.2,10.1,21.4,19.8
105
+ 187.9,17.2,17.9,19.7
106
+ 238.2,34.3,5.3,20.7
107
+ 137.9,46.4,59,15
108
+ 25,11,29.7,7.2
109
+ 90.4,0.3,23.2,12
110
+ 13.1,0.4,25.6,5.3
111
+ 255.4,26.9,5.5,19.8
112
+ 225.8,8.2,56.5,18.4
113
+ 241.7,38,23.2,21.8
114
+ 175.7,15.4,2.4,17.1
115
+ 209.6,20.6,10.7,20.9
116
+ 78.2,46.8,34.5,14.6
117
+ 75.1,35,52.7,12.6
118
+ 139.2,14.3,25.6,12.2
119
+ 76.4,0.8,14.8,9.4
120
+ 125.7,36.9,79.2,15.9
121
+ 19.4,16,22.3,6.6
122
+ 141.3,26.8,46.2,15.5
123
+ 18.8,21.7,50.4,7
124
+ 224,2.4,15.6,16.6
125
+ 123.1,34.6,12.4,15.2
126
+ 229.5,32.3,74.2,19.7
127
+ 87.2,11.8,25.9,10.6
128
+ 7.8,38.9,50.6,6.6
129
+ 80.2,0,9.2,11.9
130
+ 220.3,49,3.2,24.7
131
+ 59.6,12,43.1,9.7
132
+ 0.7,39.6,8.7,1.6
133
+ 265.2,2.9,43,17.7
134
+ 8.4,27.2,2.1,5.7
135
+ 219.8,33.5,45.1,19.6
136
+ 36.9,38.6,65.6,10.8
137
+ 48.3,47,8.5,11.6
138
+ 25.6,39,9.3,9.5
139
+ 273.7,28.9,59.7,20.8
140
+ 43,25.9,20.5,9.6
141
+ 184.9,43.9,1.7,20.7
142
+ 73.4,17,12.9,10.9
143
+ 193.7,35.4,75.6,19.2
144
+ 220.5,33.2,37.9,20.1
145
+ 104.6,5.7,34.4,10.4
146
+ 96.2,14.8,38.9,12.3
147
+ 140.3,1.9,9,10.3
148
+ 240.1,7.3,8.7,18.2
149
+ 243.2,49,44.3,25.4
150
+ 38,40.3,11.9,10.9
151
+ 44.7,25.8,20.6,10.1
152
+ 280.7,13.9,37,16.1
153
+ 121,8.4,48.7,11.6
154
+ 197.6,23.3,14.2,16.6
155
+ 171.3,39.7,37.7,16
156
+ 187.8,21.1,9.5,20.6
157
+ 4.1,11.6,5.7,3.2
158
+ 93.9,43.5,50.5,15.3
159
+ 149.8,1.3,24.3,10.1
160
+ 11.7,36.9,45.2,7.3
161
+ 131.7,18.4,34.6,12.9
162
+ 172.5,18.1,30.7,16.4
163
+ 85.7,35.8,49.3,13.3
164
+ 188.4,18.1,25.6,19.9
165
+ 163.5,36.8,7.4,18
166
+ 117.2,14.7,5.4,11.9
167
+ 234.5,3.4,84.8,16.9
168
+ 17.9,37.6,21.6,8
169
+ 206.8,5.2,19.4,17.2
170
+ 215.4,23.6,57.6,17.1
171
+ 284.3,10.6,6.4,20
172
+ 50,11.6,18.4,8.4
173
+ 164.5,20.9,47.4,17.5
174
+ 19.6,20.1,17,7.6
175
+ 168.4,7.1,12.8,16.7
176
+ 222.4,3.4,13.1,16.5
177
+ 276.9,48.9,41.8,27
178
+ 248.4,30.2,20.3,20.2
179
+ 170.2,7.8,35.2,16.7
180
+ 276.7,2.3,23.7,16.8
181
+ 165.6,10,17.6,17.6
182
+ 156.6,2.6,8.3,15.5
183
+ 218.5,5.4,27.4,17.2
184
+ 56.2,5.7,29.7,8.7
185
+ 287.6,43,71.8,26.2
186
+ 253.8,21.3,30,17.6
187
+ 205,45.1,19.6,22.6
188
+ 139.5,2.1,26.6,10.3
189
+ 191.1,28.7,18.2,17.3
190
+ 286,13.9,3.7,20.9
191
+ 18.7,12.1,23.4,6.7
192
+ 39.5,41.1,5.8,10.8
193
+ 75.5,10.8,6,11.9
194
+ 17.2,4.1,31.6,5.9
195
+ 166.8,42,3.6,19.6
196
+ 149.7,35.6,6,17.3
197
+ 38.2,3.7,13.8,7.6
198
+ 94.2,4.9,8.1,14
199
+ 177,9.3,6.4,14.8
200
+ 283.6,42,66.2,25.5
201
+ 232.1,8.6,8.7,18.4
Sample Dataset/Predictive analytics/iris/IRIS.csv ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ sepal_length,sepal_width,petal_length,petal_width,species
2
+ 5.1,3.5,1.4,0.2,Iris-setosa
3
+ 4.9,3,1.4,0.2,Iris-setosa
4
+ 4.7,3.2,1.3,0.2,Iris-setosa
5
+ 4.6,3.1,1.5,0.2,Iris-setosa
6
+ 5,3.6,1.4,0.2,Iris-setosa
7
+ 5.4,3.9,1.7,0.4,Iris-setosa
8
+ 4.6,3.4,1.4,0.3,Iris-setosa
9
+ 5,3.4,1.5,0.2,Iris-setosa
10
+ 4.4,2.9,1.4,0.2,Iris-setosa
11
+ 4.9,3.1,1.5,0.1,Iris-setosa
12
+ 5.4,3.7,1.5,0.2,Iris-setosa
13
+ 4.8,3.4,1.6,0.2,Iris-setosa
14
+ 4.8,3,1.4,0.1,Iris-setosa
15
+ 4.3,3,1.1,0.1,Iris-setosa
16
+ 5.8,4,1.2,0.2,Iris-setosa
17
+ 5.7,4.4,1.5,0.4,Iris-setosa
18
+ 5.4,3.9,1.3,0.4,Iris-setosa
19
+ 5.1,3.5,1.4,0.3,Iris-setosa
20
+ 5.7,3.8,1.7,0.3,Iris-setosa
21
+ 5.1,3.8,1.5,0.3,Iris-setosa
22
+ 5.4,3.4,1.7,0.2,Iris-setosa
23
+ 5.1,3.7,1.5,0.4,Iris-setosa
24
+ 4.6,3.6,1,0.2,Iris-setosa
25
+ 5.1,3.3,1.7,0.5,Iris-setosa
26
+ 4.8,3.4,1.9,0.2,Iris-setosa
27
+ 5,3,1.6,0.2,Iris-setosa
28
+ 5,3.4,1.6,0.4,Iris-setosa
29
+ 5.2,3.5,1.5,0.2,Iris-setosa
30
+ 5.2,3.4,1.4,0.2,Iris-setosa
31
+ 4.7,3.2,1.6,0.2,Iris-setosa
32
+ 4.8,3.1,1.6,0.2,Iris-setosa
33
+ 5.4,3.4,1.5,0.4,Iris-setosa
34
+ 5.2,4.1,1.5,0.1,Iris-setosa
35
+ 5.5,4.2,1.4,0.2,Iris-setosa
36
+ 4.9,3.1,1.5,0.1,Iris-setosa
37
+ 5,3.2,1.2,0.2,Iris-setosa
38
+ 5.5,3.5,1.3,0.2,Iris-setosa
39
+ 4.9,3.1,1.5,0.1,Iris-setosa
40
+ 4.4,3,1.3,0.2,Iris-setosa
41
+ 5.1,3.4,1.5,0.2,Iris-setosa
42
+ 5,3.5,1.3,0.3,Iris-setosa
43
+ 4.5,2.3,1.3,0.3,Iris-setosa
44
+ 4.4,3.2,1.3,0.2,Iris-setosa
45
+ 5,3.5,1.6,0.6,Iris-setosa
46
+ 5.1,3.8,1.9,0.4,Iris-setosa
47
+ 4.8,3,1.4,0.3,Iris-setosa
48
+ 5.1,3.8,1.6,0.2,Iris-setosa
49
+ 4.6,3.2,1.4,0.2,Iris-setosa
50
+ 5.3,3.7,1.5,0.2,Iris-setosa
51
+ 5,3.3,1.4,0.2,Iris-setosa
52
+ 7,3.2,4.7,1.4,Iris-versicolor
53
+ 6.4,3.2,4.5,1.5,Iris-versicolor
54
+ 6.9,3.1,4.9,1.5,Iris-versicolor
55
+ 5.5,2.3,4,1.3,Iris-versicolor
56
+ 6.5,2.8,4.6,1.5,Iris-versicolor
57
+ 5.7,2.8,4.5,1.3,Iris-versicolor
58
+ 6.3,3.3,4.7,1.6,Iris-versicolor
59
+ 4.9,2.4,3.3,1,Iris-versicolor
60
+ 6.6,2.9,4.6,1.3,Iris-versicolor
61
+ 5.2,2.7,3.9,1.4,Iris-versicolor
62
+ 5,2,3.5,1,Iris-versicolor
63
+ 5.9,3,4.2,1.5,Iris-versicolor
64
+ 6,2.2,4,1,Iris-versicolor
65
+ 6.1,2.9,4.7,1.4,Iris-versicolor
66
+ 5.6,2.9,3.6,1.3,Iris-versicolor
67
+ 6.7,3.1,4.4,1.4,Iris-versicolor
68
+ 5.6,3,4.5,1.5,Iris-versicolor
69
+ 5.8,2.7,4.1,1,Iris-versicolor
70
+ 6.2,2.2,4.5,1.5,Iris-versicolor
71
+ 5.6,2.5,3.9,1.1,Iris-versicolor
72
+ 5.9,3.2,4.8,1.8,Iris-versicolor
73
+ 6.1,2.8,4,1.3,Iris-versicolor
74
+ 6.3,2.5,4.9,1.5,Iris-versicolor
75
+ 6.1,2.8,4.7,1.2,Iris-versicolor
76
+ 6.4,2.9,4.3,1.3,Iris-versicolor
77
+ 6.6,3,4.4,1.4,Iris-versicolor
78
+ 6.8,2.8,4.8,1.4,Iris-versicolor
79
+ 6.7,3,5,1.7,Iris-versicolor
80
+ 6,2.9,4.5,1.5,Iris-versicolor
81
+ 5.7,2.6,3.5,1,Iris-versicolor
82
+ 5.5,2.4,3.8,1.1,Iris-versicolor
83
+ 5.5,2.4,3.7,1,Iris-versicolor
84
+ 5.8,2.7,3.9,1.2,Iris-versicolor
85
+ 6,2.7,5.1,1.6,Iris-versicolor
86
+ 5.4,3,4.5,1.5,Iris-versicolor
87
+ 6,3.4,4.5,1.6,Iris-versicolor
88
+ 6.7,3.1,4.7,1.5,Iris-versicolor
89
+ 6.3,2.3,4.4,1.3,Iris-versicolor
90
+ 5.6,3,4.1,1.3,Iris-versicolor
91
+ 5.5,2.5,4,1.3,Iris-versicolor
92
+ 5.5,2.6,4.4,1.2,Iris-versicolor
93
+ 6.1,3,4.6,1.4,Iris-versicolor
94
+ 5.8,2.6,4,1.2,Iris-versicolor
95
+ 5,2.3,3.3,1,Iris-versicolor
96
+ 5.6,2.7,4.2,1.3,Iris-versicolor
97
+ 5.7,3,4.2,1.2,Iris-versicolor
98
+ 5.7,2.9,4.2,1.3,Iris-versicolor
99
+ 6.2,2.9,4.3,1.3,Iris-versicolor
100
+ 5.1,2.5,3,1.1,Iris-versicolor
101
+ 5.7,2.8,4.1,1.3,Iris-versicolor
102
+ 6.3,3.3,6,2.5,Iris-virginica
103
+ 5.8,2.7,5.1,1.9,Iris-virginica
104
+ 7.1,3,5.9,2.1,Iris-virginica
105
+ 6.3,2.9,5.6,1.8,Iris-virginica
106
+ 6.5,3,5.8,2.2,Iris-virginica
107
+ 7.6,3,6.6,2.1,Iris-virginica
108
+ 4.9,2.5,4.5,1.7,Iris-virginica
109
+ 7.3,2.9,6.3,1.8,Iris-virginica
110
+ 6.7,2.5,5.8,1.8,Iris-virginica
111
+ 7.2,3.6,6.1,2.5,Iris-virginica
112
+ 6.5,3.2,5.1,2,Iris-virginica
113
+ 6.4,2.7,5.3,1.9,Iris-virginica
114
+ 6.8,3,5.5,2.1,Iris-virginica
115
+ 5.7,2.5,5,2,Iris-virginica
116
+ 5.8,2.8,5.1,2.4,Iris-virginica
117
+ 6.4,3.2,5.3,2.3,Iris-virginica
118
+ 6.5,3,5.5,1.8,Iris-virginica
119
+ 7.7,3.8,6.7,2.2,Iris-virginica
120
+ 7.7,2.6,6.9,2.3,Iris-virginica
121
+ 6,2.2,5,1.5,Iris-virginica
122
+ 6.9,3.2,5.7,2.3,Iris-virginica
123
+ 5.6,2.8,4.9,2,Iris-virginica
124
+ 7.7,2.8,6.7,2,Iris-virginica
125
+ 6.3,2.7,4.9,1.8,Iris-virginica
126
+ 6.7,3.3,5.7,2.1,Iris-virginica
127
+ 7.2,3.2,6,1.8,Iris-virginica
128
+ 6.2,2.8,4.8,1.8,Iris-virginica
129
+ 6.1,3,4.9,1.8,Iris-virginica
130
+ 6.4,2.8,5.6,2.1,Iris-virginica
131
+ 7.2,3,5.8,1.6,Iris-virginica
132
+ 7.4,2.8,6.1,1.9,Iris-virginica
133
+ 7.9,3.8,6.4,2,Iris-virginica
134
+ 6.4,2.8,5.6,2.2,Iris-virginica
135
+ 6.3,2.8,5.1,1.5,Iris-virginica
136
+ 6.1,2.6,5.6,1.4,Iris-virginica
137
+ 7.7,3,6.1,2.3,Iris-virginica
138
+ 6.3,3.4,5.6,2.4,Iris-virginica
139
+ 6.4,3.1,5.5,1.8,Iris-virginica
140
+ 6,3,4.8,1.8,Iris-virginica
141
+ 6.9,3.1,5.4,2.1,Iris-virginica
142
+ 6.7,3.1,5.6,2.4,Iris-virginica
143
+ 6.9,3.1,5.1,2.3,Iris-virginica
144
+ 5.8,2.7,5.1,1.9,Iris-virginica
145
+ 6.8,3.2,5.9,2.3,Iris-virginica
146
+ 6.7,3.3,5.7,2.5,Iris-virginica
147
+ 6.7,3,5.2,2.3,Iris-virginica
148
+ 6.3,2.5,5,1.9,Iris-virginica
149
+ 6.5,3,5.2,2,Iris-virginica
150
+ 6.2,3.4,5.4,2.3,Iris-virginica
151
+ 5.9,3,5.1,1.8,Iris-virginica
Sample Dataset/nlp text_classification/Restaurant_Reviews.csv ADDED
@@ -0,0 +1,1001 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Review,Liked
2
+ Wow... Loved this place.,1
3
+ Crust is not good.,0
4
+ Not tasty and the texture was just nasty.,0
5
+ Stopped by during the late May bank holiday off Rick Steve recommendation and loved it.,1
6
+ The selection on the menu was great and so were the prices.,1
7
+ Now I am getting angry and I want my damn pho.,0
8
+ Honeslty it didn't taste THAT fresh.),0
9
+ The potatoes were like rubber and you could tell they had been made up ahead of time being kept under a warmer.,0
10
+ The fries were great too.,1
11
+ A great touch.,1
12
+ Service was very prompt.,1
13
+ Would not go back.,0
14
+ The cashier had no care what so ever on what I had to say it still ended up being wayyy overpriced.,0
15
+ "I tried the Cape Cod ravoli, chicken, with cranberry...mmmm!",1
16
+ I was disgusted because I was pretty sure that was human hair.,0
17
+ I was shocked because no signs indicate cash only.,0
18
+ Highly recommended.,1
19
+ Waitress was a little slow in service.,0
20
+ "This place is not worth your time, let alone Vegas.",0
21
+ did not like at all.,0
22
+ The Burrittos Blah!,0
23
+ "The food, amazing.",1
24
+ Service is also cute.,1
25
+ I could care less... The interior is just beautiful.,1
26
+ So they performed.,1
27
+ That's right....the red velvet cake.....ohhh this stuff is so good.,1
28
+ - They never brought a salad we asked for.,0
29
+ "This hole in the wall has great Mexican street tacos, and friendly staff.",1
30
+ "Took an hour to get our food only 4 tables in restaurant my food was Luke warm, Our sever was running around like he was totally overwhelmed.",0
31
+ The worst was the salmon sashimi.,0
32
+ "Also there are combos like a burger, fries, and beer for 23 which is a decent deal.",1
33
+ This was like the final blow!,0
34
+ I found this place by accident and I could not be happier.,1
35
+ "seems like a good quick place to grab a bite of some familiar pub food, but do yourself a favor and look elsewhere.",0
36
+ "Overall, I like this place a lot.",1
37
+ The only redeeming quality of the restaurant was that it was very inexpensive.,1
38
+ Ample portions and good prices.,1
39
+ "Poor service, the waiter made me feel like I was stupid every time he came to the table.",0
40
+ My first visit to Hiro was a delight!,1
41
+ Service sucks.,0
42
+ The shrimp tender and moist.,1
43
+ There is not a deal good enough that would drag me into that establishment again.,0
44
+ Hard to judge whether these sides were good because we were grossed out by the melted styrofoam and didn't want to eat it for fear of getting sick.,0
45
+ "On a positive note, our server was very attentive and provided great service.",1
46
+ "Frozen pucks of disgust, with some of the worst people behind the register.",0
47
+ The only thing I did like was the prime rib and dessert section.,1
48
+ It's too bad the food is so damn generic.,0
49
+ "The burger is good beef, cooked just right.",1
50
+ If you want a sandwich just go to any Firehouse!!!!!,1
51
+ "My side Greek salad with the Greek dressing was so tasty, and the pita and hummus was very refreshing.",1
52
+ We ordered the duck rare and it was pink and tender on the inside with a nice char on the outside.,1
53
+ He came running after us when he realized my husband had left his sunglasses on the table.,1
54
+ Their chow mein is so good!,1
55
+ "They have horrible attitudes towards customers, and talk down to each one when customers don't enjoy their food.",0
56
+ The portion was huge!,1
57
+ "Loved it...friendly servers, great food, wonderful and imaginative menu.",1
58
+ The Heart Attack Grill in downtown Vegas is an absolutely flat-lined excuse for a restaurant.,0
59
+ Not much seafood and like 5 strings of pasta at the bottom.,0
60
+ "The salad had just the right amount of sauce to not over power the scallop, which was perfectly cooked.",1
61
+ "The ripped banana was not only ripped, but petrified and tasteless.",0
62
+ At least think to refill my water before I struggle to wave you over for 10 minutes.,0
63
+ This place receives stars for their APPETIZERS!!!,1
64
+ The cocktails are all handmade and delicious.,1
65
+ We'd definitely go back here again.,1
66
+ We are so glad we found this place.,1
67
+ "Great food and service, huge portions and they give a military discount.",1
68
+ Always a great time at Dos Gringos!,1
69
+ Update.....went back for a second time and it was still just as amazing,1
70
+ We got the food and apparently they have never heard of salt and the batter on the fish was chewy.,0
71
+ A great way to finish a great.,1
72
+ "The deal included 5 tastings and 2 drinks, and Jeff went above and beyond what we expected.",1
73
+ "- Really, really good rice, all the time.",1
74
+ The service was meh.,0
75
+ "It took over 30 min to get their milkshake, which was nothing more than chocolate milk.",0
76
+ "I guess I should have known that this place would suck, because it is inside of the Excalibur, but I didn't use my common sense.",0
77
+ The scallop dish is quite appalling for value as well.,0
78
+ 2 times - Very Bad Customer Service !,0
79
+ The sweet potato fries were very good and seasoned well.,1
80
+ Today is the second time I've been to their lunch buffet and it was pretty good.,1
81
+ There is so much good food in Vegas that I feel cheated for wasting an eating opportunity by going to Rice and Company.,0
82
+ Coming here is like experiencing an underwhelming relationship where both parties can't wait for the other person to ask to break up.,0
83
+ walked in and the place smelled like an old grease trap and only 2 others there eating.,0
84
+ The turkey and roast beef were bland.,0
85
+ This place has it!,1
86
+ The pan cakes everyone are raving about taste like a sugary disaster tailored to the palate of a six year old.,0
87
+ I love the Pho and the spring rolls oh so yummy you have to try.,1
88
+ The poor batter to meat ratio made the chicken tenders very unsatisfying.,0
89
+ All I have to say is the food was amazing!!!,1
90
+ Omelets are to die for!,1
91
+ Everything was fresh and delicious!,1
92
+ "In summary, this was a largely disappointing dining experience.",0
93
+ "It's like a really sexy party in your mouth, where you're outrageously flirting with the hottest person at the party.",1
94
+ "Never been to Hard Rock Casino before, WILL NEVER EVER STEP FORWARD IN IT AGAIN!",0
95
+ Best breakfast buffet!!!,1
96
+ say bye bye to your tip lady!,0
97
+ We'll never go again.,0
98
+ Will be back again!,1
99
+ Food arrived quickly!,1
100
+ It was not good.,0
101
+ "On the up side, their cafe serves really good food.",1
102
+ "Our server was fantastic and when he found out the wife loves roasted garlic and bone marrow, he added extra to our meal and another marrow to go!",1
103
+ "The only good thing was our waiter, he was very helpful and kept the bloddy mary's coming.",1
104
+ "Best Buffet in town, for the price you cannot beat it.",1
105
+ "I LOVED their mussels cooked in this wine reduction, the duck was tender, and their potato dishes were delicious.",1
106
+ This is one of the better buffets that I have been to.,1
107
+ So we went to Tigerlilly and had a fantastic afternoon!,1
108
+ "The food was delicious, our bartender was attentive and personable AND we got a great deal!",1
109
+ The ambience is wonderful and there is music playing.,1
110
+ Will go back next trip out.,1
111
+ Sooooo good!!,1
112
+ "REAL sushi lovers, let's be honest - Yama is not that good.",0
113
+ "At least 40min passed in between us ordering and the food arriving, and it wasn't that busy.",0
114
+ This is a really fantastic Thai restaurant which is definitely worth a visit.,1
115
+ "Nice, spicy and tender.",1
116
+ Good prices.,1
117
+ Check it out.,1
118
+ It was pretty gross!,0
119
+ I've had better atmosphere.,0
120
+ Kind of hard to mess up a steak but they did.,0
121
+ "Although I very much liked the look and sound of this place, the actual experience was a bit disappointing.",0
122
+ I just don't know how this place managed to served the blandest food I have ever eaten when they are preparing Indian cuisine.,0
123
+ "Worst service to boot, but that is the least of their worries.",0
124
+ Service was fine and the waitress was friendly.,1
125
+ "The guys all had steaks, and our steak loving son who has had steak at the best and worst places said it was the best steak he's ever eaten.",1
126
+ "We thought you'd have to venture further away to get good sushi, but this place really hit the spot that night.",1
127
+ "Host staff were, for lack of a better word, BITCHES!",0
128
+ Bland... Not a liking this place for a number of reasons and I don't want to waste time on bad reviewing.. I'll leave it at that...,0
129
+ "Phenomenal food, service and ambiance.",1
130
+ I wouldn't return.,0
131
+ "Definitely worth venturing off the strip for the pork belly, will return next time I'm in Vegas.",1
132
+ This place is way too overpriced for mediocre food.,0
133
+ Penne vodka excellent!,1
134
+ "They have a good selection of food including a massive meatloaf sandwich, a crispy chicken wrap, a delish tuna melt and some tasty burgers.",1
135
+ The management is rude.,0
136
+ "Delicious NYC bagels, good selections of cream cheese, real Lox with capers even.",1
137
+ "Great Subway, in fact it's so good when you come here every other Subway will not meet your expectations.",1
138
+ I had a seriously solid breakfast here.,1
139
+ This is one of the best bars with food in Vegas.,1
140
+ "He was extremely rude and really, there are so many other restaurants I would love to dine at during a weekend in Vegas.",0
141
+ My drink was never empty and he made some really great menu suggestions.,1
142
+ Don't do it!!!!,0
143
+ The waiter wasn't helpful or friendly and rarely checked on us.,0
144
+ My husband and I ate lunch here and were very disappointed with the food and service.,0
145
+ And the red curry had so much bamboo shoots and wasn't very tasty to me.,0
146
+ Nice blanket of moz over top but i feel like this was done to cover up the subpar food.,1
147
+ The bathrooms are clean and the place itself is well decorated.,1
148
+ "The menu is always changing, food quality is going down & service is extremely slow.",0
149
+ "The service was a little slow , considering that were served by 3 people servers so the food was coming in a slow pace.",0
150
+ I give it 2 thumbs down,0
151
+ We watched our waiter pay a lot more attention to other tables and ignore us.,0
152
+ My fiancé and I came in the middle of the day and we were greeted and seated right away.,1
153
+ This is a great restaurant at the Mandalay Bay.,1
154
+ We waited for forty five minutes in vain.,0
155
+ Crostini that came with the salad was stale.,0
156
+ Some highlights : Great quality nigiri here!,1
157
+ the staff is friendly and the joint is always clean.,1
158
+ this was a different cut than the piece the other day but still wonderful and tender s well as well flavored.,1
159
+ I ordered the Voodoo pasta and it was the first time I'd had really excellent pasta since going gluten free several years ago.,1
160
+ this place is good.,1
161
+ "Unfortunately, we must have hit the bakery on leftover day because everything we ordered was STALE.",0
162
+ I came back today since they relocated and still not impressed.,0
163
+ I was seated immediately.,1
164
+ "Their menu is diverse, and reasonably priced.",1
165
+ Avoid at all cost!,0
166
+ Restaurant is always full but never a wait.,1
167
+ DELICIOUS!!,1
168
+ This place is hands-down one of the best places to eat in the Phoenix metro area.,1
169
+ So don't go there if you are looking for good food...,0
170
+ I've never been treated so bad.,0
171
+ Bacon is hella salty.,1
172
+ "We also ordered the spinach and avocado salad, the ingredients were sad and the dressing literally had zero taste.",0
173
+ "This really is how Vegas fine dining used to be, right down to the menus handed to the ladies that have no prices listed.",1
174
+ The waitresses are very friendly.,1
175
+ "Lordy, the Khao Soi is a dish that is not to be missed for curry lovers!",1
176
+ Everything on the menu is terrific and we were also thrilled that they made amazing accommodations for our vegetarian daughter.,1
177
+ "Perhaps I caught them on an off night judging by the other reviews, but I'm not inspired to go back.",0
178
+ The service here leaves a lot to be desired.,0
179
+ "The atmosphere is modern and hip, while maintaining a touch of coziness.",1
180
+ "Not a weekly haunt, but definitely a place to come back to every once in a while.",1
181
+ We literally sat there for 20 minutes with no one asking to take our order.,0
182
+ "The burger had absolutely no flavor - the meat itself was totally bland, the burger was overcooked and there was no charcoal flavor.",0
183
+ I also decided not to send it back because our waitress looked like she was on the verge of having a heart attack.,0
184
+ I dressed up to be treated so rudely!,0
185
+ It was probably dirt.,0
186
+ "Love this place, hits the spot when I want something healthy but not lacking in quantity or flavor.",1
187
+ I ordered the Lemon raspberry ice cocktail which was also incredible.,1
188
+ "The food sucked, which we expected but it sucked more than we could have imagined.",0
189
+ Interesting decor.,1
190
+ What I really like there is the crepe station.,1
191
+ "Also were served hot bread and butter, and home made potato chips with bacon bits on top....very original and very good.",1
192
+ you can watch them preparing the delicious food!),1
193
+ Both of the egg rolls were fantastic.,1
194
+ "When my order arrived, one of the gyros was missing.",0
195
+ "I had a salad with the wings, and some ice cream for dessert and left feeling quite satisfied.",1
196
+ I'm not really sure how Joey's was voted best hot dog in the Valley by readers of Phoenix Magazine.,0
197
+ The best place to go for a tasty bowl of Pho!,1
198
+ The live music on Fridays totally blows.,0
199
+ I've never been more insulted or felt disrespected.,0
200
+ Very friendly staff.,1
201
+ It is worth the drive.,1
202
+ "I had heard good things about this place, but it exceeding every hope I could have dreamed of.",1
203
+ Food was great and so was the serivce!,1
204
+ The warm beer didn't help.,0
205
+ Great brunch spot.,1
206
+ Service is friendly and inviting.,1
207
+ Very good lunch spot.,1
208
+ I've lived here since 1979 and this was the first (and last) time I've stepped foot into this place.,0
209
+ The WORST EXPERIENCE EVER.,0
210
+ Must have been an off night at this place.,0
211
+ "The sides are delish - mixed mushrooms, yukon gold puree, white corn - beateous.",1
212
+ "If that bug never showed up I would have given a 4 for sure, but on the other side of the wall where this bug was climbing was the kitchen.",0
213
+ "For about 10 minutes, we we're waiting for her salad when we realized that it wasn't coming any time soon.",0
214
+ My friend loved the salmon tartar.,1
215
+ Won't go back.,0
216
+ Extremely Tasty!,1
217
+ Waitress was good though!,1
218
+ Soggy and not good.,0
219
+ The Jamaican mojitos are delicious.,1
220
+ Which are small and not worth the price.,0
221
+ - the food is rich so order accordingly.,1
222
+ "The shower area is outside so you can only rinse, not take a full shower, unless you don't mind being nude for everyone to see!",0
223
+ The service was a bit lacking.,0
224
+ "Lobster Bisque, Bussell Sprouts, Risotto, Filet ALL needed salt and pepper..and of course there is none at the tables.",0
225
+ Hopefully this bodes for them going out of business and someone who can cook can come in.,0
226
+ "It was either too cold, not enough flavor or just bad.",0
227
+ I loved the bacon wrapped dates.,1
228
+ This is an unbelievable BARGAIN!,1
229
+ The folks at Otto always make us feel so welcome and special.,1
230
+ "As for the ""mains,"" also uninspired.",0
231
+ This is the place where I first had pho and it was amazing!!,1
232
+ This wonderful experience made this place a must-stop whenever we are in town again.,1
233
+ "If the food isn't bad enough for you, then enjoy dealing with the world's worst/annoying drunk people.",0
234
+ Very very fun chef.,1
235
+ "Ordered a double cheeseburger & got a single patty that was falling apart (picture uploaded) Yeah, still sucks.",0
236
+ Great place to have a couple drinks and watch any and all sporting events as the walls are covered with TV's.,1
237
+ "If it were possible to give them zero stars, they'd have it.",0
238
+ "The descriptions said ""yum yum sauce"" and another said ""eel sauce"", yet another said ""spicy mayo""...well NONE of the rolls had sauces on them.",0
239
+ "I'd say that would be the hardest decision... Honestly, all of M's dishes taste how they are supposed to taste (amazing).",1
240
+ If she had not rolled the eyes we may have stayed... Not sure if we will go back and try it again.,0
241
+ "Everyone is very attentive, providing excellent customer service.",1
242
+ Horrible - don't waste your time and money.,0
243
+ Now this dish was quite flavourful.,1
244
+ By this time our side of the restaurant was almost empty so there was no excuse.,0
245
+ "(It wasn't busy either) Also, the building was FREEZING cold.",0
246
+ "like the other reviewer said ""you couldn't pay me to eat at this place again.""",0
247
+ -Drinks took close to 30 minutes to come out at one point.,0
248
+ "Seriously flavorful delights, folks.",1
249
+ Much better than the other AYCE sushi place I went to in Vegas.,1
250
+ The lighting is just dark enough to set the mood.,1
251
+ Based on the sub-par service I received and no effort to show their gratitude for my business I won't be going back.,0
252
+ Owner's are really great people.!,1
253
+ There is nothing privileged about working/eating there.,0
254
+ The Greek dressing was very creamy and flavorful.,1
255
+ "Overall, I don't think that I would take my parents to this place again because they made most of the similar complaints that I silently felt too.",0
256
+ Now the pizza itself was good the peanut sauce was very tasty.,1
257
+ We had 7 at our table and the service was pretty fast.,1
258
+ Fantastic service here.,1
259
+ I as well would've given godfathers zero stars if possible.,0
260
+ They know how to make them here.,1
261
+ very tough and very short on flavor!,0
262
+ I hope this place sticks around.,1
263
+ "I have been in more than a few bars in Vegas, and do not ever recall being charged for tap water.",0
264
+ The restaurant atmosphere was exquisite.,1
265
+ "Good service, very clean, and inexpensive, to boot!",1
266
+ The seafood was fresh and generous in portion.,1
267
+ "Plus, it's only 8 bucks.",1
268
+ "The service was not up to par, either.",0
269
+ "Thus far, have only visited twice and the food was absolutely delicious each time.",1
270
+ Just as good as when I had it more than a year ago!,1
271
+ "For a self proclaimed coffee cafe, I was wildly disappointed.",0
272
+ The Veggitarian platter is out of this world!,1
273
+ You cant go wrong with any of the food here.,1
274
+ You can't beat that.,1
275
+ "Stopped by this place while in Madison for the Ironman, very friendly, kind staff.",1
276
+ The chefs were friendly and did a good job.,1
277
+ "I've had better, not only from dedicated boba tea spots, but even from Jenni Pho.",0
278
+ I liked the patio and the service was outstanding.,1
279
+ The goat taco didn't skimp on the meat and wow what FLAVOR!,1
280
+ I think not again,0
281
+ I had the mac salad and it was pretty bland so I will not be getting that again.,0
282
+ I went to Bachi Burger on a friend's recommendation and was not disappointed.,1
283
+ Service stinks here!,0
284
+ I waited and waited.,0
285
+ "This place is not quality sushi, it is not a quality restaurant.",0
286
+ I would definitely recommend the wings as well as the pizza.,1
287
+ Great Pizza and Salads!,1
288
+ Things that went wrong: - They burned the saganaki.,0
289
+ We waited an hour for what was a breakfast I could have done 100 times better at home.,0
290
+ This place is amazing!,1
291
+ "I hate to disagree with my fellow Yelpers, but my husband and I were so disappointed with this place.",0
292
+ Waited 2 hours & never got either of our pizzas as many other around us who came in later did!,0
293
+ Just don't know why they were so slow.,0
294
+ "The staff is great, the food is delish, and they have an incredible beer selection.",1
295
+ "I live in the neighborhood so I am disappointed I won't be back here, because it is a convenient location.",0
296
+ I didn't know pulled pork could be soooo delicious.,1
297
+ "You get incredibly fresh fish, prepared with care.",1
298
+ Before I go in to why I gave a 1 star rating please know that this was my third time eating at Bachi burger before writing a review.,0
299
+ I love the fact that everything on their menu is worth it.,1
300
+ Never again will I be dining at this place!,0
301
+ The food was excellent and service was very good.,1
302
+ Good beer & drink selection and good food selection.,1
303
+ Please stay away from the shrimp stir fried noodles.,0
304
+ The potato chip order was sad... I could probably count how many chips were in that box and it was probably around 12.,0
305
+ Food was really boring.,0
306
+ Good Service-check!,1
307
+ This greedy corporation will NEVER see another dime from me!,0
308
+ "Will never, ever go back.",0
309
+ "As much as I'd like to go back, I can't get passed the atrocious service and will never return.",0
310
+ "In the summer, you can dine in a charming outdoor patio - so very delightful.",1
311
+ I did not expect this to be so good!,1
312
+ Fantastic food!,1
313
+ She ordered a toasted English muffin that came out untoasted.,0
314
+ The food was very good.,1
315
+ Never going back.,0
316
+ "Great food for the price, which is very high quality and house made.",1
317
+ The bus boy on the other hand was so rude.,0
318
+ "By this point, my friends and I had basically figured out this place was a joke and didn't mind making it publicly and loudly known.",0
319
+ "Back to good BBQ, lighter fare, reasonable pricing and tell the public they are back to the old ways.",1
320
+ "And considering the two of us left there very full and happy for about $20, you just can't go wrong.",1
321
+ All the bread is made in-house!,1
322
+ The only downside is the service.,0
323
+ "Also, the fries are without a doubt the worst fries I've ever had.",0
324
+ Service was exceptional and food was a good as all the reviews.,1
325
+ "A couple of months later, I returned and had an amazing meal.",1
326
+ Favorite place in town for shawarrrrrrma!!!!!!,1
327
+ The black eyed peas and sweet potatoes... UNREAL!,1
328
+ You won't be disappointed.,1
329
+ "They could serve it with just the vinaigrette and it may make for a better overall dish, but it was still very good.",1
330
+ "I go to far too many places and I've never seen any restaurant that serves a 1 egg breakfast, especially for $4.00.",0
331
+ When my mom and I got home she immediately got sick and she only had a few bites of salad.,0
332
+ The servers are not pleasant to deal with and they don't always honor Pizza Hut coupons.,0
333
+ "Both of them were truly unbelievably good, and I am so glad we went back.",1
334
+ "We had fantastic service, and were pleased by the atmosphere.",1
335
+ Everything was gross.,0
336
+ I love this place.,1
337
+ Great service and food.,1
338
+ First - the bathrooms at this location were dirty- Seat covers were not replenished & just plain yucky!!!,0
339
+ "The burger... I got the ""Gold Standard"" a $17 burger and was kind of disappointed.",0
340
+ "OMG, the food was delicioso!",1
341
+ There is nothing authentic about this place.,0
342
+ the spaghetti is nothing special whatsoever.,0
343
+ "Of all the dishes, the salmon was the best, but all were great.",1
344
+ The vegetables are so fresh and the sauce feels like authentic Thai.,1
345
+ It's worth driving up from Tucson!,1
346
+ The selection was probably the worst I've seen in Vegas.....there was none.,0
347
+ Pretty good beer selection too.,1
348
+ "This place is like Chipotle, but BETTER.",1
349
+ "Classy/warm atmosphere, fun and fresh appetizers, succulent steaks (Baseball steak!!!!!",1
350
+ 5 stars for the brick oven bread app!,1
351
+ "I have eaten here multiple times, and each time the food was delicious.",1
352
+ We sat another ten minutes and finally gave up and left.,0
353
+ He was terrible!,0
354
+ Everyone is treated equally special.,1
355
+ It shouldn't take 30 min for pancakes and eggs.,0
356
+ It was delicious!!!,1
357
+ "On the good side, the staff was genuinely pleasant and enthusiastic - a real treat.",1
358
+ "Sadly, Gordon Ramsey's Steak is a place we shall sharply avoid during our next trip to Vegas.",0
359
+ As always the evening was wonderful and the food delicious!,1
360
+ Best fish I've ever had in my life!,1
361
+ (The bathroom is just next door and very nice.),1
362
+ The buffet is small and all the food they offered was BLAND.,0
363
+ This is an Outstanding little restaurant with some of the Best Food I have ever tasted.,1
364
+ Pretty cool I would say.,1
365
+ Definitely a turn off for me & i doubt I'll be back unless someone else is buying.,0
366
+ Server did a great job handling our large rowdy table.,1
367
+ "I find wasting food to be despicable, but this just wasn't food.",0
368
+ My wife had the Lobster Bisque soup which was lukewarm.,0
369
+ Would come back again if I had a sushi craving while in Vegas.,1
370
+ "The staff are great, the ambiance is great.",1
371
+ He deserves 5 stars.,1
372
+ I left with a stomach ache and felt sick the rest of the day.,0
373
+ They dropped more than the ball.,0
374
+ "The dining space is tiny, but elegantly decorated and comfortable.",1
375
+ "They will customize your order any way you'd like, my usual is Eggplant with Green Bean stir fry, love it!",1
376
+ And the beans and rice were mediocre at best.,0
377
+ Best tacos in town by far!!,1
378
+ I took back my money and got outta there.,0
379
+ "In an interesting part of town, this place is amazing.",1
380
+ RUDE & INCONSIDERATE MANAGEMENT.,0
381
+ "The staff are now not as friendly, the wait times for being served are horrible, no one even says hi for the first 10 minutes.",0
382
+ I won't be back.,0
383
+ They have great dinners.,1
384
+ The service was outshining & I definitely recommend the Halibut.,1
385
+ The food was terrible.,0
386
+ WILL NEVER EVER GO BACK AND HAVE TOLD MANY PEOPLE WHAT HAD HAPPENED.,0
387
+ I don't recommend unless your car breaks down in front of it and you are starving.,0
388
+ I will come back here every time I'm in Vegas.,1
389
+ This place deserves one star and 90% has to do with the food.,0
390
+ This is a disgrace.,0
391
+ Def coming back to bowl next time,1
392
+ "If you want healthy authentic or ethic food, try this place.",1
393
+ I will continue to come here on ladies night andddd date night ... highly recommend this place to anyone who is in the area.,1
394
+ "I have been here several times in the past, and the experience has always been great.",1
395
+ We walked away stuffed and happy about our first Vegas buffet experience.,1
396
+ Service was excellent and prices are pretty reasonable considering this is Vegas and located inside the Crystals shopping mall by Aria.,1
397
+ "To summarize... the food was incredible, nay, transcendant... but nothing brings me joy quite like the memory of the pneumatic condiment dispenser.",1
398
+ I'm probably one of the few people to ever go to Ians and not like it.,0
399
+ Kids pizza is always a hit too with lots of great side dish options for the kiddos!,1
400
+ Service is perfect and the family atmosphere is nice to see.,1
401
+ Cooked to perfection and the service was impeccable.,1
402
+ This one is simply a disappointment.,0
403
+ "Overall, I was very disappointed with the quality of food at Bouchon.",0
404
+ I don't have to be an accountant to know I'm getting screwed!,0
405
+ "Great place to eat, reminds me of the little mom and pop shops in the San Francisco Bay Area.",1
406
+ Today was my first taste of a Buldogis Gourmet Hot Dog and I have to tell you it was more than I ever thought possible.,1
407
+ Left very frustrated.,0
408
+ I'll definitely be in soon again.,1
409
+ Food was really good and I got full petty fast.,1
410
+ Service was fantastic.,1
411
+ TOTAL WASTE OF TIME.,0
412
+ I don't know what kind it is but they have the best iced tea.,1
413
+ "Come hungry, leave happy and stuffed!",1
414
+ "For service, I give them no stars.",0
415
+ I can assure you that you won't be disappointed.,1
416
+ I can take a little bad service but the food sucks.,0
417
+ Gave up trying to eat any of the crust (teeth still sore).,0
418
+ But now I was completely grossed out.,0
419
+ I really enjoyed eating here.,1
420
+ First time going but I think I will quickly become a regular.,1
421
+ "Our server was very nice, and even though he looked a little overwhelmed with all of our needs, he stayed professional and friendly until the end.",1
422
+ From what my dinner companions told me...everything was very fresh with nice texture and taste.,1
423
+ "On the ground, right next to our table was a large, smeared, been-stepped-in-and-tracked-everywhere pile of green bird poop.",0
424
+ "Furthermore, you can't even find hours of operation on the website!",0
425
+ We've tried to like this place but after 10+ times I think we're done with them.,0
426
+ What a mistake that was!,0
427
+ No complaints!,1
428
+ This is some seriously good pizza and I'm an expert/connisseur on the topic.,1
429
+ Waiter was a jerk.,0
430
+ "Strike 2, who wants to be rushed.",0
431
+ These are the nicest restaurant owners I've ever come across.,1
432
+ I never come again.,0
433
+ We loved the biscuits!!!,1
434
+ Service is quick and friendly.,1
435
+ Ordered an appetizer and took 40 minutes and then the pizza another 10 minutes.,0
436
+ So absolutley fantastic.,1
437
+ It was a huge awkward 1.5lb piece of cow that was 3/4ths gristle and fat.,0
438
+ definitely will come back here again.,1
439
+ I like Steiners because it's dark and it feels like a bar.,1
440
+ Wow very spicy but delicious.,1
441
+ "If you're not familiar, check it out.",1
442
+ I'll take my business dinner dollars elsewhere.,0
443
+ I'd love to go back.,1
444
+ "Anyway, this FS restaurant has a wonderful breakfast/lunch.",1
445
+ Nothing special.,0
446
+ Each day of the week they have a different deal and it's all so delicious!,1
447
+ "Not to mention the combination of pears, almonds and bacon is a big winner!",1
448
+ Will not be back.,0
449
+ Sauce was tasteless.,0
450
+ "The food is delicious and just spicy enough, so be sure to ask for spicier if you prefer it that way.",1
451
+ My ribeye steak was cooked perfectly and had great mesquite flavor.,1
452
+ I don't think we'll be going back anytime soon.,0
453
+ Food was so gooodd.,1
454
+ I am far from a sushi connoisseur but I can definitely tell the difference between good food and bad food and this was certainly bad food.,0
455
+ I was so insulted.,0
456
+ The last 3 times I had lunch here has been bad.,0
457
+ The chicken wings contained the driest chicken meat I have ever eaten.,0
458
+ "The food was very good and I enjoyed every mouthful, an enjoyable relaxed venue for couples small family groups etc.",1
459
+ Nargile - I think you are great.,1
460
+ Best tater tots in the southwest.,1
461
+ We loved the place.,1
462
+ Definitely not worth the $3 I paid.,0
463
+ The vanilla ice cream was creamy and smooth while the profiterole (choux) pastry was fresh enough.,1
464
+ Im in AZ all the time and now have my new spot.,1
465
+ The manager was the worst.,0
466
+ The inside is really quite nice and very clean.,1
467
+ The food was outstanding and the prices were very reasonable.,1
468
+ I don't think I'll be running back to Carly's anytime soon for food.,0
469
+ "This is was due to the fact that it took 20 minutes to be acknowledged, then another 35 minutes to get our food...and they kept forgetting things.",0
470
+ "Love the margaritas, too!",1
471
+ This was my first and only Vegas buffet and it did not disappoint.,1
472
+ "Very good, though!",1
473
+ The one down note is the ventilation could use some upgrading.,0
474
+ Great pork sandwich.,1
475
+ Don't waste your time here.,0
476
+ "Total letdown, I would much rather just go to the Camelback Flower Shop and Cartel Coffee.",0
477
+ "Third, the cheese on my friend's burger was cold.",0
478
+ We enjoy their pizza and brunch.,1
479
+ The steaks are all well trimmed and also perfectly cooked.,1
480
+ We had a group of 70+ when we claimed we would only have 40 and they handled us beautifully.,1
481
+ I LOVED it!,1
482
+ We asked for the bill to leave without eating and they didn't bring that either.,0
483
+ "This place is a jewel in Las Vegas, and exactly what I've been hoping to find in nearly ten years living here.",1
484
+ Seafood was limited to boiled shrimp and crab legs but the crab legs definitely did not taste fresh.,0
485
+ The selection of food was not the best.,0
486
+ Delicious and I will absolutely be back!,1
487
+ "This isn't a small family restaurant, this is a fine dining establishment.",1
488
+ They had a toro tartare with a cavier that was extraordinary and I liked the thinly sliced wagyu with white truffle.,1
489
+ I dont think I will be back for a very long time.,0
490
+ "It was attached to a gas station, and that is rarely a good sign.",0
491
+ How awesome is that.,1
492
+ I will be back many times soon.,1
493
+ The menu had so much good stuff on it i could not decide!,1
494
+ "Worse of all, he humiliated his worker right in front of me..Bunch of horrible name callings.",0
495
+ CONCLUSION: Very filling meals.,1
496
+ Their daily specials are always a hit with my group.,1
497
+ And then tragedy struck.,0
498
+ The pancake was also really good and pretty large at that.,1
499
+ "This was my first crawfish experience, and it was delicious!",1
500
+ Their monster chicken fried steak and eggs is my all time favorite.,1
501
+ Waitress was sweet and funny.,1
502
+ "I also had to taste my Mom's multi-grain pumpkin pancakes with pecan butter and they were amazing, fluffy, and delicious!",1
503
+ "I'd rather eat airline food, seriously.",0
504
+ Cant say enough good things about this place.,1
505
+ The ambiance was incredible.,1
506
+ The waitress and manager are so friendly.,1
507
+ I would not recommend this place.,0
508
+ Overall I wasn't very impressed with Noca.,0
509
+ My gyro was basically lettuce only.,0
510
+ Terrible service!,0
511
+ Thoroughly disappointed!,0
512
+ "I don't each much pasta, but I love the homemade /hand made pastas and thin pizzas here.",1
513
+ "Give it a try, you will be happy you did.",1
514
+ By far the BEST cheesecurds we have ever had!,1
515
+ Reasonably priced also!,1
516
+ Everything was perfect the night we were in.,1
517
+ The food is very good for your typical bar food.,1
518
+ it was a drive to get there.,0
519
+ "At first glance it is a lovely bakery cafe - nice ambiance, clean, friendly staff.",1
520
+ "Anyway, I do not think i will go back there.",0
521
+ "Point your finger at any item on the menu, order it and you won't be disappointed.",1
522
+ "Oh this is such a thing of beauty, this restaurant.",1
523
+ If you haven't gone here GO NOW!,1
524
+ "A greasy, unhealthy meal.",0
525
+ first time there and might just be the last.,0
526
+ Those burgers were amazing.,1
527
+ "Similarly, the delivery man did not say a word of apology when our food was 45 minutes late.",0
528
+ And it was way to expensive.,0
529
+ "Be sure to order dessert, even if you need to pack it to-go - the tiramisu and cannoli are both to die for.",1
530
+ This was my first time and I can't wait until the next.,1
531
+ The bartender was also nice.,1
532
+ Everything was good and tasty!,1
533
+ This place is two thumbs up....way up.,1
534
+ "The best place in Vegas for breakfast (just check out a Sat, or Sun.",1
535
+ "If you love authentic Mexican food and want a whole bunch of interesting, yet delicious meats to choose from, you need to try this place.",1
536
+ Terrible management.,0
537
+ An excellent new restaurant by an experienced Frenchman.,1
538
+ If there were zero stars I would give it zero stars.,0
539
+ "Great steak, great sides, great wine, amazing desserts.",1
540
+ Worst martini ever!,0
541
+ The steak and the shrimp are in my opinion the best entrees at GC.,1
542
+ I had the opportunity today to sample your amazing pizzas!,1
543
+ We waited for thirty minutes to be seated (although there were 8 vacant tables and we were the only folks waiting).,0
544
+ The yellowtail carpaccio was melt in your mouth fresh.,1
545
+ I won't try going back there even if it's empty.,0
546
+ "No, I'm going to eat the potato that I found some strangers hair in it.",0
547
+ Just spicy enough.. Perfect actually.,1
548
+ Last night was my second time dining here and I was so happy I decided to go back!,1
549
+ "not even a ""hello, we will be right with you.""",0
550
+ The desserts were a bit strange.,0
551
+ My boyfriend and I came here for the first time on a recent trip to Vegas and could not have been more pleased with the quality of food and service.,1
552
+ "I really do recommend this place, you can go wrong with this donut place!",1
553
+ Nice ambiance.,1
554
+ I would recommend saving room for this!,1
555
+ I guess maybe we went on an off night but it was disgraceful.,0
556
+ "However, my recent experience at this particular location was not so good.",0
557
+ "I know this is not like the other restaurants at all, something is very off here!",0
558
+ AVOID THIS ESTABLISHMENT!,0
559
+ I think this restaurant suffers from not trying hard enough.,0
560
+ All of the tapas dishes were delicious!,1
561
+ I *heart* this place.,1
562
+ My salad had a bland vinegrette on the baby greens and hearts of Palm.,0
563
+ After two I felt disgusting.,0
564
+ A good time!,1
565
+ I believe that this place is a great stop for those with a huge belly and hankering for sushi.,1
566
+ Generous portions and great taste.,1
567
+ I will never go back to this place and will never ever recommended this place to anyone!,0
568
+ "The servers went back and forth several times, not even so much as an ""Are you being helped?""",0
569
+ Food was delicious!,1
570
+ AN HOUR... seriously?,0
571
+ I consider this theft.,0
572
+ Eew... This location needs a complete overhaul.,0
573
+ We recently witnessed her poor quality of management towards other guests as well.,0
574
+ Waited and waited and waited.,0
575
+ "He also came back to check on us regularly, excellent service.",1
576
+ Our server was super nice and checked on us many times.,1
577
+ "The pizza tasted old, super chewy in not a good way.",0
578
+ I swung in to give them a try but was deeply disappointed.,0
579
+ Service was good and the company was better!,1
580
+ The staff are also very friendly and efficient.,1
581
+ "As for the service: I'm a fan, because it's quick and you're being served by some nice folks.",1
582
+ Boy was that sucker dry!!.,0
583
+ Over rated.,0
584
+ "If you look for authentic Thai food, go else where.",0
585
+ Their steaks are 100% recommended!,1
586
+ After I pulled up my car I waited for another 15 minutes before being acknowledged.,0
587
+ Great food and great service in a clean and friendly setting.,1
588
+ "All in all, I can assure you I'll be back.",1
589
+ I hate those things as much as cheap quality black olives.,0
590
+ "My breakfast was perpared great, with a beautiful presentation of 3 giant slices of Toast, lightly dusted with powdered sugar.",1
591
+ The kids play area is NASTY!,0
592
+ Great place fo take out or eat in.,1
593
+ The waitress was friendly and happy to accomodate for vegan/veggie options.,1
594
+ OMG I felt like I had never eaten Thai food until this dish.,1
595
+ "It was extremely ""crumby"" and pretty tasteless.",0
596
+ It was a pale color instead of nice and char and has NO flavor.,0
597
+ The croutons also taste homemade which is an extra plus.,1
598
+ I got home to see the driest damn wings ever!,0
599
+ It'll be a regular stop on my trips to Phoenix!,1
600
+ I really enjoyed Crema Café before they expanded. I even told friends they had the BEST breakfast.,1
601
+ Not good for the money.,0
602
+ I miss it and wish they had one in Philadelphia!,1
603
+ "We got sitting fairly fast, but, ended up waiting 40 minutes just to place our order, another 30 minutes before the food arrived.",0
604
+ They also have the best cheese crisp in town.,1
605
+ "Good value, great food, great service.",1
606
+ Couldn't ask for a more satisfying meal.,1
607
+ The food is good.,1
608
+ It was awesome.,1
609
+ I just wanted to leave.,0
610
+ We made the drive all the way from North Scottsdale... and I was not one bit disappointed!,1
611
+ I will not be eating there again.,0
612
+ !....THE OWNERS REALLY REALLY need to quit being soooooo cheap let them wrap my freaking sandwich in two papers not one!,0
613
+ I checked out this place a couple years ago and was not impressed.,0
614
+ "The chicken I got was definitely reheated and was only ok, the wedges were cold and soggy.",0
615
+ "Sorry, I will not be getting food from here anytime soon :(",0
616
+ An absolute must visit!,1
617
+ The cow tongue and cheek tacos are amazing.,1
618
+ My friend did not like his Bloody Mary.,0
619
+ "Despite how hard I rate businesses, its actually rare for me to give a 1 star.",0
620
+ They really want to make your experience a good one.,1
621
+ I will not return.,0
622
+ I had the chicken Pho and it tasted very bland.,0
623
+ Very disappointing!!!,0
624
+ The grilled chicken was so tender and yellow from the saffron seasoning.,1
625
+ "a drive thru means you do not want to wait around for half an hour for your food, but somehow when we end up going here they make us wait and wait.",0
626
+ Pretty awesome place.,1
627
+ Ambience is perfect.,1
628
+ Best of luck to the rude and non-customer service focused new management.,0
629
+ Any grandmother can make a roasted chicken better than this one.,0
630
+ I asked multiple times for the wine list and after some time of being ignored I went to the hostess and got one myself.,0
631
+ "The staff is always super friendly and helpful, which is especially cool when you bring two small boys and a baby!",1
632
+ Four stars for the food & the guy in the blue shirt for his great vibe & still letting us in to eat !,1
633
+ The roast beef sandwich tasted really good!,1
634
+ "Same evening, him and I are both drastically sick.",0
635
+ High-quality chicken on the chicken Caesar salad.,1
636
+ Ordered burger rare came in we'll done.,0
637
+ We were promptly greeted and seated.,1
638
+ Tried to go here for lunch and it was a madhouse.,0
639
+ "I was proven dead wrong by this sushi bar, not only because the quality is great, but the service is fast and the food, impeccable.",1
640
+ "After waiting an hour and being seated, I was not in the greatest of moods.",0
641
+ This is a good joint.,1
642
+ The Macarons here are insanely good.,1
643
+ I'm not eating here!,0
644
+ "Our waiter was very attentive, friendly, and informative.",1
645
+ Maybe if they weren't cold they would have been somewhat edible.,0
646
+ This place has a lot of promise but fails to deliver.,0
647
+ Very bad Experience!,0
648
+ What a mistake.,0
649
+ Food was average at best.,0
650
+ Great food.,1
651
+ We won't be going back anytime soon!,0
652
+ Very Very Disappointed ordered the $35 Big Bay Plater.,0
653
+ Great place to relax and have an awesome burger and beer.,1
654
+ It is PERFECT for a sit-down family meal or get together with a few friends.,1
655
+ "Not much flavor to them, and very poorly constructed.",0
656
+ The patio seating was very comfortable.,1
657
+ The fried rice was dry as well.,0
658
+ Hands down my favorite Italian restaurant!,1
659
+ "That just SCREAMS ""LEGIT"" in my book...somethat's also pretty rare here in Vegas.",1
660
+ It was just not a fun experience.,1
661
+ The atmosphere was great with a lovely duo of violinists playing songs we requested.,1
662
+ "I personally love the hummus, pita, baklava, falafels and Baba Ganoush (it's amazing what they do with eggplant!).",1
663
+ "Very convenient, since we were staying at the MGM!",1
664
+ The owners are super friendly and the staff is courteous.,1
665
+ Both great!,1
666
+ Eclectic selection.,1
667
+ The sweet potato tots were good but the onion rings were perfection or as close as I have had.,1
668
+ The staff was very attentive.,1
669
+ And the chef was generous with his time (even came around twice so we can take pictures with him).,1
670
+ "The owner used to work at Nobu, so this place is really similar for half the price.",1
671
+ Google mediocre and I imagine Smashburger will pop up.,0
672
+ dont go here.,0
673
+ I promise they won't disappoint.,1
674
+ As a sushi lover avoid this place by all means.,0
675
+ What a great double cheeseburger!,1
676
+ Awesome service and food.,1
677
+ A fantastic neighborhood gem !!!,1
678
+ I can't wait to go back.,1
679
+ The plantains were the worst I've ever tasted.,0
680
+ It's a great place and I highly recommend it.,1
681
+ Service was slow and not attentive.,0
682
+ "I gave it 5 stars then, and I'm giving it 5 stars now.",1
683
+ Your staff spends more time talking to themselves than me.,0
684
+ Dessert: Panna Cotta was amazing.,1
685
+ "Very good food, great atmosphere.1",1
686
+ Damn good steak.,1
687
+ Total brunch fail.,0
688
+ "Prices are very reasonable, flavors are spot on, the sauce is home made, and the slaw is not drenched in mayo.",1
689
+ "The decor is nice, and the piano music soundtrack is pleasant.",1
690
+ The steak was amazing...rge fillet relleno was the best seafood plate i have ever had!,1
691
+ "Good food , good service .",1
692
+ It was absolutely amazing.,1
693
+ "I probably won't be back, to be honest.",0
694
+ will definitely be back!,1
695
+ The sergeant pepper beef sandwich with auju sauce is an excellent sandwich as well.,1
696
+ "Hawaiian Breeze, Mango Magic, and Pineapple Delight are the smoothies that I've tried so far and they're all good.",1
697
+ Went for lunch - service was slow.,0
698
+ "We had so much to say about the place before we walked in that he expected it to be amazing, but was quickly disappointed.",0
699
+ I was mortified.,0
700
+ "Needless to say, we will never be back here again.",0
701
+ "Anyways, The food was definitely not filling at all, and for the price you pay you should expect more.",0
702
+ "The chips that came out were dripping with grease, and mostly not edible.",0
703
+ I wasn't really impressed with Strip Steak.,0
704
+ Have been going since 2007 and every meal has been awesome!!,1
705
+ Our server was very nice and attentive as were the other serving staff.,1
706
+ The cashier was friendly and even brought the food out to me.,1
707
+ I work in the hospitality industry in Paradise Valley and have refrained from recommending Cibo any longer.,0
708
+ The atmosphere here is fun.,1
709
+ Would not recommend to others.,0
710
+ "Service is quick and even ""to go"" orders are just like we like it!",1
711
+ "I mean really, how do you get so famous for your fish and chips when it's so terrible!?!",0
712
+ "That said, our mouths and bellies were still quite pleased.",1
713
+ Not my thing.,0
714
+ 2 Thumbs Up!!,1
715
+ If you are reading this please don't go there.,0
716
+ "I loved the grilled pizza, reminded me of legit Italian pizza.",1
717
+ Only Pros : Large seating area/ Nice bar area/ Great simple drink menu/ The BEST brick oven pizza with homemade dough!,1
718
+ They have a really nice atmosphere.,1
719
+ Tonight I had the Elk Filet special...and it sucked.,0
720
+ "After one bite, I was hooked.",1
721
+ We ordered some old classics and some new dishes after going there a few times and were sorely disappointed with everything.,0
722
+ "Cute, quaint, simple, honest.",1
723
+ The chicken was deliciously seasoned and had the perfect fry on the outside and moist chicken on the inside.,1
724
+ "The food was great as always, compliments to the chef.",1
725
+ Special thanks to Dylan T. for the recommendation on what to order :) All yummy for my tummy.,1
726
+ Awesome selection of beer.,1
727
+ Great food and awesome service!,1
728
+ "One nice thing was that they added gratuity on the bill since our party was larger than 6 or 8, and they didn't expect more tip than that.",1
729
+ A FLY was in my apple juice.. A FLY!!!!!!!!,0
730
+ The Han Nan Chicken was also very tasty.,1
731
+ "As for the service, I thought it was good.",1
732
+ "The food was barely lukewarm, so it must have been sitting waiting for the server to bring it out to us.",0
733
+ Ryan's Bar is definitely one Edinburgh establishment I won't be revisiting.,0
734
+ Nicest Chinese restaurant I've been in a while.,1
735
+ "Overall, I like there food and the service.",1
736
+ They also now serve Indian naan bread with hummus and some spicy pine nut sauce that was out of this world.,1
737
+ "Probably never coming back, and wouldn't recommend it.",0
738
+ "Friend's pasta -- also bad, he barely touched it.",0
739
+ "Try them in the airport to experience some tasty food and speedy, friendly service.",1
740
+ I love the decor with the Chinese calligraphy wall paper.,1
741
+ Never had anything to complain about here.,1
742
+ The restaurant is very clean and has a family restaurant feel to it.,1
743
+ It was way over fried.,0
744
+ I'm not sure how long we stood there but it was long enough for me to begin to feel awkwardly out of place.,0
745
+ "When I opened the sandwich, I was impressed, but not in a good way.",0
746
+ Will not be back!,0
747
+ There was a warm feeling with the service and I felt like their guest for a special treat.,1
748
+ An extensive menu provides lots of options for breakfast.,1
749
+ "I always order from the vegetarian menu during dinner, which has a wide array of options to choose from.",1
750
+ "I have watched their prices inflate, portions get smaller and management attitudes grow rapidly!",0
751
+ Wonderful lil tapas and the ambience made me feel all warm and fuzzy inside.,1
752
+ "I got to enjoy the seafood salad, with a fabulous vinegrette.",1
753
+ "The wontons were thin, not thick and chewy, almost melt in your mouth.",1
754
+ "Level 5 spicy was perfect, where spice didn't over-whelm the soup.",1
755
+ We were sat right on time and our server from the get go was FANTASTIC!,1
756
+ "Main thing I didn't enjoy is that the crowd is of older crowd, around mid 30s and up.",0
757
+ "When I'm on this side of town, this will definitely be a spot I'll hit up again!",1
758
+ I had to wait over 30 minutes to get my drink and longer to get 2 arepas.,0
759
+ This is a GREAT place to eat!,1
760
+ The jalapeno bacon is soooo good.,1
761
+ The service was poor and thats being nice.,0
762
+ "Food was good, service was good, Prices were good.",1
763
+ The place was not clean and the food oh so stale!,0
764
+ "The chicken dishes are OK, the beef is like shoe leather.",0
765
+ But the service was beyond bad.,0
766
+ "I'm so happy to be here!!!""",1
767
+ Tasted like dirt.,0
768
+ One of the few places in Phoenix that I would definately go back to again .,1
769
+ The block was amazing.,1
770
+ "It's close to my house, it's low-key, non-fancy, affordable prices, good food.",1
771
+ * Both the Hot & Sour & the Egg Flower Soups were absolutely 5 Stars!,1
772
+ My sashimi was poor quality being soggy and tasteless.,0
773
+ Great time - family dinner on a Sunday night.,1
774
+ "the food is not tasty at all, not to say its ""real traditional Hunan style"".",0
775
+ "What did bother me, was the slow service.",0
776
+ The flair bartenders are absolutely amazing!,1
777
+ Their frozen margaritas are WAY too sugary for my taste.,0
778
+ These were so good we ordered them twice.,1
779
+ So in a nutshell: 1) The restaraunt smells like a combination of a dirty fish market and a sewer.,0
780
+ My girlfriend's veal was very bad.,0
781
+ "Unfortunately, it was not good.",0
782
+ I had a pretty satifying experience.,1
783
+ Join the club and get awesome offers via email.,1
784
+ "Perfect for someone (me) who only likes beer ice cold, or in this case, even colder.",1
785
+ Bland and flavorless is a good way of describing the barely tepid meat.,0
786
+ "The chains, which I'm no fan of, beat this place easily.",0
787
+ The nachos are a MUST HAVE!,1
788
+ We will not be coming back.,0
789
+ "I don't have very many words to say about this place, but it does everything pretty well.",1
790
+ "The staff is super nice and very quick even with the crazy crowds of the downtown juries, lawyers, and court staff.",1
791
+ "Great atmosphere, friendly and fast service.",1
792
+ When I received my Pita it was huge it did have a lot of meat in it so thumbs up there.,1
793
+ Once your food arrives it's meh.,0
794
+ Paying $7.85 for a hot dog and fries that looks like it came out of a kid's meal at the Wienerschnitzel is not my idea of a good meal.,0
795
+ The classic Maine Lobster Roll was fantastic.,1
796
+ "My brother in law who works at the mall ate here same day, and guess what he was sick all night too.",0
797
+ So good I am going to have to review this place twice - once hereas a tribute to the place and once as a tribute to an event held here last night.,1
798
+ "The chips and salsa were really good, the salsa was very fresh.",1
799
+ This place is great!!!!!!!!!!!!!!,1
800
+ Mediocre food.,0
801
+ Once you get inside you'll be impressed with the place.,1
802
+ I'm super pissd.,0
803
+ And service was super friendly.,1
804
+ Why are these sad little vegetables so overcooked?,0
805
+ This place was such a nice surprise!,1
806
+ They were golden-crispy and delicious.,1
807
+ "I had high hopes for this place since the burgers are cooked over a charcoal grill, but unfortunately the taste fell flat, way flat.",0
808
+ I could eat their bruschetta all day it is devine.,1
809
+ Not a single employee came out to see if we were OK or even needed a water refill once they finally served us our food.,0
810
+ "Lastly, the mozzarella sticks, they were the best thing we ordered.",1
811
+ "The first time I ever came here I had an amazing experience, I still tell people how awesome the duck was.",1
812
+ The server was very negligent of our needs and made us feel very unwelcome... I would not suggest this place!,0
813
+ The service was terrible though.,0
814
+ "This place is overpriced, not consistent with their boba, and it really is OVERPRICED!",0
815
+ It was packed!!,0
816
+ I love this place.,1
817
+ I can say that the desserts were yummy.,1
818
+ The food was terrible.,0
819
+ The seasonal fruit was fresh white peach puree.,1
820
+ It kept getting worse and worse so now I'm officially done.,0
821
+ This place should honestly be blown up.,0
822
+ But I definitely would not eat here again.,0
823
+ Do not waste your money here!,0
824
+ I love that they put their food in nice plastic containers as opposed to cramming it in little paper takeout boxes.,1
825
+ The crêpe was delicate and thin and moist.,1
826
+ Awful service.,0
827
+ Won't ever go here again.,0
828
+ Food quality has been horrible.,0
829
+ For that price I can think of a few place I would have much rather gone.,0
830
+ The service here is fair at best.,0
831
+ "I do love sushi, but I found Kabuki to be over-priced, over-hip and under-services.",0
832
+ Do yourself a favor and stay away from this dish.,0
833
+ Very poor service.,0
834
+ No one at the table thought the food was above average or worth the wait that we had for it.,0
835
+ "Best service and food ever, Maria our server was so good and friendly she made our day.",1
836
+ They were excellent.,1
837
+ I paid the bill but did not tip because I felt the server did a terrible job.,0
838
+ Just had lunch here and had a great experience.,1
839
+ I have never had such bland food which surprised me considering the article we read focused so much on their spices and flavor.,0
840
+ Food is way overpriced and portions are fucking small.,0
841
+ I recently tried Caballero's and I have been back every week since!,1
842
+ "for 40 bucks a head, i really expect better food.",0
843
+ The food came out at a good pace.,1
844
+ "I ate there twice on my last visit, and especially enjoyed the salmon salad.",1
845
+ I won't be back.,0
846
+ We could not believe how dirty the oysters were!,0
847
+ This place deserves no stars.,0
848
+ I would not recommend this place.,0
849
+ "In fact I'm going to round up to 4 stars, just because she was so awesome.",1
850
+ "To my disbelief, each dish qualified as the worst version of these foods I have ever tasted.",0
851
+ "Bad day or not, I have a very low tolerance for rude customer service people, it is your job to be nice and polite, wash dishes otherwise!!",0
852
+ the potatoes were great and so was the biscuit.,1
853
+ I probably would not go here again.,0
854
+ So flavorful and has just the perfect amount of heat.,1
855
+ The price is reasonable and the service is great.,1
856
+ "The Wife hated her meal (coconut shrimp), and our friends really did not enjoy their meals, either.",0
857
+ My fella got the huevos rancheros and they didn't look too appealing.,0
858
+ "Went in for happy hour, great list of wines.",1
859
+ Some may say this buffet is pricey but I think you get what you pay for and this place you are getting quite a lot!,1
860
+ I probably won't be coming back here.,0
861
+ Worst food/service I've had in a while.,0
862
+ "This place is pretty good, nice little vibe in the restaurant.",1
863
+ Talk about great customer service of course we will be back.,1
864
+ "Hot dishes are not hot, cold dishes are close to room temp.I watched staff prepare food with BARE HANDS, no gloves.Everything is deep fried in oil.",0
865
+ I love their fries and their beans.,1
866
+ Always a pleasure dealing with him.,1
867
+ "They have a plethora of salads and sandwiches, and everything I've tried gets my seal of approval.",1
868
+ This place is awesome if you want something light and healthy during the summer.,1
869
+ "For sushi on the Strip, this is the place to go.",1
870
+ "The service was great, even the manager came and helped with our table.",1
871
+ The feel of the dining room was more college cooking course than high class dining and the service was slow at best.,0
872
+ "I started this review with two stars, but I'm editing it to give it only one.",0
873
+ this is the worst sushi i have ever eat besides Costco's.,0
874
+ "All in all an excellent restaurant highlighted by great service, a unique menu, and a beautiful setting.",1
875
+ My boyfriend and i sat at the bar and had a completely delightful experience.,1
876
+ Weird vibe from owners.,0
877
+ There was hardly any meat.,0
878
+ I've had better bagels from the grocery store.,0
879
+ Go To Place for Gyros.,1
880
+ "I love the owner/chef, his one authentic Japanese cool dude!",1
881
+ "Now the burgers aren't as good, the pizza which used to be amazing is doughy and flavorless.",0
882
+ I found a six inch long piece of wire in my salsa.,0
883
+ "The service was terrible, food was mediocre.",0
884
+ We definately enjoyed ourselves.,1
885
+ I ordered Albondigas soup - which was just warm - and tasted like tomato soup with frozen meatballs.,0
886
+ "On three different occasions I asked for well done or medium well, and all three times I got the bloodiest piece of meat on my plate.",0
887
+ I had about two bites and refused to eat anymore.,0
888
+ The service was extremely slow.,0
889
+ "After 20 minutes wait, I got a table.",0
890
+ Seriously killer hot chai latte.,1
891
+ "No allergy warnings on the menu, and the waitress had absolutely no clue as to which meals did or did not contain peanuts.",0
892
+ My boyfriend tried the Mediterranean Chicken Salad and fell in love.,1
893
+ Their rotating beers on tap is also a highlight of this place.,1
894
+ Pricing is a bit of a concern at Mellow Mushroom.,0
895
+ Worst Thai ever.,0
896
+ If you stay in Vegas you must get breakfast here at least once.,1
897
+ I want to first say our server was great and we had perfect service.,1
898
+ The pizza selections are good.,1
899
+ "I had strawberry tea, which was good.",1
900
+ Highly unprofessional and rude to a loyal patron!,0
901
+ "Overall, a great experience.",1
902
+ Spend your money elsewhere.,0
903
+ Their regular toasted bread was equally satisfying with the occasional pats of butter... Mmmm...!,1
904
+ The Buffet at Bellagio was far from what I anticipated.,0
905
+ "And the drinks are WEAK, people!",0
906
+ -My order was not correct.,0
907
+ "Also, I feel like the chips are bought, not made in house.",0
908
+ After the disappointing dinner we went elsewhere for dessert.,0
909
+ The chips and sals a here is amazing!!!!!!!!!!!!!!!!!!!,1
910
+ We won't be returning.,0
911
+ This is my new fav Vegas buffet spot.,1
912
+ I seriously cannot believe that the owner has so many unexperienced employees that all are running around like chickens with their heads cut off.,0
913
+ "Very, very sad.",0
914
+ "i felt insulted and disrespected, how could you talk and judge another human being like that?",0
915
+ "How can you call yourself a steakhouse if you can't properly cook a steak, I don't understand!",0
916
+ I'm not impressed with the concept or the food.,0
917
+ The only thing I wasn't too crazy about was their guacamole as I don't like it puréed.,0
918
+ "There is really nothing for me at postinos, hope your experience is better",0
919
+ I got food poisoning here at the buffet.,0
920
+ They brought a fresh batch of fries and I was thinking yay something warm but no!,0
921
+ "What SHOULD have been a hilarious, yummy Christmas Eve dinner to remember was the biggest fail of the entire trip for us.",0
922
+ "Needless to say, I won't be going back anytime soon.",0
923
+ This place is disgusting!,0
924
+ "Every time I eat here, I see caring teamwork to a professional degree.",1
925
+ The RI style calamari was a joke.,0
926
+ "However, there was so much garlic in the fondue, it was barely edible.",0
927
+ "I could barely stomach the meal, but didn't complain because it was a business lunch.",0
928
+ "It was so bad, I had lost the heart to finish it.",0
929
+ It also took her forever to bring us the check when we asked for it.,0
930
+ We aren't ones to make a scene at restaurants but I just don't get it...definitely lost the love after this one!,0
931
+ Disappointing experience.,0
932
+ "The food is about on par with Denny's, which is to say, not good at all.",0
933
+ "If you want to wait for mediocre food and downright terrible service, then this is the place for you.",0
934
+ WAAAAAAyyyyyyyyyy over rated is all I am saying.,0
935
+ We won't be going back.,0
936
+ The place was fairly clean but the food simply wasn't worth it.,0
937
+ This place lacked style!!,0
938
+ "The sangria was about half of a glass wine full and was $12, ridiculous.",0
939
+ Don't bother coming here.,0
940
+ "The meat was pretty dry, I had the sliced brisket and pulled pork.",0
941
+ "The building itself seems pretty neat, the bathroom is pretty trippy, but I wouldn't eat here again.",0
942
+ It was equally awful.,0
943
+ Probably not in a hurry to go back.,0
944
+ very slow at seating even with reservation.,0
945
+ Not good by any stretch of the imagination.,0
946
+ The cashew cream sauce was bland and the vegetables were undercooked.,0
947
+ "The chipolte ranch dipping sause was tasteless, seemed thin and watered down with no heat.",0
948
+ "It was a bit too sweet, not really spicy enough, and lacked flavor.",0
949
+ I was VERY disappointed!!,0
950
+ This place is horrible and way overpriced.,0
951
+ "Maybe it's just their Vegetarian fare, but I've been twice and I thought it was average at best.",0
952
+ It wasn't busy at all and now we know why.,0
953
+ The tables outside are also dirty a lot of the time and the workers are not always friendly and helpful with the menu.,0
954
+ "The ambiance here did not feel like a buffet setting, but more of a douchey indoor garden for tea and biscuits.",0
955
+ Con: spotty service.,0
956
+ "The fries were not hot, and neither was my burger.",0
957
+ But then they came back cold.,0
958
+ "Then our food came out, disappointment ensued.",0
959
+ The real disappointment was our waiter.,0
960
+ My husband said she was very rude... did not even apologize for the bad food or anything.,0
961
+ The only reason to eat here would be to fill up before a night of binge drinking just to get some carbs in your stomach.,0
962
+ "Insults, profound deuchebaggery, and had to go outside for a smoke break while serving just to solidify it.",0
963
+ If someone orders two tacos don't' you think it may be part of customer service to ask if it is combo or ala cart?,0
964
+ She was quite disappointed although some blame needs to be placed at her door.,0
965
+ After all the rave reviews I couldn't wait to eat here......what a disappointment!,0
966
+ Del Taco is pretty nasty and should be avoided if possible.,0
967
+ It's NOT hard to make a decent hamburger.,0
968
+ But I don't like it.,0
969
+ Hell no will I go back,0
970
+ We've have gotten a much better service from the pizza place next door than the services we received from this restaurant.,0
971
+ "I don't know what the big deal is about this place, but I won't be back ""ya'all"".",0
972
+ I immediately said I wanted to talk to the manager but I did not want to talk to the guy who was doing shots of fireball behind the bar.,0
973
+ The ambiance isn't much better.,0
974
+ "Unfortunately, it only set us up for disapppointment with our entrees.",0
975
+ The food wasn't good.,0
976
+ "Your servers suck, wait, correction, our server Heimer sucked.",0
977
+ What happened next was pretty....off putting.,0
978
+ "too bad cause I know it's family owned, I really wanted to like this place.",0
979
+ Overpriced for what you are getting.,0
980
+ I vomited in the bathroom mid lunch.,0
981
+ "I kept looking at the time and it had soon become 35 minutes, yet still no food.",0
982
+ "I have been to very few places to eat that under no circumstances would I ever return to, and this tops the list.",0
983
+ We started with the tuna sashimi which was brownish in color and obviously wasn't fresh.,0
984
+ Food was below average.,0
985
+ It sure does beat the nachos at the movies but I would expect a little bit more coming from a restaurant.,0
986
+ "All in all, Ha Long Bay was a bit of a flop.",0
987
+ The problem I have is that they charge $11.99 for a sandwich that is no bigger than a Subway sub (which offers better and more amount of vegetables).,0
988
+ Shrimp- When I unwrapped it (I live only 1/2 a mile from Brushfire) it was literally ice cold.,0
989
+ "It lacked flavor, seemed undercooked, and dry.",0
990
+ It really is impressive that the place hasn't closed down.,0
991
+ I would avoid this place if you are staying in the Mirage.,0
992
+ The refried beans that came with my meal were dried out and crusty and the food was bland.,0
993
+ Spend your money and time some place else.,0
994
+ A lady at the table next to us found a live green caterpillar In her salad.,0
995
+ the presentation of the food was awful.,0
996
+ I can't tell you how disappointed I was.,0
997
+ I think food should have flavor and texture and both were lacking.,0
998
+ Appetite instantly gone.,0
999
+ Overall I was not impressed and would not go back.,0
1000
+ "The whole experience was underwhelming, and I think we'll just go to Ninja Sushi next time.",0
1001
+ "Then, as if I hadn't wasted enough of my life there, they poured salt in the wound by drawing out the time it took to bring the check.",0
Sample Dataset/nlp text_classification/Tweets.csv ADDED
The diff for this file is too large to render. See raw diff
 
app.py ADDED
@@ -0,0 +1,727 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+
3
+ #### Importing Modules ####
4
+ import base64
5
+ import pandas as pd
6
+ import streamlit as st
7
+ from autoclean import data_clean
8
+ from model_pipeline_steps import get_problem_type1, model_build
9
+ from PIL import Image
10
+ from DA_P1 import get_details, imbalnce_ratio, word_cloud, plotly_target, plot_ngram
11
+ import pickle
12
+ from NLP_text_classification import model_train, predict_text, predict_csv
13
+ from kmeans import k_means
14
+ from jinja2.ext import i18n
15
+
16
+
17
+
18
+ info = {}
19
+
20
+ #********* Handling rturn variable in cache memory to solve reloading issue in streamlit ******#
21
+ @st.cache(allow_output_mutation=True)
22
+ def get_details_local(data):
23
+ final_output = get_details(data)
24
+ return final_output
25
+
26
+ @st.cache(allow_output_mutation=True)
27
+ def clean(dataset, drop_features):
28
+ cleaned_data, steps_dict = data_clean(dataset, drop_features)
29
+ return cleaned_data, steps_dict
30
+
31
+ @st.cache(allow_output_mutation=True)
32
+ def get_problem_type_local(cleaned_data, target_data):
33
+ p_type = get_problem_type1(cleaned_data, target_data)
34
+ return p_type
35
+
36
+ @st.cache(allow_output_mutation=True)
37
+ def model_build_local(cleaned_data, target_data, p_type, balance_data, steps_dict):
38
+ model = model_build(cleaned_data, target_data, p_type, balance_data, steps_dict)
39
+ return model
40
+
41
+ @st.cache(allow_output_mutation=True)
42
+ def model_train_local(dataset, input_feature, target_data, balance_data):
43
+ model_info = model_train(dataset, input_feature, target_data, balance_data)
44
+ return model_info
45
+
46
+ @st.cache(allow_output_mutation=True)
47
+ def word_cloud_local(dataset, input_col):
48
+ plt = word_cloud(dataset, input_col)
49
+ return plt
50
+
51
+ @st.cache(allow_output_mutation=True)
52
+ def plotly_target_local(dataset, tg_col):
53
+ plt = plotly_target(dataset, tg_col)
54
+ return plt
55
+
56
+ @st.cache(allow_output_mutation=True)
57
+ def plot_ngram_local(dataset, tg_col):
58
+ plt = plot_ngram(dataset, tg_col)
59
+ return plt
60
+
61
+ #******************************************************************#
62
+
63
+
64
+ def main():
65
+ try:
66
+ # setting tab title and icon
67
+ st.set_page_config(page_title="AiNext",
68
+ page_icon="image.png")
69
+
70
+ # Hiding streamlit wateermark
71
+ hide_streamlit_style = """
72
+ <style>
73
+ #MainMenu {visibility: hidden;}
74
+ footer {visibility: hidden;}
75
+ </style>
76
+ """
77
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
78
+
79
+ # To do Navigation Menu
80
+ st.markdown(
81
+ '<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">',
82
+ unsafe_allow_html=True)
83
+ st.markdown("""
84
+ <nav class="navbar fixed-top navbar-expand-lg navbar-dark" style="background-color: #AED6F1;">
85
+ <a class="navbar-brand" href=""><b><font color = "#8b0000">Ai</font><i style="color:#1997E5 ;">Next</i></b></a>
86
+ <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
87
+ <span class="navbar-toggler-icon"></span>
88
+ </button>
89
+ <div class="collapse navbar-collapse" id="navbarNav">
90
+ <ul class="navbar-nav">
91
+ <li class="nav-item active">
92
+ <a class="nav-link disabled" href="#" style="color:black ;">Home <span class="sr-only">(current)</span></a>
93
+ </li>
94
+ <li class="nav-item">
95
+ <a class="nav-link" href="mailto: technology.coe@digital.datamatics.com" style="color:black ;" target="_blank">Contact Us</a>
96
+ </li>
97
+ </ul>
98
+ </div>
99
+ <div>
100
+ <a style="color:red;" href="https://www.datamatics.com/" target="_blank"><b>DATAMATICS</b></a>
101
+ </div>
102
+ </nav>
103
+ """, unsafe_allow_html=True)
104
+
105
+ # Image in sidebar and link to mail
106
+ image_loan = Image.open("AI.jpg")
107
+ st.sidebar.image(image_loan, use_column_width=True)
108
+ st.sidebar.markdown(
109
+ """<a class="nav-link" href="mailto: technology.coe@digital.datamatics.com" style="color:white ;" target="_blank">Mail us at - <u>technology.coe@digital.datamatics.com</u></a>""",
110
+ unsafe_allow_html=True)
111
+
112
+ # Upload CSV File
113
+ st.header("Upload Input csv file")
114
+ file_upload = st.file_uploader(" ", type=["csv"])
115
+
116
+
117
+ if file_upload is not None:
118
+
119
+ # Selecting Experiment type (Supervised or UnSupervised)
120
+ st.subheader("Select the Experiment type")
121
+ exp_type = st.selectbox(label=' ', options=['Select', 'Supervised', 'UnSupervised'])
122
+ print(exp_type)
123
+
124
+ # **************************** Supervised Section ********************************** #
125
+ if exp_type == "Supervised":
126
+ st.subheader("Supervised")
127
+
128
+ # read Dataset
129
+ dataset = pd.read_csv(file_upload)
130
+
131
+ # read columns
132
+ cols = dataset.columns.tolist()
133
+ st.text(" ")
134
+
135
+ # Selecting features to drop
136
+ st.subheader("choose the features which you want to drop")
137
+ drop_features = st.multiselect('', cols)
138
+ # print(drop_features)
139
+
140
+
141
+ # Selecting target feature
142
+ st.text(" ")
143
+ st.subheader("Pick Your Target feature")
144
+ target_data = st.selectbox(label=' ', options=cols, index=len(cols) - 1)
145
+ # print(target_data)
146
+
147
+ # **** Following code is to identify problem type is NLP text classification or Predictive analysis using Input feature **** #
148
+ total_len = len(cols)
149
+ drop_len = len(drop_features)
150
+ problem_statement = ""
151
+ input_feature_temp = ""
152
+ st.sidebar.text(" ")
153
+ sidebar_col1, sidebar_col2, sidebar_col3 = st.sidebar.beta_columns(3)
154
+ if st.checkbox("Check Problem Type"):
155
+ if (target_data not in drop_features) and ((total_len - drop_len) == 2):
156
+ temp_data = dataset.drop(drop_features, axis=1)
157
+ temp_data = temp_data.drop(target_data, axis=1)
158
+ temp_col = temp_data.columns.tolist()
159
+ print(temp_data.dtypes[temp_col[0]])
160
+ if temp_data.dtypes[temp_col[0]] == "object":
161
+ print("NLP text Classification")
162
+ html_string = "<button style='border-radius: 12px;algin:center;background-color:#04AA6D;border: none;color: white;padding: 20px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;'>NLP Text Classification</button>"
163
+ sidebar_col2.markdown(html_string, unsafe_allow_html=True)
164
+ problem_statement = "NLP text Classification"
165
+ input_feature_temp = temp_col[0]
166
+ else:
167
+ html_string = "<button style='border-radius: 12px;algin:center;background-color:#04AA6D;border: none;color: white;padding: 20px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;'>Predictive Analytics</button>"
168
+ sidebar_col2.markdown(html_string, unsafe_allow_html=True)
169
+ print("Predictive Analytics")
170
+ problem_statement = "Predictive Analytics"
171
+
172
+ elif (target_data not in drop_features) and ((total_len - drop_len) > 2):
173
+ html_string = "<button style='border-radius: 12px;algin:center;background-color:#04AA6D;border: none;color: white;padding: 20px;text-align: center;text-decoration: none;display: inline-block;font-size: 16px;margin: 4px 2px;'>Predictive Analytics</button>"
174
+ sidebar_col2.markdown(html_string, unsafe_allow_html=True)
175
+ print("Predictive Analytics")
176
+ problem_statement = "Predictive Analytics"
177
+ elif (target_data in drop_features):
178
+ st.error("Selected Target column is also selected to drop.So Can't proceed")
179
+ #******************************************************************************************#
180
+
181
+
182
+ # *********************** Predictive Analytics Section *************************************#
183
+ if problem_statement == "Predictive Analytics" and problem_statement != "":
184
+ # ************ Data Analysis Code goes here ********** #
185
+ final_output = get_details_local(dataset)
186
+ # print(dataset)
187
+ st.text(" ")
188
+ first = dataset.head(10)
189
+ # last = dataset.tail(10)
190
+ if st.button("Click here to Analyze Data"):
191
+
192
+ container = st.beta_expander("Data Analysis and visualization Details")
193
+ # c1,c2=container.beta_columns(2)
194
+ container.subheader("First 10 Rows")
195
+ container.write(first)
196
+ # c2.subheader("Last 10 Rows")
197
+ # c2.write(last)
198
+
199
+ container.text(" ")
200
+
201
+ overview_con = container.beta_container()
202
+ overview_con.subheader("Overview of Dataset")
203
+ overview_con.text(" ")
204
+ ov_c1, ov_c2, ov_c3 = overview_con.beta_columns(3)
205
+ ov_c1.write("Statistics")
206
+ for key, value in final_output['overview']['data_statistics'].items():
207
+ temp = str(key) + ": " + str(value)
208
+ ov_c1.text(temp)
209
+ ov_c2.write("Variable Info")
210
+ for key, value in final_output['overview']['variable_type'].items():
211
+ temp = str(key) + ": " + str(value)
212
+ ov_c2.text(temp)
213
+ ov_c3.write("Reproduction")
214
+ for key, value in final_output['reproduction'].items():
215
+ temp = str(key) + ": " + str(value)
216
+ ov_c3.text(temp)
217
+
218
+ container.text(" ")
219
+ numeric_con = container.beta_container()
220
+ numeric_con.subheader("Numeric Variable Information")
221
+ numeric_con.text(" ")
222
+
223
+ for key, value in final_output['numerical_variable_info']['variable_info'].items():
224
+ numeric_con.text(" ")
225
+ temp_key = "Numeric Column:" + str(key)
226
+ numeric_con.write(temp_key)
227
+ num_c1, num_c2, num_c3, num_c4 = numeric_con.beta_columns(4)
228
+ i = 1
229
+ for key1, value1 in value.items():
230
+ temp = str(key1) + ": " + str(value1)
231
+ if (i <= 7):
232
+ num_c1.text(temp)
233
+ elif (i > 7 and i <= 14):
234
+ num_c2.text(temp)
235
+ elif (i > 14 and i <= 21):
236
+ num_c3.text(temp)
237
+ elif i > 21 and i <= 24:
238
+ num_c4.text(temp)
239
+ elif i > 24:
240
+ numeric_con.plotly_chart(value1, config={'displaylogo': False})
241
+ i = i + 1
242
+
243
+ container.text(" ")
244
+ categorical_con = container.beta_container()
245
+ categorical_con.subheader("Categorical Variable Information")
246
+ categorical_con.text(" ")
247
+
248
+ for key, value in final_output['categorical_variable_info']['variable_info'].items():
249
+ categorical_con.text(" ")
250
+ temp_key = "Categorical Column:" + str(key)
251
+ categorical_con.write(temp_key)
252
+ num_c1, num_c2, num_c3, num_c4 = categorical_con.beta_columns(4)
253
+ i = 1
254
+ for key1, value1 in value.items():
255
+ temp = str(key1) + ": " + str(value1)
256
+ if (i <= 5):
257
+ num_c1.text(temp)
258
+ elif (i > 5 and i <= 10):
259
+ num_c2.text(temp)
260
+ elif (i > 10 and i <= 15):
261
+ num_c3.text(temp)
262
+ elif i > 15 and i <= 16:
263
+ num_c4.text(temp)
264
+ elif i > 16:
265
+ categorical_con.plotly_chart(value1, config={'displaylogo': False})
266
+ i = i + 1
267
+
268
+ container.text(" ")
269
+ container.text("Scatter chart Matrix")
270
+ container.plotly_chart(final_output['scatter_chart_matrix'],config = {'displaylogo': False})
271
+ container.text(" ")
272
+
273
+ container.text(" ")
274
+ corr_con = container.beta_container()
275
+ corr_con.subheader("Correlation Matrix Information")
276
+ corr_con.text(" ")
277
+ # corr_c1, corr_c2, corr_c3 = corr_con.beta_columns(3)
278
+ # j = 0
279
+ for key1, value1 in final_output['correlation_matrix_info'].items():
280
+ corr_con.text(" ")
281
+ corr_con.write(key1)
282
+ # col.pyplot(value)
283
+ corr_con.plotly_chart(value1, config={'displaylogo': False})
284
+ # col.plotly_chart(value1,use_container_width=True)
285
+ # j=j+1
286
+
287
+ container.text(" ")
288
+ missing_con = container.beta_container()
289
+ missing_con.subheader("Missing Values Information")
290
+ missing_con.text(" ")
291
+ mis_c1, mis_c2 = missing_con.beta_columns(2)
292
+ mis_c3, mis_c4 = missing_con.beta_columns(2)
293
+ k = 0
294
+ for key, value in final_output['missing_values_info'].items():
295
+ corr_con.text(" ")
296
+ col = mis_c1
297
+ if k == 0:
298
+ col = mis_c1
299
+ elif k == 1:
300
+ col = mis_c2
301
+ elif k == 2:
302
+ col = mis_c3
303
+ elif k == 3:
304
+ col = mis_c4
305
+ col.write(key)
306
+ col.pyplot(value)
307
+ k = k + 1
308
+ # ********************************************************#
309
+
310
+
311
+ # ****** Option for handling Imbalanced Dataset ******#
312
+ st.text(" ")
313
+ ir_res = imbalnce_ratio(dataset, target_data)
314
+ ir_res = "Imbalance Ratio (" + ir_res + ")"
315
+ st.subheader("Select below option to Handle Imbalanced Dataset (optional)")
316
+ st.text(ir_res)
317
+ balance_data = st.selectbox(label=' ', options=["Auto", "False"])
318
+ #*******************************************************#
319
+
320
+
321
+ #********* Data Cleaning and Model Building code goes here *********#
322
+ st.text(" ")
323
+ if (st.checkbox('Start build model') is True) and (target_data not in drop_features):
324
+ st.text(" ")
325
+ cleaned_data, steps_dict = clean(dataset, drop_features)
326
+ sample_data = cleaned_data.head()
327
+ info['clean_data'] = sample_data
328
+ info['auto_drop'] = steps_dict['auto_drop']
329
+
330
+ p_type = get_problem_type_local(cleaned_data, target_data)
331
+ statement_ptype = "Problem type :" + p_type
332
+ info['problem'] = statement_ptype
333
+
334
+ statement_target = "Target column: " + target_data
335
+ info['target_statement'] = statement_target
336
+ info['target'] = target_data
337
+
338
+ model = model_build_local(cleaned_data, target_data, p_type, balance_data, steps_dict)
339
+
340
+ info['model'] = model
341
+ info['step_dict'] = steps_dict
342
+
343
+
344
+ elif target_data in drop_features:
345
+ st.error("Selected Target column is also selected to drop.So Can't proceed")
346
+ #**********************************************************************************#
347
+
348
+
349
+ # print(info)
350
+ # ******************* Model Result ***********************#
351
+ if info:
352
+ for columns in info['auto_drop']:
353
+ txt = "automatically dropped column: " + columns
354
+ st.write(txt)
355
+ st.text(" ")
356
+ st.subheader("After Cleaning data")
357
+ st.write(info['clean_data'])
358
+ st.write(info['problem'])
359
+ st.write(info['target_statement'])
360
+ # print(info['model'])
361
+ for key, val in info['model'].items():
362
+ st.text(" ")
363
+ # if key == "Regression graph" :
364
+ # st.write(key)
365
+ # st.pyplot(val)
366
+ if key == "Best pipeline" or key == "step_dict":
367
+ pass
368
+ elif key == "ROC Curve" or key == "model_comparison" or key == "Regression graph":
369
+ st.write(key)
370
+ st.plotly_chart(val, config={'displaylogo': False})
371
+ elif key == "Classification Report":
372
+ st.write(key)
373
+ st.text(val)
374
+ elif key == "Handling Imbalanced Dataset":
375
+ st.write(key)
376
+ for key1, val1 in val.items():
377
+ st.write(key1)
378
+ st.text(val1)
379
+ else:
380
+ st.write(key)
381
+ st.write(val)
382
+ st.text(" ")
383
+ st.text(" ")
384
+ # ***************************************************************#
385
+
386
+ # ************************** Prediction **************************#
387
+ st.subheader("Upload csv file for Predictions : ")
388
+ file_upload1 = st.file_uploader(" ", type=["csv"])
389
+
390
+ print(file_upload1)
391
+
392
+ if file_upload1 is not None:
393
+ try:
394
+
395
+ test_data = pd.read_csv(file_upload1)
396
+
397
+ data = test_data.copy()
398
+
399
+ data.drop(info['step_dict']['dropped_features'], axis=1, inplace=True)
400
+
401
+ for col in data.columns:
402
+ data[col].fillna(info['step_dict']['missing_values'][col], inplace=True)
403
+
404
+ # print(info['target'])
405
+
406
+ for data1 in info['step_dict']['categorical_to_numeric']:
407
+ for key, value in data1.items():
408
+ col_name = key.split('_encoded')[0]
409
+ if col_name != info['target']:
410
+ # print(col_name)
411
+ # print(value)
412
+ data[col_name].replace(value, inplace=True)
413
+
414
+ if info['target'] in data.columns: data.drop([info['target']], axis=1, inplace=True)
415
+
416
+ final_model = info['model']['Best pipeline']
417
+ # print(final_model)
418
+
419
+ predictions = final_model.predict(data)
420
+ # print(predictions)
421
+ print(len(test_data))
422
+ print(len(predictions))
423
+ predict_column_name = info['target'] + "_prediction"
424
+ test_data[predict_column_name] = predictions
425
+ for data1 in info['step_dict']['categorical_to_numeric']:
426
+ for key, value in data1.items():
427
+ col_name = key.split('_encoded')[0]
428
+ if col_name == info['target']:
429
+ # print(col_name)
430
+ # print(value)
431
+ d = {}
432
+ for i, v in value.items():
433
+ d[v] = i
434
+ test_data[predict_column_name].replace(d, inplace=True)
435
+
436
+ # csv = test_data.to_csv(index=False)
437
+ # b64 = base64.b64encode(csv.encode()).decode() # some strings <-> bytes conversions necessary here
438
+ # href = f'<a href="data:file/csv;base64,{b64}">Download The Prediction Results CSV File</a> (right-click and save as &lt;some_name&gt;.csv)'
439
+
440
+ csv = test_data.to_csv(index=False)
441
+
442
+ b64 = base64.b64encode(csv.encode()).decode()
443
+ href = f'<a href="data:file/csv;base64,{b64}" download="download.csv">Download Predicted file</a>'
444
+ st.markdown(href, unsafe_allow_html=True)
445
+
446
+ output_model = pickle.dumps(final_model)
447
+ b64 = base64.b64encode(output_model).decode()
448
+ href = f'<a href="data:file/output_model;base64,{b64}" download="Best_model.pkl">Download Best Model .pkl File</a> '
449
+ st.markdown(href, unsafe_allow_html=True)
450
+ except Exception as e:
451
+ st.text(e)
452
+ st.error("Uploaded wrong data for prediction")
453
+ # ***************************************************************************#
454
+ # *********************** End of Predictive Analytics Section *************************************#
455
+
456
+ # *********************** NLP text Classification Section *************************************#
457
+ elif problem_statement == "NLP text Classification" and problem_statement != "":
458
+ try:
459
+ # ********* Data Analysis and visualization code ************** #
460
+ st.text(" ")
461
+ vis_con = st.beta_expander("Data Visualization")
462
+ st.text(" ")
463
+ vis_con.subheader("Select Input Feature")
464
+ select_col = ["Select"]
465
+ t_cols = select_col + cols
466
+ input_col = vis_con.selectbox(label=' ', options=t_cols)
467
+ st.set_option('deprecation.showPyplotGlobalUse', False)
468
+ res = word_cloud_local(dataset, input_col)
469
+ if res is not None: vis_con.plotly_chart(res)
470
+ true_bigrams = plot_ngram_local(dataset, input_col)
471
+ if true_bigrams is not None: vis_con.plotly_chart(true_bigrams, config={'displaylogo': False})
472
+ st.text(" ")
473
+ vis_con.subheader("Select target Feature")
474
+ tg_col = vis_con.selectbox(label=' ', options=t_cols)
475
+ plot_res = plotly_target_local(dataset, tg_col)
476
+ if plot_res is not None: vis_con.plotly_chart(plot_res, config={'displaylogo': False})
477
+ #*****************************************************************************************#
478
+
479
+
480
+ # ****** Option for handling Imbalanced Dataset ****** #
481
+ input_feature = input_feature_temp
482
+ st.text(" ")
483
+ ir_res = imbalnce_ratio(dataset, target_data)
484
+ ir_res = "Imbalance Ratio (" + ir_res + ")"
485
+ st.subheader("Select below option to Handle Imbalanced Dataset (optional)")
486
+ st.text(ir_res)
487
+ balance_data = st.selectbox(label=' ', options=["Auto", "False"])
488
+ #***********************************************************#
489
+
490
+ # ********* Data Cleaning and Model Building code goes here *********#
491
+ st.text(" ")
492
+ if st.checkbox("Start Build model") and input_feature != target_data:
493
+ model_info = model_train_local(dataset, input_feature, target_data, balance_data)
494
+
495
+ #************ Model Result ***************#
496
+ for key, val in model_info.items():
497
+ st.text(" ")
498
+ if key == "Classification Report":
499
+ st.write(key)
500
+ st.text(val)
501
+ elif key == "model_comparison" or key == "ROC Curve":
502
+ st.write(key)
503
+ st.plotly_chart(val, config={'displaylogo': False})
504
+ elif key == "Handling Imbalanced Dataset":
505
+ st.write(key)
506
+ for key1, val1 in val.items():
507
+ st.write(key1)
508
+ st.text(val1)
509
+ elif key == "Best pipeline" or key == "tfidf_vector":
510
+ pass
511
+ else:
512
+ st.write(key)
513
+ st.write(val)
514
+ #***********************************************************#
515
+
516
+ # ****************** Prediction ******************* #
517
+ c1, c2 = st.beta_columns(2)
518
+ exp1 = c1.beta_expander("Prediction on text data")
519
+ exp2 = c2.beta_expander("Prediction on csv data")
520
+ form_predict = exp1.form("predict")
521
+ text_val = form_predict.text_area("Enter text for prediction")
522
+ if form_predict.form_submit_button("Predict") and text_val != "":
523
+ prediction = predict_text(text_val, model_info["Best pipeline"],
524
+ model_info["tfidf_vector"])
525
+ prediction = "Result :" + str(prediction[0])
526
+ form_predict.write(prediction)
527
+ f_up = exp2.file_uploader("predict_csv", type=["csv"])
528
+ if f_up and exp2.button("Predict"):
529
+ df = pd.read_csv(f_up, encoding='ISO-8859-1')
530
+ df_copy = df.copy()
531
+ predictions = predict_csv(df_copy, model_info["Best pipeline"],
532
+ model_info["tfidf_vector"], input_feature)
533
+ predict_column_name = target_data + "_prediction"
534
+ df[predict_column_name] = predictions
535
+
536
+ csv = df.to_csv(index=False)
537
+
538
+ b64 = base64.b64encode(csv.encode()).decode()
539
+ href = f'<a href="data:file/csv;base64,{b64}" download="download.csv">Download Predicted file</a>'
540
+ exp2.markdown(href, unsafe_allow_html=True)
541
+
542
+ output_model = pickle.dumps(model_info["Best pipeline"])
543
+ b64 = base64.b64encode(output_model).decode()
544
+ href = f'<a href="data:file/output_model;base64,{b64}" download="Best_model.pkl">Download Best Model .pkl File</a> '
545
+ exp2.markdown(href, unsafe_allow_html=True)
546
+ print("completed")
547
+
548
+
549
+ elif target_data == input_feature:
550
+ st.error("Input feature and target data cannot be same")
551
+ except Exception as e:
552
+ st.error(e)
553
+ st.error("Something went wrong")
554
+ # ****************************************************** #
555
+ # *********************** End of NLP text Classification Section *************************************#
556
+ # ************************* End of Supervised Section **************************************************#
557
+
558
+
559
+ # **************************** UnSupervised Section (In Progress) ********************************** #
560
+ elif exp_type == "UnSupervised":
561
+ st.subheader("UnSupervised")
562
+
563
+ # ************ Data Analysis Code goes here ********** #
564
+ dataset = pd.read_csv(file_upload)
565
+ final_output = get_details_local(dataset)
566
+ cols = dataset.columns.tolist()
567
+ # print(dataset)
568
+ st.text(" ")
569
+ first = dataset.head(10)
570
+ # last = dataset.tail(10)
571
+ if st.button("Click here to Analyze Data"):
572
+
573
+ container = st.beta_expander("Data Analysis and visualization Details")
574
+ # c1,c2=container.beta_columns(2)
575
+ container.subheader("First 10 Rows")
576
+ container.write(first)
577
+ # c2.subheader("Last 10 Rows")
578
+ # c2.write(last)
579
+
580
+ container.text(" ")
581
+
582
+ overview_con = container.beta_container()
583
+ overview_con.subheader("Overview of Dataset")
584
+ overview_con.text(" ")
585
+ ov_c1, ov_c2, ov_c3 = overview_con.beta_columns(3)
586
+ ov_c1.write("Statistics")
587
+ for key, value in final_output['overview']['data_statistics'].items():
588
+ temp = str(key) + ": " + str(value)
589
+ ov_c1.text(temp)
590
+ ov_c2.write("Variable Info")
591
+ for key, value in final_output['overview']['variable_type'].items():
592
+ temp = str(key) + ": " + str(value)
593
+ ov_c2.text(temp)
594
+ ov_c3.write("Reproduction")
595
+ for key, value in final_output['reproduction'].items():
596
+ temp = str(key) + ": " + str(value)
597
+ ov_c3.text(temp)
598
+
599
+ container.text(" ")
600
+ numeric_con = container.beta_container()
601
+ numeric_con.subheader("Numeric Variable Information")
602
+ numeric_con.text(" ")
603
+
604
+ for key, value in final_output['numerical_variable_info']['variable_info'].items():
605
+ numeric_con.text(" ")
606
+ temp_key = "Numeric Column:" + str(key)
607
+ numeric_con.write(temp_key)
608
+ num_c1, num_c2, num_c3, num_c4 = numeric_con.beta_columns(4)
609
+ i = 1
610
+ for key1, value1 in value.items():
611
+ temp = str(key1) + ": " + str(value1)
612
+ if (i <= 7):
613
+ num_c1.text(temp)
614
+ elif (i > 7 and i <= 14):
615
+ num_c2.text(temp)
616
+ elif (i > 14 and i <= 21):
617
+ num_c3.text(temp)
618
+ elif i > 21 and i <= 24:
619
+ num_c4.text(temp)
620
+ elif i > 24:
621
+ numeric_con.plotly_chart(value1, config={'displaylogo': False})
622
+ i = i + 1
623
+
624
+ container.text(" ")
625
+ categorical_con = container.beta_container()
626
+ categorical_con.subheader("Categorical Variable Information")
627
+ categorical_con.text(" ")
628
+
629
+ for key, value in final_output['categorical_variable_info']['variable_info'].items():
630
+ categorical_con.text(" ")
631
+ temp_key = "Categorical Column:" + str(key)
632
+ categorical_con.write(temp_key)
633
+ num_c1, num_c2, num_c3, num_c4 = categorical_con.beta_columns(4)
634
+ i = 1
635
+ for key1, value1 in value.items():
636
+ temp = str(key1) + ": " + str(value1)
637
+ if (i <= 5):
638
+ num_c1.text(temp)
639
+ elif (i > 5 and i <= 10):
640
+ num_c2.text(temp)
641
+ elif (i > 10 and i <= 15):
642
+ num_c3.text(temp)
643
+ elif i > 15 and i <= 16:
644
+ num_c4.text(temp)
645
+ elif i > 16:
646
+ categorical_con.plotly_chart(value1, config={'displaylogo': False})
647
+ i = i + 1
648
+
649
+ container.text(" ")
650
+ container.text("Scatter chart Matrix")
651
+ container.plotly_chart(final_output['scatter_chart_matrix'],config = {'displaylogo': False})
652
+ container.text(" ")
653
+
654
+ container.text(" ")
655
+ corr_con = container.beta_container()
656
+ corr_con.subheader("Correlation Matrix Information")
657
+ corr_con.text(" ")
658
+ # corr_c1, corr_c2, corr_c3 = corr_con.beta_columns(3)
659
+ # j = 0
660
+ for key1, value1 in final_output['correlation_matrix_info'].items():
661
+ corr_con.text(" ")
662
+ corr_con.write(key1)
663
+ # col.pyplot(value)
664
+ corr_con.plotly_chart(value1, config={'displaylogo': False})
665
+ # col.plotly_chart(value1,use_container_width=True)
666
+ # j=j+1
667
+
668
+ container.text(" ")
669
+ missing_con = container.beta_container()
670
+ missing_con.subheader("Missing Values Information")
671
+ missing_con.text(" ")
672
+ mis_c1, mis_c2 = missing_con.beta_columns(2)
673
+ mis_c3, mis_c4 = missing_con.beta_columns(2)
674
+ k = 0
675
+ for key, value in final_output['missing_values_info'].items():
676
+ corr_con.text(" ")
677
+ col = mis_c1
678
+ if k == 0:
679
+ col = mis_c1
680
+ elif k == 1:
681
+ col = mis_c2
682
+ elif k == 2:
683
+ col = mis_c3
684
+ elif k == 3:
685
+ col = mis_c4
686
+ col.write(key)
687
+ col.pyplot(value)
688
+ k = k + 1
689
+
690
+ # ********************************************************#
691
+
692
+ # *********** Selecting Model for clustering ***********#
693
+ st.subheader("Select the Model")
694
+ model = st.selectbox(label=' ', options=['Select', 'KMeans'])
695
+ #********************************************************#
696
+
697
+ # ******* Data cleaning and checking with elbow technique using Kmeans clustering *******#
698
+ if model == "KMeans":
699
+ st.text(" ")
700
+ st.subheader("choose the features which you want to drop")
701
+ drop_features = st.multiselect('', cols)
702
+
703
+ st.text(" ")
704
+ cleaned_data, steps_dict = clean(dataset, drop_features)
705
+ sample_data = cleaned_data.head()
706
+ info['clean_data'] = sample_data
707
+ info['auto_drop'] = steps_dict['auto_drop']
708
+ val1 = k_means(dataset, cols, drop_features, sample_data)
709
+ st.write("Elbow-Curve")
710
+ st.plotly_chart(val1, config={'displaylogo': False})
711
+ # st.write("Silhouette-Score")
712
+ # st.plotly_chart(val2, config={'displaylogo': False})
713
+
714
+ # ******************************************************************************* #
715
+
716
+ else:
717
+ pass
718
+
719
+ # **************************** End of UnSupervised Section ********************************** #
720
+
721
+ except Exception as e:
722
+ st.header(e)
723
+
724
+
725
+ if __name__ == '__main__':
726
+ main()
727
+
autoclean.py ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ Created on Mon Jul 12 09:45:10 2021
4
+
5
+ @author: Kishore
6
+ """
7
+
8
+ ######### Importing modules ############
9
+ import numpy as np
10
+ from sklearn.preprocessing import LabelEncoder
11
+ limit_number_of_class=10
12
+
13
+
14
+ ########### Returns a cleaned data ###################
15
+ def data_clean(dataset,cols):
16
+ print("data cleaning started")
17
+ # dataset=data#pd.read_csv(dict['path'],header=0)
18
+ # columns=cols
19
+ clean_dict = {}
20
+
21
+ # dropping unwanted columns
22
+ dataset.drop(cols, axis=1, inplace=True)
23
+
24
+ #### auto dropping ID coulmns ####
25
+ auto_drop=[]
26
+ for col in dataset.columns:
27
+ if col not in cols:
28
+ if len(dataset[col]) == dataset[col].nunique():
29
+ dataset.drop(col, axis=1, inplace=True)
30
+ auto_drop.append(col)
31
+ cols.append(col)
32
+ ####################################
33
+
34
+ clean_dict['dropped_features'] = cols
35
+ clean_dict['auto_drop']=auto_drop
36
+
37
+ # fname="document.txt"
38
+ # f = open(fname, "a")
39
+ # f.write("Documentation\n")
40
+ # f.write("\n################ Data Cleaning steps ###################\n")
41
+ # f.write("\n Dropped columns: "+str(dict['dropcols'])+"\n")
42
+ # print(dict['dropcols'])
43
+ # dropping duplicates
44
+ # duplicate = dataset[dataset.duplicated()]
45
+ # duplicate_rows = len(duplicate)
46
+
47
+ # Dropping Duplicates
48
+ dataset = dataset.drop_duplicates()
49
+
50
+ # if duplicate_rows>0:
51
+ # line="\n Dropped ", str(duplicate_rows) ," duplicate rows\n"
52
+ # f.write(line)
53
+
54
+ ############# Handling Missing values ######################################
55
+ num_data_col = dataset.select_dtypes(include=np.number).columns.tolist()
56
+ cat_data_col = dataset.select_dtypes(include=['object']).columns.tolist()
57
+ missing_data={}
58
+ for col in num_data_col:
59
+ dataset[col].fillna(dataset[col].mean(),inplace=True)
60
+ missing_data[col] = dataset[col].mean()
61
+ #filling missing values for categorical data
62
+ for col in cat_data_col:
63
+ dataset[col].fillna(dataset[col].mode()[0],inplace=True)
64
+ missing_data[col] = dataset[col].mode()[0]
65
+ clean_dict['missing_values']=missing_data
66
+ ###############################################################################
67
+
68
+
69
+ # f.write("\n Handled missing values , filled mean and mode value for numeric and categorical variable respectively \n")
70
+
71
+
72
+ ############### Converting categorical to numeric values ##################
73
+ labelencoder = LabelEncoder()
74
+ # f.writelines("\n ......Categorical to numeric data information..... \n")
75
+ # Assigning numerical values and storing in another column
76
+ lst_cn=[]
77
+ for col in cat_data_col:
78
+ new_col = col + '_encoded'
79
+ dataset[new_col] = labelencoder.fit_transform(dataset[col])
80
+ d1 = dataset.drop_duplicates(col).set_index(col)
81
+ dataset[col] = dataset[new_col]
82
+ dataset.drop([new_col], axis=1, inplace=True)
83
+ d1.drop(d1.columns.difference([col, new_col]), 1, inplace=True)
84
+ dict_map = d1.to_dict()
85
+ lst_cn.append(dict_map)
86
+ # print(dict_map)
87
+ clean_dict['categorical_to_numeric']=lst_cn
88
+ ##################################################################
89
+
90
+ # print(clean_dict)
91
+ # f.write("\n" + str(dict_map))
92
+ #
93
+ # f.write("\n#####################################################\n")
94
+ # f.close()
95
+
96
+ # dict['doc_path']=fname
97
+
98
+
99
+
100
+ return dataset,clean_dict
101
+
102
+
103
+
104
+
105
+
106
+ # print(data.head())
107
+ # dict_param={'dropcols': ['Loan_ID', 'Gender', 'Education'], 'path':"../dataset/Loan_Approval_prediction/train.csv" }
108
+ # df=data_clean(dict_param)
109
+ # print(df.head())
110
+
image.png ADDED
kmeans.py ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import pandas as pd
3
+ from sklearn.cluster import KMeans
4
+ import plotly.express as px
5
+
6
+ def k_means(dataset, cols, drop_features, sample_data):
7
+ X = sample_data
8
+ print(X)
9
+ N = len(sample_data.columns)
10
+ print(N)
11
+
12
+ distortions = []
13
+ K = range(1,11)
14
+ print('ok')
15
+
16
+ for i in K:
17
+ try:
18
+ print(i)
19
+ kmeans = KMeans(n_clusters=i, init='k-means++')
20
+ print("length before",len(X.columns))
21
+ kmeans = kmeans.fit(X)
22
+ print("length after fit",len(X.columns))
23
+ distortions.append(kmeans.inertia_)
24
+ except Exception as e:
25
+ print(e)
26
+ pass
27
+
28
+ print(distortions)
29
+ df = pd.DataFrame({'Clusters': K, 'Distortions': distortions})
30
+ print(df)
31
+
32
+ elbow_curve = (px.line(df, x='Clusters', y='Distortions')).update_traces(mode='lines+markers')
33
+
34
+
35
+
36
+ #Silhouette score
37
+ # silhouette_scores = []
38
+ # rang = range(2,12)
39
+
40
+ # for cluster_size in rang:
41
+ # kmeans = cluster.KMeans(n_clusters=cluster_size, init='k-means++', random_state=200)
42
+ # labels = kmeans.fit(X).labels_
43
+ # silhouette_score = metrics.silhouette_score(sample_data,
44
+ # labels,
45
+ # metric='euclidean',
46
+ # sample_size=1000,
47
+ # random_state=200)
48
+
49
+ # silhouette_scores.append(silhouette_score)
50
+
51
+ # df = pd.DataFrame({'Clusters': rang, 'Silhouette Score': silhouette_scores})
52
+ # silhouette = (px.line(df, x='Clusters', y='Silhouette Score', template='seaborn')).update_traces(mode='lines+markers')
53
+
54
+ return elbow_curve
model_pipeline_steps.py ADDED
@@ -0,0 +1,288 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ Created on Mon Jul 12 10:00:30 2021
4
+
5
+ @author: Kishore
6
+ """
7
+ ################## Importing Modules ###########################################
8
+ from sklearn.metrics import confusion_matrix, classification_report
9
+ from sklearn.model_selection import cross_val_score
10
+ from sklearn.model_selection import train_test_split
11
+ from sklearn.preprocessing import StandardScaler
12
+ from sklearn.metrics import mean_squared_error
13
+ from sklearn.metrics import r2_score
14
+ import math
15
+ import pandas as pd
16
+ from sklearn.tree import DecisionTreeClassifier
17
+ from sklearn.ensemble import RandomForestClassifier
18
+ from sklearn.linear_model import LinearRegression
19
+ from sklearn.tree import DecisionTreeRegressor
20
+ from sklearn.pipeline import Pipeline
21
+ from sklearn.ensemble import RandomForestRegressor
22
+ from sklearn.svm import SVR
23
+ from xgboost import XGBClassifier
24
+ from imblearn.over_sampling import SMOTE
25
+ from sklearn.metrics import roc_curve, auc,roc_auc_score
26
+ import plotly.express as px
27
+ import plotly.graph_objects as go
28
+ import eli5
29
+ #####################################################################
30
+
31
+
32
+
33
+ ############# Identifying the problem type (Classification/Regression) in Predictive Analytics ##########
34
+ def get_problem_type1(clean_data, dependent_variable):
35
+ limit_number_of_class=10
36
+ print("problem analysis")
37
+ if (clean_data.dtypes[dependent_variable] == 'int32' or clean_data.dtypes[dependent_variable] == 'int64') and (clean_data[dependent_variable].nunique() <= limit_number_of_class):
38
+ return "classification"
39
+ else:
40
+ return "regression"
41
+ #########################################################################################################
42
+
43
+
44
+ ######################### Model Building For Predictive Aanalytics ############################
45
+ def model_build(clean_data, dependent_variable,problem_type,balance_data,steps_dict):
46
+ print("Model build started")
47
+ print("hi")
48
+ d={}
49
+
50
+ lst=[]
51
+ # print(data_dict['path'])
52
+
53
+
54
+ ######## data cleaning##########
55
+ train_data = clean_data.drop(dependent_variable, axis=1)
56
+ target_data = clean_data[dependent_variable]
57
+
58
+ if problem_type=="classification":
59
+ data_dict = {}
60
+ ###### Models ####################
61
+ if balance_data=="Auto":
62
+ d={}
63
+ d["Before Handling Imbalanced Dataset"]=target_data.value_counts()
64
+ oversample = SMOTE()
65
+ train_data, target_data = oversample.fit_resample(train_data, target_data)
66
+ d["After Handling Imbalanced Dataset"] = target_data.value_counts()
67
+ data_dict["Handling Imbalanced Dataset"]=d
68
+
69
+ elif balance_data == "False":
70
+ data_dict["Cannot Handle Imbalanced Dataset,It is set to False"] = ""
71
+
72
+ X_train, X_test, y_train, y_test = train_test_split(train_data,target_data, test_size=0.3,
73
+ random_state=0)
74
+
75
+ # pipeline_lr = Pipeline([('scalar1', StandardScaler()),
76
+ # ('lr_classifier', LogisticRegression(random_state=0))])
77
+
78
+ pipeline_dt = Pipeline([('scalar2', StandardScaler()),
79
+ ('dt_classifier', DecisionTreeClassifier())])
80
+
81
+ pipeline_randomforest = Pipeline([('scalar3', StandardScaler()),
82
+ ('rf_classifier', RandomForestClassifier())])
83
+ pipeline_xgboost = Pipeline([('scalar4', StandardScaler()),
84
+ ('xg_classifier',XGBClassifier() )])
85
+
86
+ ############## Lets make the list of pipelines #####################
87
+ pipelines = [pipeline_dt, pipeline_randomforest,pipeline_xgboost]
88
+
89
+ best_accuracy = 0.0
90
+ best_classifier = 0
91
+ best_pipeline = ""
92
+
93
+ ################## Dictionary of pipelines and classifier types for ease of reference ############
94
+ pipe_dict = {0: 'Decision_Tree', 1: 'RandomForest',2:'XGBoost_Classifier'}
95
+
96
+ ########## Fit the pipelines##################
97
+ for pipe in pipelines:
98
+ pipe.fit(X_train, y_train)
99
+
100
+ models_info= {}
101
+ for i, model in enumerate(pipelines):
102
+ val = "{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_test, y_test))
103
+ lst.append(val)
104
+ models_info[pipe_dict[i]]= model.score(X_test, y_test)
105
+ print("{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_test, y_test)))
106
+ df_models_info=pd.DataFrame(models_info.items(),columns=["Models","Accuracy"])
107
+
108
+ for i, model in enumerate(pipelines):
109
+ if model.score(X_test, y_test) > best_accuracy:
110
+ best_accuracy = model.score(X_test, y_test)
111
+ best_pipeline = model
112
+ best_classifier = i
113
+ # print(best_pipeline)
114
+
115
+ html_object = eli5.show_weights(best_pipeline,feature_names=X_train.columns.tolist())
116
+ result = pd.read_html(html_object.data)[0]
117
+ data_dict['Model Interpretation'] = result
118
+
119
+ val1 = 'Classifier with best accuracy:{}'.format(pipe_dict[best_classifier])
120
+ lst.append(val1)
121
+ print('Classifier with best accuracy:{}'.format(pipe_dict[best_classifier]))
122
+
123
+ y_pred = best_pipeline.predict(X_test)
124
+
125
+ cn = confusion_matrix(y_test, y_pred)
126
+
127
+ data_dict['Model details'] = lst
128
+ fig = px.histogram(df_models_info, x="Models", y="Accuracy", color="Models")
129
+ fig.update_layout(yaxis_title="Accuracy")
130
+ data_dict['model_comparison'] = fig
131
+
132
+ data_dict['Best model']= lst[-1].split(':')[1]
133
+ data_dict['Best pipeline'] = best_pipeline
134
+ data_dict['Confusion Matrix'] = cn
135
+
136
+
137
+
138
+ if len(X_train) <= 100000:
139
+ cv = cross_val_score(best_pipeline, X_train, y_train, cv=5, scoring='accuracy')
140
+ data_dict['Cross Validation'] = cv
141
+ report = classification_report(y_test, y_pred)
142
+ data_dict['Classification Report']=report
143
+
144
+ y_scores = best_pipeline.predict_proba(X_test)
145
+
146
+ # One hot encode the labels in order to plot them
147
+ y_onehot = pd.get_dummies(y_test, columns=best_pipeline.classes_)
148
+
149
+ # Create an empty figure, and iteratively add new lines
150
+ # every time we compute a new class
151
+ fig = go.Figure()
152
+ fig.add_shape(
153
+ type='line', line=dict(dash='dash'),
154
+ x0=0, x1=1, y0=0, y1=1
155
+ )
156
+
157
+ for i in range(y_scores.shape[1]):
158
+ y_true = y_onehot.iloc[:, i]
159
+ y_score = y_scores[:, i]
160
+
161
+ fpr, tpr, _ = roc_curve(y_true, y_score)
162
+ auc_score = roc_auc_score(y_true, y_score)
163
+
164
+ class_name=""
165
+ for data1 in steps_dict['categorical_to_numeric']:
166
+ for key, value in data1.items():
167
+ col_name = key.split('_encoded')[0]
168
+ if col_name == dependent_variable:
169
+ # print(col_name)
170
+ # print(value)
171
+ d = {}
172
+ for j, v in value.items():
173
+ if v == y_onehot.columns[i]:
174
+ class_name=j
175
+ break
176
+
177
+ name = f"{class_name} (AUC={auc_score:.2f})"
178
+ fig.add_trace(go.Scatter(x=fpr, y=tpr, name=name, mode='lines'))
179
+
180
+ fig.update_layout(
181
+ xaxis_title='False Positive Rate',
182
+ yaxis_title='True Positive Rate',
183
+ yaxis=dict(scaleanchor="x", scaleratio=1),
184
+ xaxis=dict(constrain='domain'),
185
+ width=700, height=500
186
+ )
187
+ data_dict['ROC Curve'] = fig
188
+ print("model completed")
189
+
190
+ return data_dict
191
+
192
+
193
+ elif problem_type == "regression":
194
+ data_dict={}
195
+ X_train, X_test, y_train, y_test = train_test_split(train_data, target_data, test_size=0.3,random_state=0)
196
+ pipeline_linear = Pipeline([('scalar1', StandardScaler()),('linear_cdt_regressor', LinearRegression())])
197
+ #pipeline_lr = Pipeline([('scalar2', StandardScaler()),('lr_regressor', LogisticRegression())])
198
+ pipeline_dt = Pipeline([('scalar2', StandardScaler()),('dt_regressor', DecisionTreeRegressor())])
199
+
200
+ pipeline_randomforest = Pipeline([('scalar3', StandardScaler()),('rf_regressor', RandomForestRegressor())])
201
+ pipeline_svm = Pipeline([('scalar4', StandardScaler()), ('svr',SVR(kernel='linear'))])
202
+
203
+
204
+ pipeline_regression = [pipeline_linear,pipeline_dt,pipeline_randomforest,pipeline_svm]
205
+
206
+ best_accuracy = 0.0
207
+ best_regressor = 0
208
+ best_pipeline = ""
209
+
210
+ ################## Dictionary of pipelines and classifier types for ease of reference ############
211
+ # pipe_dict = {0: 'Linear_Regression', 1: 'Logistic_Regression', 2: 'Decision_Tree', 3: 'RandomForest',4:'SVM'}
212
+ pipe_dict = {0: 'Linear_Regression', 1: 'Decision_Tree', 2: 'RandomForest', 3: 'SVM'}
213
+
214
+ for pipe in pipeline_regression:
215
+ pipe.fit(X_train, y_train)
216
+
217
+ models_info = {}
218
+ for i, model in enumerate(pipeline_regression):
219
+ val = "{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_test, y_test))
220
+ lst.append(val)
221
+ models_info[pipe_dict[i]] = model.score(X_test, y_test)
222
+ print("{} Test Accuracy: {}".format(pipe_dict[i], model.score(X_test, y_test)))
223
+ df_models_info = pd.DataFrame(models_info.items(), columns=["Models", "Accuracy"])
224
+
225
+ for i, model in enumerate(pipeline_regression):
226
+ if model.score(X_test, y_test) > best_accuracy:
227
+ best_accuracy = model.score(X_test, y_test)
228
+ best_pipeline = model
229
+ best_regressor = i
230
+ # print(best_pipeline)
231
+
232
+ html_object = eli5.show_weights(best_pipeline, feature_names=X_train.columns.tolist())
233
+ result = pd.read_html(html_object.data)[0]
234
+ data_dict['Model Interpretation'] = result
235
+
236
+ val1='Regressor with best accuracy:{}'.format(pipe_dict[best_regressor])
237
+ lst.append(val1)
238
+ print('Regressor with best accuracy:{}'.format(pipe_dict[best_regressor]))
239
+ data_dict['Model details'] = lst
240
+ fig = px.histogram(df_models_info, x="Models", y="Accuracy", color="Models")
241
+ fig.update_layout(yaxis_title="Accuracy")
242
+ data_dict['model_comparison'] = fig
243
+ data_dict['Best model'] = lst[-1].split(':')[1]
244
+ data_dict['Best pipeline'] = best_pipeline
245
+ y_pred = best_pipeline.predict(X_test)
246
+ # print(y_pred)
247
+ mse = mean_squared_error(y_test, y_pred)
248
+ # print(mse)
249
+
250
+ rmse = math.sqrt(mse)
251
+ # print(rmse)
252
+ r2 = r2_score(y_test, y_pred)
253
+ statement_mse = "MEAN SQUARED ERROR : " + str(mse)
254
+ statement_rmse = "ROOT MEAN SQUARED ERROR : " + str(rmse)
255
+ statement_r2 = "R2 Score : " + str(r2)
256
+ data_dict['MEAN SQUARED ERROR']=statement_mse
257
+ data_dict['ROOT MEAN SQUARED ERROR']=statement_rmse
258
+ data_dict['R2 Score']=statement_r2
259
+ cv = cross_val_score(best_pipeline, X_train, y_train, cv=5)
260
+ data_dict['Cross Validation']=cv
261
+
262
+ fig = go.Figure([
263
+ go.Scatter(y=y_test, name='Actual', mode='markers'),
264
+ go.Scatter(y=y_pred, name='Predicted', mode='markers')
265
+ ])
266
+ fig.update_layout(
267
+ title=str(lst[-1].split(':')[1]),
268
+ xaxis_title="Count",
269
+ yaxis_title="Target values")
270
+
271
+ # plt.show()
272
+ data_dict['Regression graph']=fig
273
+ return data_dict
274
+
275
+
276
+ else:
277
+ return d
278
+
279
+ ###############################################################################################
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
requirements.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ numpy==1.21.3
2
+ pandas==1.3.2
3
+ seaborn==0.11.1
4
+ matplotlib==3.3.4
5
+ missingno==0.4.2
6
+ scikit-learn==0.24
7
+ xgboost==1.2.1
8
+ streamlit==0.82.0
9
+ nltk==3.5
10
+ imbalanced-learn==0.8.0
11
+ plotly==4.14.3
12
+ wordcloud==1.8.1
13
+ nlplot==1.4.0
14
+ protobuf==3.20.0
15
+ eli5
16
+ lxml
space.yaml ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ name: app
2
+ environment:
3
+ python: 3.7