Yash911 commited on
Commit
ce69eda
·
1 Parent(s): 7bbe304

Upload 2 files

Browse files
Files changed (2) hide show
  1. Diabetes.ipynb +1621 -0
  2. diabetes.csv +769 -0
Diabetes.ipynb ADDED
@@ -0,0 +1,1621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": []
7
+ },
8
+ "kernelspec": {
9
+ "name": "python3",
10
+ "display_name": "Python 3"
11
+ }
12
+ },
13
+ "cells": [
14
+ {
15
+ "cell_type": "markdown",
16
+ "metadata": {
17
+ "id": "LnPbntVRnfvV"
18
+ },
19
+ "source": [
20
+ "Importing the Dependencies"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "metadata": {
26
+ "id": "-71UtHzNVWjB"
27
+ },
28
+ "source": [
29
+ "import numpy as np\n",
30
+ "import pandas as pd\n",
31
+ "from sklearn.preprocessing import StandardScaler\n",
32
+ "from sklearn.model_selection import train_test_split\n",
33
+ "from sklearn import svm\n",
34
+ "from sklearn.metrics import accuracy_score"
35
+ ],
36
+ "execution_count": 1,
37
+ "outputs": []
38
+ },
39
+ {
40
+ "cell_type": "markdown",
41
+ "metadata": {
42
+ "id": "bmfOfG8joBBy"
43
+ },
44
+ "source": [
45
+ "Data Collection and Analysis\n",
46
+ "\n",
47
+ "PIMA Diabetes Dataset"
48
+ ]
49
+ },
50
+ {
51
+ "cell_type": "code",
52
+ "metadata": {
53
+ "id": "Xpw6Mj_pn_TL"
54
+ },
55
+ "source": [
56
+ "# loading the diabetes dataset to a pandas DataFrame\n",
57
+ "diabetes_dataset = pd.read_csv('/content/diabetes.csv')"
58
+ ],
59
+ "execution_count": 3,
60
+ "outputs": []
61
+ },
62
+ {
63
+ "cell_type": "code",
64
+ "metadata": {
65
+ "id": "eupSUC7yoo9M"
66
+ },
67
+ "source": [
68
+ "pd.read_csv?"
69
+ ],
70
+ "execution_count": 4,
71
+ "outputs": []
72
+ },
73
+ {
74
+ "cell_type": "code",
75
+ "metadata": {
76
+ "colab": {
77
+ "base_uri": "https://localhost:8080/",
78
+ "height": 206
79
+ },
80
+ "id": "-tjO09ncovoh",
81
+ "outputId": "be1717b1-cd50-419d-a3fa-16b4e8fec9a6"
82
+ },
83
+ "source": [
84
+ "# printing the first 5 rows of the dataset\n",
85
+ "diabetes_dataset.head()"
86
+ ],
87
+ "execution_count": 5,
88
+ "outputs": [
89
+ {
90
+ "output_type": "execute_result",
91
+ "data": {
92
+ "text/plain": [
93
+ " Pregnancies Glucose BloodPressure SkinThickness Insulin BMI \\\n",
94
+ "0 6 148 72 35 0 33.6 \n",
95
+ "1 1 85 66 29 0 26.6 \n",
96
+ "2 8 183 64 0 0 23.3 \n",
97
+ "3 1 89 66 23 94 28.1 \n",
98
+ "4 0 137 40 35 168 43.1 \n",
99
+ "\n",
100
+ " DiabetesPedigreeFunction Age Outcome \n",
101
+ "0 0.627 50 1 \n",
102
+ "1 0.351 31 0 \n",
103
+ "2 0.672 32 1 \n",
104
+ "3 0.167 21 0 \n",
105
+ "4 2.288 33 1 "
106
+ ],
107
+ "text/html": [
108
+ "\n",
109
+ "\n",
110
+ " <div id=\"df-1aec5124-92a3-4474-a6b7-64473ba6287f\">\n",
111
+ " <div class=\"colab-df-container\">\n",
112
+ " <div>\n",
113
+ "<style scoped>\n",
114
+ " .dataframe tbody tr th:only-of-type {\n",
115
+ " vertical-align: middle;\n",
116
+ " }\n",
117
+ "\n",
118
+ " .dataframe tbody tr th {\n",
119
+ " vertical-align: top;\n",
120
+ " }\n",
121
+ "\n",
122
+ " .dataframe thead th {\n",
123
+ " text-align: right;\n",
124
+ " }\n",
125
+ "</style>\n",
126
+ "<table border=\"1\" class=\"dataframe\">\n",
127
+ " <thead>\n",
128
+ " <tr style=\"text-align: right;\">\n",
129
+ " <th></th>\n",
130
+ " <th>Pregnancies</th>\n",
131
+ " <th>Glucose</th>\n",
132
+ " <th>BloodPressure</th>\n",
133
+ " <th>SkinThickness</th>\n",
134
+ " <th>Insulin</th>\n",
135
+ " <th>BMI</th>\n",
136
+ " <th>DiabetesPedigreeFunction</th>\n",
137
+ " <th>Age</th>\n",
138
+ " <th>Outcome</th>\n",
139
+ " </tr>\n",
140
+ " </thead>\n",
141
+ " <tbody>\n",
142
+ " <tr>\n",
143
+ " <th>0</th>\n",
144
+ " <td>6</td>\n",
145
+ " <td>148</td>\n",
146
+ " <td>72</td>\n",
147
+ " <td>35</td>\n",
148
+ " <td>0</td>\n",
149
+ " <td>33.6</td>\n",
150
+ " <td>0.627</td>\n",
151
+ " <td>50</td>\n",
152
+ " <td>1</td>\n",
153
+ " </tr>\n",
154
+ " <tr>\n",
155
+ " <th>1</th>\n",
156
+ " <td>1</td>\n",
157
+ " <td>85</td>\n",
158
+ " <td>66</td>\n",
159
+ " <td>29</td>\n",
160
+ " <td>0</td>\n",
161
+ " <td>26.6</td>\n",
162
+ " <td>0.351</td>\n",
163
+ " <td>31</td>\n",
164
+ " <td>0</td>\n",
165
+ " </tr>\n",
166
+ " <tr>\n",
167
+ " <th>2</th>\n",
168
+ " <td>8</td>\n",
169
+ " <td>183</td>\n",
170
+ " <td>64</td>\n",
171
+ " <td>0</td>\n",
172
+ " <td>0</td>\n",
173
+ " <td>23.3</td>\n",
174
+ " <td>0.672</td>\n",
175
+ " <td>32</td>\n",
176
+ " <td>1</td>\n",
177
+ " </tr>\n",
178
+ " <tr>\n",
179
+ " <th>3</th>\n",
180
+ " <td>1</td>\n",
181
+ " <td>89</td>\n",
182
+ " <td>66</td>\n",
183
+ " <td>23</td>\n",
184
+ " <td>94</td>\n",
185
+ " <td>28.1</td>\n",
186
+ " <td>0.167</td>\n",
187
+ " <td>21</td>\n",
188
+ " <td>0</td>\n",
189
+ " </tr>\n",
190
+ " <tr>\n",
191
+ " <th>4</th>\n",
192
+ " <td>0</td>\n",
193
+ " <td>137</td>\n",
194
+ " <td>40</td>\n",
195
+ " <td>35</td>\n",
196
+ " <td>168</td>\n",
197
+ " <td>43.1</td>\n",
198
+ " <td>2.288</td>\n",
199
+ " <td>33</td>\n",
200
+ " <td>1</td>\n",
201
+ " </tr>\n",
202
+ " </tbody>\n",
203
+ "</table>\n",
204
+ "</div>\n",
205
+ " <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-1aec5124-92a3-4474-a6b7-64473ba6287f')\"\n",
206
+ " title=\"Convert this dataframe to an interactive table.\"\n",
207
+ " style=\"display:none;\">\n",
208
+ "\n",
209
+ " <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
210
+ " width=\"24px\">\n",
211
+ " <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
212
+ " <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
213
+ " </svg>\n",
214
+ " </button>\n",
215
+ "\n",
216
+ "\n",
217
+ "\n",
218
+ " <div id=\"df-a23e5510-a452-4d18-9834-1fb6ca8dc0e5\">\n",
219
+ " <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-a23e5510-a452-4d18-9834-1fb6ca8dc0e5')\"\n",
220
+ " title=\"Suggest charts.\"\n",
221
+ " style=\"display:none;\">\n",
222
+ "\n",
223
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
224
+ " width=\"24px\">\n",
225
+ " <g>\n",
226
+ " <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
227
+ " </g>\n",
228
+ "</svg>\n",
229
+ " </button>\n",
230
+ " </div>\n",
231
+ "\n",
232
+ "<style>\n",
233
+ " .colab-df-quickchart {\n",
234
+ " background-color: #E8F0FE;\n",
235
+ " border: none;\n",
236
+ " border-radius: 50%;\n",
237
+ " cursor: pointer;\n",
238
+ " display: none;\n",
239
+ " fill: #1967D2;\n",
240
+ " height: 32px;\n",
241
+ " padding: 0 0 0 0;\n",
242
+ " width: 32px;\n",
243
+ " }\n",
244
+ "\n",
245
+ " .colab-df-quickchart:hover {\n",
246
+ " background-color: #E2EBFA;\n",
247
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
248
+ " fill: #174EA6;\n",
249
+ " }\n",
250
+ "\n",
251
+ " [theme=dark] .colab-df-quickchart {\n",
252
+ " background-color: #3B4455;\n",
253
+ " fill: #D2E3FC;\n",
254
+ " }\n",
255
+ "\n",
256
+ " [theme=dark] .colab-df-quickchart:hover {\n",
257
+ " background-color: #434B5C;\n",
258
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
259
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
260
+ " fill: #FFFFFF;\n",
261
+ " }\n",
262
+ "</style>\n",
263
+ "\n",
264
+ " <script>\n",
265
+ " async function quickchart(key) {\n",
266
+ " const containerElement = document.querySelector('#' + key);\n",
267
+ " const charts = await google.colab.kernel.invokeFunction(\n",
268
+ " 'suggestCharts', [key], {});\n",
269
+ " }\n",
270
+ " </script>\n",
271
+ "\n",
272
+ " <script>\n",
273
+ "\n",
274
+ "function displayQuickchartButton(domScope) {\n",
275
+ " let quickchartButtonEl =\n",
276
+ " domScope.querySelector('#df-a23e5510-a452-4d18-9834-1fb6ca8dc0e5 button.colab-df-quickchart');\n",
277
+ " quickchartButtonEl.style.display =\n",
278
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
279
+ "}\n",
280
+ "\n",
281
+ " displayQuickchartButton(document);\n",
282
+ " </script>\n",
283
+ " <style>\n",
284
+ " .colab-df-container {\n",
285
+ " display:flex;\n",
286
+ " flex-wrap:wrap;\n",
287
+ " gap: 12px;\n",
288
+ " }\n",
289
+ "\n",
290
+ " .colab-df-convert {\n",
291
+ " background-color: #E8F0FE;\n",
292
+ " border: none;\n",
293
+ " border-radius: 50%;\n",
294
+ " cursor: pointer;\n",
295
+ " display: none;\n",
296
+ " fill: #1967D2;\n",
297
+ " height: 32px;\n",
298
+ " padding: 0 0 0 0;\n",
299
+ " width: 32px;\n",
300
+ " }\n",
301
+ "\n",
302
+ " .colab-df-convert:hover {\n",
303
+ " background-color: #E2EBFA;\n",
304
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
305
+ " fill: #174EA6;\n",
306
+ " }\n",
307
+ "\n",
308
+ " [theme=dark] .colab-df-convert {\n",
309
+ " background-color: #3B4455;\n",
310
+ " fill: #D2E3FC;\n",
311
+ " }\n",
312
+ "\n",
313
+ " [theme=dark] .colab-df-convert:hover {\n",
314
+ " background-color: #434B5C;\n",
315
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
316
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
317
+ " fill: #FFFFFF;\n",
318
+ " }\n",
319
+ " </style>\n",
320
+ "\n",
321
+ " <script>\n",
322
+ " const buttonEl =\n",
323
+ " document.querySelector('#df-1aec5124-92a3-4474-a6b7-64473ba6287f button.colab-df-convert');\n",
324
+ " buttonEl.style.display =\n",
325
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
326
+ "\n",
327
+ " async function convertToInteractive(key) {\n",
328
+ " const element = document.querySelector('#df-1aec5124-92a3-4474-a6b7-64473ba6287f');\n",
329
+ " const dataTable =\n",
330
+ " await google.colab.kernel.invokeFunction('convertToInteractive',\n",
331
+ " [key], {});\n",
332
+ " if (!dataTable) return;\n",
333
+ "\n",
334
+ " const docLinkHtml = 'Like what you see? Visit the ' +\n",
335
+ " '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
336
+ " + ' to learn more about interactive tables.';\n",
337
+ " element.innerHTML = '';\n",
338
+ " dataTable['output_type'] = 'display_data';\n",
339
+ " await google.colab.output.renderOutput(dataTable, element);\n",
340
+ " const docLink = document.createElement('div');\n",
341
+ " docLink.innerHTML = docLinkHtml;\n",
342
+ " element.appendChild(docLink);\n",
343
+ " }\n",
344
+ " </script>\n",
345
+ " </div>\n",
346
+ " </div>\n"
347
+ ]
348
+ },
349
+ "metadata": {},
350
+ "execution_count": 5
351
+ }
352
+ ]
353
+ },
354
+ {
355
+ "cell_type": "code",
356
+ "metadata": {
357
+ "colab": {
358
+ "base_uri": "https://localhost:8080/"
359
+ },
360
+ "id": "lynParo6pEMB",
361
+ "outputId": "d3c5aba8-7253-4757-8b6f-c7e62ef5d34d"
362
+ },
363
+ "source": [
364
+ "# number of rows and Columns in this dataset\n",
365
+ "diabetes_dataset.shape"
366
+ ],
367
+ "execution_count": 6,
368
+ "outputs": [
369
+ {
370
+ "output_type": "execute_result",
371
+ "data": {
372
+ "text/plain": [
373
+ "(768, 9)"
374
+ ]
375
+ },
376
+ "metadata": {},
377
+ "execution_count": 6
378
+ }
379
+ ]
380
+ },
381
+ {
382
+ "cell_type": "code",
383
+ "metadata": {
384
+ "colab": {
385
+ "base_uri": "https://localhost:8080/",
386
+ "height": 300
387
+ },
388
+ "id": "3NDJOlrEpmoL",
389
+ "outputId": "06871fbc-c80e-440d-89a2-12f40e0cb79e"
390
+ },
391
+ "source": [
392
+ "# getting the statistical measures of the data\n",
393
+ "diabetes_dataset.describe()"
394
+ ],
395
+ "execution_count": 7,
396
+ "outputs": [
397
+ {
398
+ "output_type": "execute_result",
399
+ "data": {
400
+ "text/plain": [
401
+ " Pregnancies Glucose BloodPressure SkinThickness Insulin \\\n",
402
+ "count 768.000000 768.000000 768.000000 768.000000 768.000000 \n",
403
+ "mean 3.845052 120.894531 69.105469 20.536458 79.799479 \n",
404
+ "std 3.369578 31.972618 19.355807 15.952218 115.244002 \n",
405
+ "min 0.000000 0.000000 0.000000 0.000000 0.000000 \n",
406
+ "25% 1.000000 99.000000 62.000000 0.000000 0.000000 \n",
407
+ "50% 3.000000 117.000000 72.000000 23.000000 30.500000 \n",
408
+ "75% 6.000000 140.250000 80.000000 32.000000 127.250000 \n",
409
+ "max 17.000000 199.000000 122.000000 99.000000 846.000000 \n",
410
+ "\n",
411
+ " BMI DiabetesPedigreeFunction Age Outcome \n",
412
+ "count 768.000000 768.000000 768.000000 768.000000 \n",
413
+ "mean 31.992578 0.471876 33.240885 0.348958 \n",
414
+ "std 7.884160 0.331329 11.760232 0.476951 \n",
415
+ "min 0.000000 0.078000 21.000000 0.000000 \n",
416
+ "25% 27.300000 0.243750 24.000000 0.000000 \n",
417
+ "50% 32.000000 0.372500 29.000000 0.000000 \n",
418
+ "75% 36.600000 0.626250 41.000000 1.000000 \n",
419
+ "max 67.100000 2.420000 81.000000 1.000000 "
420
+ ],
421
+ "text/html": [
422
+ "\n",
423
+ "\n",
424
+ " <div id=\"df-25cb54c1-69f1-400d-8d06-6c08deb52ad1\">\n",
425
+ " <div class=\"colab-df-container\">\n",
426
+ " <div>\n",
427
+ "<style scoped>\n",
428
+ " .dataframe tbody tr th:only-of-type {\n",
429
+ " vertical-align: middle;\n",
430
+ " }\n",
431
+ "\n",
432
+ " .dataframe tbody tr th {\n",
433
+ " vertical-align: top;\n",
434
+ " }\n",
435
+ "\n",
436
+ " .dataframe thead th {\n",
437
+ " text-align: right;\n",
438
+ " }\n",
439
+ "</style>\n",
440
+ "<table border=\"1\" class=\"dataframe\">\n",
441
+ " <thead>\n",
442
+ " <tr style=\"text-align: right;\">\n",
443
+ " <th></th>\n",
444
+ " <th>Pregnancies</th>\n",
445
+ " <th>Glucose</th>\n",
446
+ " <th>BloodPressure</th>\n",
447
+ " <th>SkinThickness</th>\n",
448
+ " <th>Insulin</th>\n",
449
+ " <th>BMI</th>\n",
450
+ " <th>DiabetesPedigreeFunction</th>\n",
451
+ " <th>Age</th>\n",
452
+ " <th>Outcome</th>\n",
453
+ " </tr>\n",
454
+ " </thead>\n",
455
+ " <tbody>\n",
456
+ " <tr>\n",
457
+ " <th>count</th>\n",
458
+ " <td>768.000000</td>\n",
459
+ " <td>768.000000</td>\n",
460
+ " <td>768.000000</td>\n",
461
+ " <td>768.000000</td>\n",
462
+ " <td>768.000000</td>\n",
463
+ " <td>768.000000</td>\n",
464
+ " <td>768.000000</td>\n",
465
+ " <td>768.000000</td>\n",
466
+ " <td>768.000000</td>\n",
467
+ " </tr>\n",
468
+ " <tr>\n",
469
+ " <th>mean</th>\n",
470
+ " <td>3.845052</td>\n",
471
+ " <td>120.894531</td>\n",
472
+ " <td>69.105469</td>\n",
473
+ " <td>20.536458</td>\n",
474
+ " <td>79.799479</td>\n",
475
+ " <td>31.992578</td>\n",
476
+ " <td>0.471876</td>\n",
477
+ " <td>33.240885</td>\n",
478
+ " <td>0.348958</td>\n",
479
+ " </tr>\n",
480
+ " <tr>\n",
481
+ " <th>std</th>\n",
482
+ " <td>3.369578</td>\n",
483
+ " <td>31.972618</td>\n",
484
+ " <td>19.355807</td>\n",
485
+ " <td>15.952218</td>\n",
486
+ " <td>115.244002</td>\n",
487
+ " <td>7.884160</td>\n",
488
+ " <td>0.331329</td>\n",
489
+ " <td>11.760232</td>\n",
490
+ " <td>0.476951</td>\n",
491
+ " </tr>\n",
492
+ " <tr>\n",
493
+ " <th>min</th>\n",
494
+ " <td>0.000000</td>\n",
495
+ " <td>0.000000</td>\n",
496
+ " <td>0.000000</td>\n",
497
+ " <td>0.000000</td>\n",
498
+ " <td>0.000000</td>\n",
499
+ " <td>0.000000</td>\n",
500
+ " <td>0.078000</td>\n",
501
+ " <td>21.000000</td>\n",
502
+ " <td>0.000000</td>\n",
503
+ " </tr>\n",
504
+ " <tr>\n",
505
+ " <th>25%</th>\n",
506
+ " <td>1.000000</td>\n",
507
+ " <td>99.000000</td>\n",
508
+ " <td>62.000000</td>\n",
509
+ " <td>0.000000</td>\n",
510
+ " <td>0.000000</td>\n",
511
+ " <td>27.300000</td>\n",
512
+ " <td>0.243750</td>\n",
513
+ " <td>24.000000</td>\n",
514
+ " <td>0.000000</td>\n",
515
+ " </tr>\n",
516
+ " <tr>\n",
517
+ " <th>50%</th>\n",
518
+ " <td>3.000000</td>\n",
519
+ " <td>117.000000</td>\n",
520
+ " <td>72.000000</td>\n",
521
+ " <td>23.000000</td>\n",
522
+ " <td>30.500000</td>\n",
523
+ " <td>32.000000</td>\n",
524
+ " <td>0.372500</td>\n",
525
+ " <td>29.000000</td>\n",
526
+ " <td>0.000000</td>\n",
527
+ " </tr>\n",
528
+ " <tr>\n",
529
+ " <th>75%</th>\n",
530
+ " <td>6.000000</td>\n",
531
+ " <td>140.250000</td>\n",
532
+ " <td>80.000000</td>\n",
533
+ " <td>32.000000</td>\n",
534
+ " <td>127.250000</td>\n",
535
+ " <td>36.600000</td>\n",
536
+ " <td>0.626250</td>\n",
537
+ " <td>41.000000</td>\n",
538
+ " <td>1.000000</td>\n",
539
+ " </tr>\n",
540
+ " <tr>\n",
541
+ " <th>max</th>\n",
542
+ " <td>17.000000</td>\n",
543
+ " <td>199.000000</td>\n",
544
+ " <td>122.000000</td>\n",
545
+ " <td>99.000000</td>\n",
546
+ " <td>846.000000</td>\n",
547
+ " <td>67.100000</td>\n",
548
+ " <td>2.420000</td>\n",
549
+ " <td>81.000000</td>\n",
550
+ " <td>1.000000</td>\n",
551
+ " </tr>\n",
552
+ " </tbody>\n",
553
+ "</table>\n",
554
+ "</div>\n",
555
+ " <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-25cb54c1-69f1-400d-8d06-6c08deb52ad1')\"\n",
556
+ " title=\"Convert this dataframe to an interactive table.\"\n",
557
+ " style=\"display:none;\">\n",
558
+ "\n",
559
+ " <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
560
+ " width=\"24px\">\n",
561
+ " <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
562
+ " <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
563
+ " </svg>\n",
564
+ " </button>\n",
565
+ "\n",
566
+ "\n",
567
+ "\n",
568
+ " <div id=\"df-f34ee77e-12c2-4314-a6b1-e077095db111\">\n",
569
+ " <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-f34ee77e-12c2-4314-a6b1-e077095db111')\"\n",
570
+ " title=\"Suggest charts.\"\n",
571
+ " style=\"display:none;\">\n",
572
+ "\n",
573
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
574
+ " width=\"24px\">\n",
575
+ " <g>\n",
576
+ " <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
577
+ " </g>\n",
578
+ "</svg>\n",
579
+ " </button>\n",
580
+ " </div>\n",
581
+ "\n",
582
+ "<style>\n",
583
+ " .colab-df-quickchart {\n",
584
+ " background-color: #E8F0FE;\n",
585
+ " border: none;\n",
586
+ " border-radius: 50%;\n",
587
+ " cursor: pointer;\n",
588
+ " display: none;\n",
589
+ " fill: #1967D2;\n",
590
+ " height: 32px;\n",
591
+ " padding: 0 0 0 0;\n",
592
+ " width: 32px;\n",
593
+ " }\n",
594
+ "\n",
595
+ " .colab-df-quickchart:hover {\n",
596
+ " background-color: #E2EBFA;\n",
597
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
598
+ " fill: #174EA6;\n",
599
+ " }\n",
600
+ "\n",
601
+ " [theme=dark] .colab-df-quickchart {\n",
602
+ " background-color: #3B4455;\n",
603
+ " fill: #D2E3FC;\n",
604
+ " }\n",
605
+ "\n",
606
+ " [theme=dark] .colab-df-quickchart:hover {\n",
607
+ " background-color: #434B5C;\n",
608
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
609
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
610
+ " fill: #FFFFFF;\n",
611
+ " }\n",
612
+ "</style>\n",
613
+ "\n",
614
+ " <script>\n",
615
+ " async function quickchart(key) {\n",
616
+ " const containerElement = document.querySelector('#' + key);\n",
617
+ " const charts = await google.colab.kernel.invokeFunction(\n",
618
+ " 'suggestCharts', [key], {});\n",
619
+ " }\n",
620
+ " </script>\n",
621
+ "\n",
622
+ " <script>\n",
623
+ "\n",
624
+ "function displayQuickchartButton(domScope) {\n",
625
+ " let quickchartButtonEl =\n",
626
+ " domScope.querySelector('#df-f34ee77e-12c2-4314-a6b1-e077095db111 button.colab-df-quickchart');\n",
627
+ " quickchartButtonEl.style.display =\n",
628
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
629
+ "}\n",
630
+ "\n",
631
+ " displayQuickchartButton(document);\n",
632
+ " </script>\n",
633
+ " <style>\n",
634
+ " .colab-df-container {\n",
635
+ " display:flex;\n",
636
+ " flex-wrap:wrap;\n",
637
+ " gap: 12px;\n",
638
+ " }\n",
639
+ "\n",
640
+ " .colab-df-convert {\n",
641
+ " background-color: #E8F0FE;\n",
642
+ " border: none;\n",
643
+ " border-radius: 50%;\n",
644
+ " cursor: pointer;\n",
645
+ " display: none;\n",
646
+ " fill: #1967D2;\n",
647
+ " height: 32px;\n",
648
+ " padding: 0 0 0 0;\n",
649
+ " width: 32px;\n",
650
+ " }\n",
651
+ "\n",
652
+ " .colab-df-convert:hover {\n",
653
+ " background-color: #E2EBFA;\n",
654
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
655
+ " fill: #174EA6;\n",
656
+ " }\n",
657
+ "\n",
658
+ " [theme=dark] .colab-df-convert {\n",
659
+ " background-color: #3B4455;\n",
660
+ " fill: #D2E3FC;\n",
661
+ " }\n",
662
+ "\n",
663
+ " [theme=dark] .colab-df-convert:hover {\n",
664
+ " background-color: #434B5C;\n",
665
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
666
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
667
+ " fill: #FFFFFF;\n",
668
+ " }\n",
669
+ " </style>\n",
670
+ "\n",
671
+ " <script>\n",
672
+ " const buttonEl =\n",
673
+ " document.querySelector('#df-25cb54c1-69f1-400d-8d06-6c08deb52ad1 button.colab-df-convert');\n",
674
+ " buttonEl.style.display =\n",
675
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
676
+ "\n",
677
+ " async function convertToInteractive(key) {\n",
678
+ " const element = document.querySelector('#df-25cb54c1-69f1-400d-8d06-6c08deb52ad1');\n",
679
+ " const dataTable =\n",
680
+ " await google.colab.kernel.invokeFunction('convertToInteractive',\n",
681
+ " [key], {});\n",
682
+ " if (!dataTable) return;\n",
683
+ "\n",
684
+ " const docLinkHtml = 'Like what you see? Visit the ' +\n",
685
+ " '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
686
+ " + ' to learn more about interactive tables.';\n",
687
+ " element.innerHTML = '';\n",
688
+ " dataTable['output_type'] = 'display_data';\n",
689
+ " await google.colab.output.renderOutput(dataTable, element);\n",
690
+ " const docLink = document.createElement('div');\n",
691
+ " docLink.innerHTML = docLinkHtml;\n",
692
+ " element.appendChild(docLink);\n",
693
+ " }\n",
694
+ " </script>\n",
695
+ " </div>\n",
696
+ " </div>\n"
697
+ ]
698
+ },
699
+ "metadata": {},
700
+ "execution_count": 7
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "cell_type": "code",
706
+ "metadata": {
707
+ "colab": {
708
+ "base_uri": "https://localhost:8080/"
709
+ },
710
+ "id": "LrpHzaGpp5dQ",
711
+ "outputId": "e56f7356-cd9b-4cb0-e7ef-0676778b4da0"
712
+ },
713
+ "source": [
714
+ "diabetes_dataset['Outcome'].value_counts()"
715
+ ],
716
+ "execution_count": 8,
717
+ "outputs": [
718
+ {
719
+ "output_type": "execute_result",
720
+ "data": {
721
+ "text/plain": [
722
+ "0 500\n",
723
+ "1 268\n",
724
+ "Name: Outcome, dtype: int64"
725
+ ]
726
+ },
727
+ "metadata": {},
728
+ "execution_count": 8
729
+ }
730
+ ]
731
+ },
732
+ {
733
+ "cell_type": "markdown",
734
+ "metadata": {
735
+ "id": "cB1qRaNcqeh5"
736
+ },
737
+ "source": [
738
+ "0 --> Non-Diabetic\n",
739
+ "\n",
740
+ "1 --> Diabetic"
741
+ ]
742
+ },
743
+ {
744
+ "cell_type": "code",
745
+ "metadata": {
746
+ "colab": {
747
+ "base_uri": "https://localhost:8080/",
748
+ "height": 143
749
+ },
750
+ "id": "I6MWR0k_qSCK",
751
+ "outputId": "f48cb514-0a48-4c2c-f9e1-7c4e26b3d1c8"
752
+ },
753
+ "source": [
754
+ "diabetes_dataset.groupby('Outcome').mean()"
755
+ ],
756
+ "execution_count": 9,
757
+ "outputs": [
758
+ {
759
+ "output_type": "execute_result",
760
+ "data": {
761
+ "text/plain": [
762
+ " Pregnancies Glucose BloodPressure SkinThickness Insulin \\\n",
763
+ "Outcome \n",
764
+ "0 3.298000 109.980000 68.184000 19.664000 68.792000 \n",
765
+ "1 4.865672 141.257463 70.824627 22.164179 100.335821 \n",
766
+ "\n",
767
+ " BMI DiabetesPedigreeFunction Age \n",
768
+ "Outcome \n",
769
+ "0 30.304200 0.429734 31.190000 \n",
770
+ "1 35.142537 0.550500 37.067164 "
771
+ ],
772
+ "text/html": [
773
+ "\n",
774
+ "\n",
775
+ " <div id=\"df-dbd165c1-51a1-4a8b-a88d-2013cb6502f4\">\n",
776
+ " <div class=\"colab-df-container\">\n",
777
+ " <div>\n",
778
+ "<style scoped>\n",
779
+ " .dataframe tbody tr th:only-of-type {\n",
780
+ " vertical-align: middle;\n",
781
+ " }\n",
782
+ "\n",
783
+ " .dataframe tbody tr th {\n",
784
+ " vertical-align: top;\n",
785
+ " }\n",
786
+ "\n",
787
+ " .dataframe thead th {\n",
788
+ " text-align: right;\n",
789
+ " }\n",
790
+ "</style>\n",
791
+ "<table border=\"1\" class=\"dataframe\">\n",
792
+ " <thead>\n",
793
+ " <tr style=\"text-align: right;\">\n",
794
+ " <th></th>\n",
795
+ " <th>Pregnancies</th>\n",
796
+ " <th>Glucose</th>\n",
797
+ " <th>BloodPressure</th>\n",
798
+ " <th>SkinThickness</th>\n",
799
+ " <th>Insulin</th>\n",
800
+ " <th>BMI</th>\n",
801
+ " <th>DiabetesPedigreeFunction</th>\n",
802
+ " <th>Age</th>\n",
803
+ " </tr>\n",
804
+ " <tr>\n",
805
+ " <th>Outcome</th>\n",
806
+ " <th></th>\n",
807
+ " <th></th>\n",
808
+ " <th></th>\n",
809
+ " <th></th>\n",
810
+ " <th></th>\n",
811
+ " <th></th>\n",
812
+ " <th></th>\n",
813
+ " <th></th>\n",
814
+ " </tr>\n",
815
+ " </thead>\n",
816
+ " <tbody>\n",
817
+ " <tr>\n",
818
+ " <th>0</th>\n",
819
+ " <td>3.298000</td>\n",
820
+ " <td>109.980000</td>\n",
821
+ " <td>68.184000</td>\n",
822
+ " <td>19.664000</td>\n",
823
+ " <td>68.792000</td>\n",
824
+ " <td>30.304200</td>\n",
825
+ " <td>0.429734</td>\n",
826
+ " <td>31.190000</td>\n",
827
+ " </tr>\n",
828
+ " <tr>\n",
829
+ " <th>1</th>\n",
830
+ " <td>4.865672</td>\n",
831
+ " <td>141.257463</td>\n",
832
+ " <td>70.824627</td>\n",
833
+ " <td>22.164179</td>\n",
834
+ " <td>100.335821</td>\n",
835
+ " <td>35.142537</td>\n",
836
+ " <td>0.550500</td>\n",
837
+ " <td>37.067164</td>\n",
838
+ " </tr>\n",
839
+ " </tbody>\n",
840
+ "</table>\n",
841
+ "</div>\n",
842
+ " <button class=\"colab-df-convert\" onclick=\"convertToInteractive('df-dbd165c1-51a1-4a8b-a88d-2013cb6502f4')\"\n",
843
+ " title=\"Convert this dataframe to an interactive table.\"\n",
844
+ " style=\"display:none;\">\n",
845
+ "\n",
846
+ " <svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
847
+ " width=\"24px\">\n",
848
+ " <path d=\"M0 0h24v24H0V0z\" fill=\"none\"/>\n",
849
+ " <path d=\"M18.56 5.44l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94zm-11 1L8.5 8.5l.94-2.06 2.06-.94-2.06-.94L8.5 2.5l-.94 2.06-2.06.94zm10 10l.94 2.06.94-2.06 2.06-.94-2.06-.94-.94-2.06-.94 2.06-2.06.94z\"/><path d=\"M17.41 7.96l-1.37-1.37c-.4-.4-.92-.59-1.43-.59-.52 0-1.04.2-1.43.59L10.3 9.45l-7.72 7.72c-.78.78-.78 2.05 0 2.83L4 21.41c.39.39.9.59 1.41.59.51 0 1.02-.2 1.41-.59l7.78-7.78 2.81-2.81c.8-.78.8-2.07 0-2.86zM5.41 20L4 18.59l7.72-7.72 1.47 1.35L5.41 20z\"/>\n",
850
+ " </svg>\n",
851
+ " </button>\n",
852
+ "\n",
853
+ "\n",
854
+ "\n",
855
+ " <div id=\"df-a9492bbf-84b3-4c23-bc99-b7589c4880b8\">\n",
856
+ " <button class=\"colab-df-quickchart\" onclick=\"quickchart('df-a9492bbf-84b3-4c23-bc99-b7589c4880b8')\"\n",
857
+ " title=\"Suggest charts.\"\n",
858
+ " style=\"display:none;\">\n",
859
+ "\n",
860
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\"viewBox=\"0 0 24 24\"\n",
861
+ " width=\"24px\">\n",
862
+ " <g>\n",
863
+ " <path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"/>\n",
864
+ " </g>\n",
865
+ "</svg>\n",
866
+ " </button>\n",
867
+ " </div>\n",
868
+ "\n",
869
+ "<style>\n",
870
+ " .colab-df-quickchart {\n",
871
+ " background-color: #E8F0FE;\n",
872
+ " border: none;\n",
873
+ " border-radius: 50%;\n",
874
+ " cursor: pointer;\n",
875
+ " display: none;\n",
876
+ " fill: #1967D2;\n",
877
+ " height: 32px;\n",
878
+ " padding: 0 0 0 0;\n",
879
+ " width: 32px;\n",
880
+ " }\n",
881
+ "\n",
882
+ " .colab-df-quickchart:hover {\n",
883
+ " background-color: #E2EBFA;\n",
884
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
885
+ " fill: #174EA6;\n",
886
+ " }\n",
887
+ "\n",
888
+ " [theme=dark] .colab-df-quickchart {\n",
889
+ " background-color: #3B4455;\n",
890
+ " fill: #D2E3FC;\n",
891
+ " }\n",
892
+ "\n",
893
+ " [theme=dark] .colab-df-quickchart:hover {\n",
894
+ " background-color: #434B5C;\n",
895
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
896
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
897
+ " fill: #FFFFFF;\n",
898
+ " }\n",
899
+ "</style>\n",
900
+ "\n",
901
+ " <script>\n",
902
+ " async function quickchart(key) {\n",
903
+ " const containerElement = document.querySelector('#' + key);\n",
904
+ " const charts = await google.colab.kernel.invokeFunction(\n",
905
+ " 'suggestCharts', [key], {});\n",
906
+ " }\n",
907
+ " </script>\n",
908
+ "\n",
909
+ " <script>\n",
910
+ "\n",
911
+ "function displayQuickchartButton(domScope) {\n",
912
+ " let quickchartButtonEl =\n",
913
+ " domScope.querySelector('#df-a9492bbf-84b3-4c23-bc99-b7589c4880b8 button.colab-df-quickchart');\n",
914
+ " quickchartButtonEl.style.display =\n",
915
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
916
+ "}\n",
917
+ "\n",
918
+ " displayQuickchartButton(document);\n",
919
+ " </script>\n",
920
+ " <style>\n",
921
+ " .colab-df-container {\n",
922
+ " display:flex;\n",
923
+ " flex-wrap:wrap;\n",
924
+ " gap: 12px;\n",
925
+ " }\n",
926
+ "\n",
927
+ " .colab-df-convert {\n",
928
+ " background-color: #E8F0FE;\n",
929
+ " border: none;\n",
930
+ " border-radius: 50%;\n",
931
+ " cursor: pointer;\n",
932
+ " display: none;\n",
933
+ " fill: #1967D2;\n",
934
+ " height: 32px;\n",
935
+ " padding: 0 0 0 0;\n",
936
+ " width: 32px;\n",
937
+ " }\n",
938
+ "\n",
939
+ " .colab-df-convert:hover {\n",
940
+ " background-color: #E2EBFA;\n",
941
+ " box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 1px 3px 1px rgba(60, 64, 67, 0.15);\n",
942
+ " fill: #174EA6;\n",
943
+ " }\n",
944
+ "\n",
945
+ " [theme=dark] .colab-df-convert {\n",
946
+ " background-color: #3B4455;\n",
947
+ " fill: #D2E3FC;\n",
948
+ " }\n",
949
+ "\n",
950
+ " [theme=dark] .colab-df-convert:hover {\n",
951
+ " background-color: #434B5C;\n",
952
+ " box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15);\n",
953
+ " filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));\n",
954
+ " fill: #FFFFFF;\n",
955
+ " }\n",
956
+ " </style>\n",
957
+ "\n",
958
+ " <script>\n",
959
+ " const buttonEl =\n",
960
+ " document.querySelector('#df-dbd165c1-51a1-4a8b-a88d-2013cb6502f4 button.colab-df-convert');\n",
961
+ " buttonEl.style.display =\n",
962
+ " google.colab.kernel.accessAllowed ? 'block' : 'none';\n",
963
+ "\n",
964
+ " async function convertToInteractive(key) {\n",
965
+ " const element = document.querySelector('#df-dbd165c1-51a1-4a8b-a88d-2013cb6502f4');\n",
966
+ " const dataTable =\n",
967
+ " await google.colab.kernel.invokeFunction('convertToInteractive',\n",
968
+ " [key], {});\n",
969
+ " if (!dataTable) return;\n",
970
+ "\n",
971
+ " const docLinkHtml = 'Like what you see? Visit the ' +\n",
972
+ " '<a target=\"_blank\" href=https://colab.research.google.com/notebooks/data_table.ipynb>data table notebook</a>'\n",
973
+ " + ' to learn more about interactive tables.';\n",
974
+ " element.innerHTML = '';\n",
975
+ " dataTable['output_type'] = 'display_data';\n",
976
+ " await google.colab.output.renderOutput(dataTable, element);\n",
977
+ " const docLink = document.createElement('div');\n",
978
+ " docLink.innerHTML = docLinkHtml;\n",
979
+ " element.appendChild(docLink);\n",
980
+ " }\n",
981
+ " </script>\n",
982
+ " </div>\n",
983
+ " </div>\n"
984
+ ]
985
+ },
986
+ "metadata": {},
987
+ "execution_count": 9
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "cell_type": "code",
993
+ "metadata": {
994
+ "id": "RoDW7l9mqqHZ"
995
+ },
996
+ "source": [
997
+ "# separating the data and labels\n",
998
+ "X = diabetes_dataset.drop(columns = 'Outcome', axis=1)\n",
999
+ "Y = diabetes_dataset['Outcome']"
1000
+ ],
1001
+ "execution_count": 10,
1002
+ "outputs": []
1003
+ },
1004
+ {
1005
+ "cell_type": "code",
1006
+ "metadata": {
1007
+ "colab": {
1008
+ "base_uri": "https://localhost:8080/"
1009
+ },
1010
+ "id": "3eiRW9M9raMm",
1011
+ "outputId": "307a82aa-e9ce-4fbc-b6ca-e45a0b3cae68"
1012
+ },
1013
+ "source": [
1014
+ "print(X)"
1015
+ ],
1016
+ "execution_count": 11,
1017
+ "outputs": [
1018
+ {
1019
+ "output_type": "stream",
1020
+ "name": "stdout",
1021
+ "text": [
1022
+ " Pregnancies Glucose BloodPressure SkinThickness Insulin BMI \\\n",
1023
+ "0 6 148 72 35 0 33.6 \n",
1024
+ "1 1 85 66 29 0 26.6 \n",
1025
+ "2 8 183 64 0 0 23.3 \n",
1026
+ "3 1 89 66 23 94 28.1 \n",
1027
+ "4 0 137 40 35 168 43.1 \n",
1028
+ ".. ... ... ... ... ... ... \n",
1029
+ "763 10 101 76 48 180 32.9 \n",
1030
+ "764 2 122 70 27 0 36.8 \n",
1031
+ "765 5 121 72 23 112 26.2 \n",
1032
+ "766 1 126 60 0 0 30.1 \n",
1033
+ "767 1 93 70 31 0 30.4 \n",
1034
+ "\n",
1035
+ " DiabetesPedigreeFunction Age \n",
1036
+ "0 0.627 50 \n",
1037
+ "1 0.351 31 \n",
1038
+ "2 0.672 32 \n",
1039
+ "3 0.167 21 \n",
1040
+ "4 2.288 33 \n",
1041
+ ".. ... ... \n",
1042
+ "763 0.171 63 \n",
1043
+ "764 0.340 27 \n",
1044
+ "765 0.245 30 \n",
1045
+ "766 0.349 47 \n",
1046
+ "767 0.315 23 \n",
1047
+ "\n",
1048
+ "[768 rows x 8 columns]\n"
1049
+ ]
1050
+ }
1051
+ ]
1052
+ },
1053
+ {
1054
+ "cell_type": "code",
1055
+ "metadata": {
1056
+ "colab": {
1057
+ "base_uri": "https://localhost:8080/"
1058
+ },
1059
+ "id": "AoxgTJAMrcCl",
1060
+ "outputId": "81847448-8589-4af9-a8ff-f90d74fb62e1"
1061
+ },
1062
+ "source": [
1063
+ "print(Y)"
1064
+ ],
1065
+ "execution_count": 12,
1066
+ "outputs": [
1067
+ {
1068
+ "output_type": "stream",
1069
+ "name": "stdout",
1070
+ "text": [
1071
+ "0 1\n",
1072
+ "1 0\n",
1073
+ "2 1\n",
1074
+ "3 0\n",
1075
+ "4 1\n",
1076
+ " ..\n",
1077
+ "763 0\n",
1078
+ "764 0\n",
1079
+ "765 0\n",
1080
+ "766 1\n",
1081
+ "767 0\n",
1082
+ "Name: Outcome, Length: 768, dtype: int64\n"
1083
+ ]
1084
+ }
1085
+ ]
1086
+ },
1087
+ {
1088
+ "cell_type": "markdown",
1089
+ "metadata": {
1090
+ "id": "umAbo_kqrlzI"
1091
+ },
1092
+ "source": [
1093
+ "Data Standardization"
1094
+ ]
1095
+ },
1096
+ {
1097
+ "cell_type": "code",
1098
+ "metadata": {
1099
+ "id": "njfM5X60rgnc"
1100
+ },
1101
+ "source": [
1102
+ "scaler = StandardScaler()"
1103
+ ],
1104
+ "execution_count": 13,
1105
+ "outputs": []
1106
+ },
1107
+ {
1108
+ "cell_type": "code",
1109
+ "metadata": {
1110
+ "colab": {
1111
+ "base_uri": "https://localhost:8080/",
1112
+ "height": 74
1113
+ },
1114
+ "id": "g0ai5ARbr53p",
1115
+ "outputId": "6b0bcd67-dca6-48e2-ef4c-5f643b696997"
1116
+ },
1117
+ "source": [
1118
+ "scaler.fit(X)"
1119
+ ],
1120
+ "execution_count": 14,
1121
+ "outputs": [
1122
+ {
1123
+ "output_type": "execute_result",
1124
+ "data": {
1125
+ "text/plain": [
1126
+ "StandardScaler()"
1127
+ ],
1128
+ "text/html": [
1129
+ "<style>#sk-container-id-1 {color: black;background-color: white;}#sk-container-id-1 pre{padding: 0;}#sk-container-id-1 div.sk-toggleable {background-color: white;}#sk-container-id-1 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-1 label.sk-toggleable__label-arrow:before {content: \"▸\";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-1 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-1 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-1 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-1 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-1 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-1 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: \"▾\";}#sk-container-id-1 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-1 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-1 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-1 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-1 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-1 div.sk-parallel-item::after {content: \"\";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-1 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-1 div.sk-serial::before {content: \"\";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-1 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-1 div.sk-item {position: relative;z-index: 1;}#sk-container-id-1 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-1 div.sk-item::before, #sk-container-id-1 div.sk-parallel-item::before {content: \"\";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-1 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-1 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-1 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-1 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-1 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-1 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-1 div.sk-label-container {text-align: center;}#sk-container-id-1 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-1 div.sk-text-repr-fallback {display: none;}</style><div id=\"sk-container-id-1\" class=\"sk-top-container\"><div class=\"sk-text-repr-fallback\"><pre>StandardScaler()</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class=\"sk-container\" hidden><div class=\"sk-item\"><div class=\"sk-estimator sk-toggleable\"><input class=\"sk-toggleable__control sk-hidden--visually\" id=\"sk-estimator-id-1\" type=\"checkbox\" checked><label for=\"sk-estimator-id-1\" class=\"sk-toggleable__label sk-toggleable__label-arrow\">StandardScaler</label><div class=\"sk-toggleable__content\"><pre>StandardScaler()</pre></div></div></div></div></div>"
1130
+ ]
1131
+ },
1132
+ "metadata": {},
1133
+ "execution_count": 14
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ "cell_type": "code",
1139
+ "metadata": {
1140
+ "id": "FHxNwPuZr-kD"
1141
+ },
1142
+ "source": [
1143
+ "standardized_data = scaler.transform(X)"
1144
+ ],
1145
+ "execution_count": 15,
1146
+ "outputs": []
1147
+ },
1148
+ {
1149
+ "cell_type": "code",
1150
+ "metadata": {
1151
+ "colab": {
1152
+ "base_uri": "https://localhost:8080/"
1153
+ },
1154
+ "id": "fjMwZ5x6sPUJ",
1155
+ "outputId": "a575517e-b432-48e7-980c-e0f94eb2c594"
1156
+ },
1157
+ "source": [
1158
+ "print(standardized_data)"
1159
+ ],
1160
+ "execution_count": 16,
1161
+ "outputs": [
1162
+ {
1163
+ "output_type": "stream",
1164
+ "name": "stdout",
1165
+ "text": [
1166
+ "[[ 0.63994726 0.84832379 0.14964075 ... 0.20401277 0.46849198\n",
1167
+ " 1.4259954 ]\n",
1168
+ " [-0.84488505 -1.12339636 -0.16054575 ... -0.68442195 -0.36506078\n",
1169
+ " -0.19067191]\n",
1170
+ " [ 1.23388019 1.94372388 -0.26394125 ... -1.10325546 0.60439732\n",
1171
+ " -0.10558415]\n",
1172
+ " ...\n",
1173
+ " [ 0.3429808 0.00330087 0.14964075 ... -0.73518964 -0.68519336\n",
1174
+ " -0.27575966]\n",
1175
+ " [-0.84488505 0.1597866 -0.47073225 ... -0.24020459 -0.37110101\n",
1176
+ " 1.17073215]\n",
1177
+ " [-0.84488505 -0.8730192 0.04624525 ... -0.20212881 -0.47378505\n",
1178
+ " -0.87137393]]\n"
1179
+ ]
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "cell_type": "code",
1185
+ "metadata": {
1186
+ "id": "ZxWSl4SGsRjE"
1187
+ },
1188
+ "source": [
1189
+ "X = standardized_data\n",
1190
+ "Y = diabetes_dataset['Outcome']"
1191
+ ],
1192
+ "execution_count": 17,
1193
+ "outputs": []
1194
+ },
1195
+ {
1196
+ "cell_type": "code",
1197
+ "metadata": {
1198
+ "colab": {
1199
+ "base_uri": "https://localhost:8080/"
1200
+ },
1201
+ "id": "lhJF_7QjsjmP",
1202
+ "outputId": "22698a97-5ba3-4afd-fd64-468f42da44ed"
1203
+ },
1204
+ "source": [
1205
+ "print(X)\n",
1206
+ "print(Y)"
1207
+ ],
1208
+ "execution_count": 18,
1209
+ "outputs": [
1210
+ {
1211
+ "output_type": "stream",
1212
+ "name": "stdout",
1213
+ "text": [
1214
+ "[[ 0.63994726 0.84832379 0.14964075 ... 0.20401277 0.46849198\n",
1215
+ " 1.4259954 ]\n",
1216
+ " [-0.84488505 -1.12339636 -0.16054575 ... -0.68442195 -0.36506078\n",
1217
+ " -0.19067191]\n",
1218
+ " [ 1.23388019 1.94372388 -0.26394125 ... -1.10325546 0.60439732\n",
1219
+ " -0.10558415]\n",
1220
+ " ...\n",
1221
+ " [ 0.3429808 0.00330087 0.14964075 ... -0.73518964 -0.68519336\n",
1222
+ " -0.27575966]\n",
1223
+ " [-0.84488505 0.1597866 -0.47073225 ... -0.24020459 -0.37110101\n",
1224
+ " 1.17073215]\n",
1225
+ " [-0.84488505 -0.8730192 0.04624525 ... -0.20212881 -0.47378505\n",
1226
+ " -0.87137393]]\n",
1227
+ "0 1\n",
1228
+ "1 0\n",
1229
+ "2 1\n",
1230
+ "3 0\n",
1231
+ "4 1\n",
1232
+ " ..\n",
1233
+ "763 0\n",
1234
+ "764 0\n",
1235
+ "765 0\n",
1236
+ "766 1\n",
1237
+ "767 0\n",
1238
+ "Name: Outcome, Length: 768, dtype: int64\n"
1239
+ ]
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "cell_type": "markdown",
1245
+ "metadata": {
1246
+ "id": "gHciEFkxsoQP"
1247
+ },
1248
+ "source": [
1249
+ "Train Test Split"
1250
+ ]
1251
+ },
1252
+ {
1253
+ "cell_type": "code",
1254
+ "metadata": {
1255
+ "id": "AEfKGj_yslvD"
1256
+ },
1257
+ "source": [
1258
+ "X_train, X_test, Y_train, Y_test = train_test_split(X,Y, test_size = 0.2, stratify=Y, random_state=2)"
1259
+ ],
1260
+ "execution_count": 19,
1261
+ "outputs": []
1262
+ },
1263
+ {
1264
+ "cell_type": "code",
1265
+ "metadata": {
1266
+ "colab": {
1267
+ "base_uri": "https://localhost:8080/"
1268
+ },
1269
+ "id": "DR05T-o0t3FQ",
1270
+ "outputId": "ac141250-46de-4a22-ca5a-7ed8f934b802"
1271
+ },
1272
+ "source": [
1273
+ "print(X.shape, X_train.shape, X_test.shape)"
1274
+ ],
1275
+ "execution_count": 20,
1276
+ "outputs": [
1277
+ {
1278
+ "output_type": "stream",
1279
+ "name": "stdout",
1280
+ "text": [
1281
+ "(768, 8) (614, 8) (154, 8)\n"
1282
+ ]
1283
+ }
1284
+ ]
1285
+ },
1286
+ {
1287
+ "cell_type": "markdown",
1288
+ "metadata": {
1289
+ "id": "ElJ3tkOtuC_n"
1290
+ },
1291
+ "source": [
1292
+ "Training the Model"
1293
+ ]
1294
+ },
1295
+ {
1296
+ "cell_type": "code",
1297
+ "metadata": {
1298
+ "id": "5szLWHlNt9xc"
1299
+ },
1300
+ "source": [
1301
+ "classifier = svm.SVC(kernel='linear')"
1302
+ ],
1303
+ "execution_count": 21,
1304
+ "outputs": []
1305
+ },
1306
+ {
1307
+ "cell_type": "code",
1308
+ "metadata": {
1309
+ "colab": {
1310
+ "base_uri": "https://localhost:8080/",
1311
+ "height": 74
1312
+ },
1313
+ "id": "ncJWY_7suPAb",
1314
+ "outputId": "6723e7bf-6435-465a-ab29-870e9791b070"
1315
+ },
1316
+ "source": [
1317
+ "#training the support vector Machine Classifier\n",
1318
+ "classifier.fit(X_train, Y_train)"
1319
+ ],
1320
+ "execution_count": 22,
1321
+ "outputs": [
1322
+ {
1323
+ "output_type": "execute_result",
1324
+ "data": {
1325
+ "text/plain": [
1326
+ "SVC(kernel='linear')"
1327
+ ],
1328
+ "text/html": [
1329
+ "<style>#sk-container-id-2 {color: black;background-color: white;}#sk-container-id-2 pre{padding: 0;}#sk-container-id-2 div.sk-toggleable {background-color: white;}#sk-container-id-2 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.3em;box-sizing: border-box;text-align: center;}#sk-container-id-2 label.sk-toggleable__label-arrow:before {content: \"▸\";float: left;margin-right: 0.25em;color: #696969;}#sk-container-id-2 label.sk-toggleable__label-arrow:hover:before {color: black;}#sk-container-id-2 div.sk-estimator:hover label.sk-toggleable__label-arrow:before {color: black;}#sk-container-id-2 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;background-color: #f0f8ff;}#sk-container-id-2 div.sk-toggleable__content pre {margin: 0.2em;color: black;border-radius: 0.25em;background-color: #f0f8ff;}#sk-container-id-2 input.sk-toggleable__control:checked~div.sk-toggleable__content {max-height: 200px;max-width: 100%;overflow: auto;}#sk-container-id-2 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: \"▾\";}#sk-container-id-2 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}#sk-container-id-2 div.sk-estimator {font-family: monospace;background-color: #f0f8ff;border: 1px dotted black;border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;}#sk-container-id-2 div.sk-estimator:hover {background-color: #d4ebff;}#sk-container-id-2 div.sk-parallel-item::after {content: \"\";width: 100%;border-bottom: 1px solid gray;flex-grow: 1;}#sk-container-id-2 div.sk-label:hover label.sk-toggleable__label {background-color: #d4ebff;}#sk-container-id-2 div.sk-serial::before {content: \"\";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: 0;}#sk-container-id-2 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: white;padding-right: 0.2em;padding-left: 0.2em;position: relative;}#sk-container-id-2 div.sk-item {position: relative;z-index: 1;}#sk-container-id-2 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: white;position: relative;}#sk-container-id-2 div.sk-item::before, #sk-container-id-2 div.sk-parallel-item::before {content: \"\";position: absolute;border-left: 1px solid gray;box-sizing: border-box;top: 0;bottom: 0;left: 50%;z-index: -1;}#sk-container-id-2 div.sk-parallel-item {display: flex;flex-direction: column;z-index: 1;position: relative;background-color: white;}#sk-container-id-2 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;}#sk-container-id-2 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;}#sk-container-id-2 div.sk-parallel-item:only-child::after {width: 0;}#sk-container-id-2 div.sk-dashed-wrapped {border: 1px dashed gray;margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: white;}#sk-container-id-2 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;}#sk-container-id-2 div.sk-label-container {text-align: center;}#sk-container-id-2 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }` but bootstrap.min.css set `[hidden] { display: none !important; }` so we also need the `!important` here to be able to override the default hidden behavior on the sphinx rendered scikit-learn.org. See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;}#sk-container-id-2 div.sk-text-repr-fallback {display: none;}</style><div id=\"sk-container-id-2\" class=\"sk-top-container\"><div class=\"sk-text-repr-fallback\"><pre>SVC(kernel=&#x27;linear&#x27;)</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class=\"sk-container\" hidden><div class=\"sk-item\"><div class=\"sk-estimator sk-toggleable\"><input class=\"sk-toggleable__control sk-hidden--visually\" id=\"sk-estimator-id-2\" type=\"checkbox\" checked><label for=\"sk-estimator-id-2\" class=\"sk-toggleable__label sk-toggleable__label-arrow\">SVC</label><div class=\"sk-toggleable__content\"><pre>SVC(kernel=&#x27;linear&#x27;)</pre></div></div></div></div></div>"
1330
+ ]
1331
+ },
1332
+ "metadata": {},
1333
+ "execution_count": 22
1334
+ }
1335
+ ]
1336
+ },
1337
+ {
1338
+ "cell_type": "markdown",
1339
+ "metadata": {
1340
+ "id": "UV4-CAfquiyP"
1341
+ },
1342
+ "source": [
1343
+ "Model Evaluation"
1344
+ ]
1345
+ },
1346
+ {
1347
+ "cell_type": "markdown",
1348
+ "metadata": {
1349
+ "id": "yhAjGPJWunXa"
1350
+ },
1351
+ "source": [
1352
+ "Accuracy Score"
1353
+ ]
1354
+ },
1355
+ {
1356
+ "cell_type": "code",
1357
+ "metadata": {
1358
+ "id": "fJLEPQK7ueXp"
1359
+ },
1360
+ "source": [
1361
+ "# accuracy score on the training data\n",
1362
+ "X_train_prediction = classifier.predict(X_train)\n",
1363
+ "training_data_accuracy = accuracy_score(X_train_prediction, Y_train)"
1364
+ ],
1365
+ "execution_count": 23,
1366
+ "outputs": []
1367
+ },
1368
+ {
1369
+ "cell_type": "code",
1370
+ "metadata": {
1371
+ "colab": {
1372
+ "base_uri": "https://localhost:8080/"
1373
+ },
1374
+ "id": "mmJ22qhVvNwj",
1375
+ "outputId": "8feadaa7-5d57-4e1e-8c2a-b3a8082c694c"
1376
+ },
1377
+ "source": [
1378
+ "print('Accuracy score of the training data : ', training_data_accuracy)"
1379
+ ],
1380
+ "execution_count": 24,
1381
+ "outputs": [
1382
+ {
1383
+ "output_type": "stream",
1384
+ "name": "stdout",
1385
+ "text": [
1386
+ "Accuracy score of the training data : 0.7866449511400652\n"
1387
+ ]
1388
+ }
1389
+ ]
1390
+ },
1391
+ {
1392
+ "cell_type": "code",
1393
+ "metadata": {
1394
+ "id": "G2CICFMEvcCl"
1395
+ },
1396
+ "source": [
1397
+ "# accuracy score on the test data\n",
1398
+ "X_test_prediction = classifier.predict(X_test)\n",
1399
+ "test_data_accuracy = accuracy_score(X_test_prediction, Y_test)"
1400
+ ],
1401
+ "execution_count": 25,
1402
+ "outputs": []
1403
+ },
1404
+ {
1405
+ "cell_type": "code",
1406
+ "metadata": {
1407
+ "colab": {
1408
+ "base_uri": "https://localhost:8080/"
1409
+ },
1410
+ "id": "i2GcW_t_vz7C",
1411
+ "outputId": "8cfe13de-d7a4-4524-d4b5-d05f862bd0d4"
1412
+ },
1413
+ "source": [
1414
+ "print('Accuracy score of the test data : ', test_data_accuracy)"
1415
+ ],
1416
+ "execution_count": 26,
1417
+ "outputs": [
1418
+ {
1419
+ "output_type": "stream",
1420
+ "name": "stdout",
1421
+ "text": [
1422
+ "Accuracy score of the test data : 0.7727272727272727\n"
1423
+ ]
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "cell_type": "markdown",
1429
+ "metadata": {
1430
+ "id": "gq8ZX1xpwPF5"
1431
+ },
1432
+ "source": [
1433
+ "Making a Predictive System"
1434
+ ]
1435
+ },
1436
+ {
1437
+ "cell_type": "code",
1438
+ "metadata": {
1439
+ "id": "U-ULRe4yv5tH"
1440
+ },
1441
+ "source": [
1442
+ "def predict(Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age):\n",
1443
+ " #input_data = (5,166,72,19,175,25.8,0.587,51)\n",
1444
+ " input_data = (Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age)\n",
1445
+ "\n",
1446
+ "\n",
1447
+ " # changing the input_data to numpy array\n",
1448
+ " input_data_as_numpy_array = np.asarray(input_data)\n",
1449
+ "\n",
1450
+ " # reshape the array as we are predicting for one instance\n",
1451
+ " input_data_reshaped = input_data_as_numpy_array.reshape(1,-1)\n",
1452
+ "\n",
1453
+ " # standardize the input data\n",
1454
+ " std_data = scaler.transform(input_data_reshaped)\n",
1455
+ " print(std_data)\n",
1456
+ "\n",
1457
+ " prediction = classifier.predict(std_data)\n",
1458
+ " #print(prediction)\n",
1459
+ "\n",
1460
+ " if (prediction[0] == 0):\n",
1461
+ " print('The person is not diabetic')\n",
1462
+ " else:\n",
1463
+ " print('The person is diabetic')\n",
1464
+ " return prediction"
1465
+ ],
1466
+ "execution_count": 27,
1467
+ "outputs": []
1468
+ },
1469
+ {
1470
+ "cell_type": "code",
1471
+ "metadata": {
1472
+ "id": "Ex2A_pr4yCpm",
1473
+ "colab": {
1474
+ "base_uri": "https://localhost:8080/"
1475
+ },
1476
+ "outputId": "138bc5ec-bdb3-4a7f-a229-2614b47da4df"
1477
+ },
1478
+ "source": [
1479
+ "predict(4,136,64,20,175,25.6,0.597,50)"
1480
+ ],
1481
+ "execution_count": 41,
1482
+ "outputs": [
1483
+ {
1484
+ "output_type": "stream",
1485
+ "name": "stdout",
1486
+ "text": [
1487
+ "[[ 0.04601433 0.47275805 -0.26394125 -0.03365099 0.82661621 -0.81134119\n",
1488
+ " 0.37788842 1.4259954 ]]\n",
1489
+ "The person is not diabetic\n"
1490
+ ]
1491
+ },
1492
+ {
1493
+ "output_type": "stream",
1494
+ "name": "stderr",
1495
+ "text": [
1496
+ "/usr/local/lib/python3.10/dist-packages/sklearn/base.py:439: UserWarning: X does not have valid feature names, but StandardScaler was fitted with feature names\n",
1497
+ " warnings.warn(\n"
1498
+ ]
1499
+ },
1500
+ {
1501
+ "output_type": "execute_result",
1502
+ "data": {
1503
+ "text/plain": [
1504
+ "array([0])"
1505
+ ]
1506
+ },
1507
+ "metadata": {},
1508
+ "execution_count": 41
1509
+ }
1510
+ ]
1511
+ },
1512
+ {
1513
+ "cell_type": "code",
1514
+ "source": [
1515
+ "!pip install gradio"
1516
+ ],
1517
+ "metadata": {
1518
+ "id": "NBOIKhAAxeyx"
1519
+ },
1520
+ "execution_count": null,
1521
+ "outputs": []
1522
+ },
1523
+ {
1524
+ "cell_type": "code",
1525
+ "source": [
1526
+ "import gradio as gr\n",
1527
+ "\n",
1528
+ "\n",
1529
+ "def dibetis_predict(Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age):\n",
1530
+ " #input_data = (5,166,72,19,175,25.8,0.587,51)\n",
1531
+ " input_data = (Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age)\n",
1532
+ "\n",
1533
+ "\n",
1534
+ " # changing the input_data to numpy array\n",
1535
+ " input_data_as_numpy_array = np.asarray(input_data)\n",
1536
+ "\n",
1537
+ " # reshape the array as we are predicting for one instance\n",
1538
+ " input_data_reshaped = input_data_as_numpy_array.reshape(1,-1)\n",
1539
+ "\n",
1540
+ " # standardize the input data\n",
1541
+ " std_data = scaler.transform(input_data_reshaped)\n",
1542
+ " print(std_data)\n",
1543
+ "\n",
1544
+ " prediction = classifier.predict(std_data)\n",
1545
+ "\n",
1546
+ " if (prediction[0] == 0):\n",
1547
+ " print('The person is not diabetic')\n",
1548
+ " return 'The person is not diabetic'\n",
1549
+ " else:\n",
1550
+ " print('The person is diabetic')\n",
1551
+ " return 'The person is diabetic'\n",
1552
+ "\n",
1553
+ "\n",
1554
+ "\n",
1555
+ "\n",
1556
+ "demo = gr.Interface(\n",
1557
+ " fn=dibetis_predict,\n",
1558
+ " inputs = [\n",
1559
+ " gr.Slider(1, 20, value=4, label=\"Pregnancies\", info=\"Choose between 1 and 20\"),\n",
1560
+ " gr.Slider(1, 200, value=136, label=\"Glucose\", info=\"Choose between 1 and 200\"),\n",
1561
+ " gr.Slider(1, 100, value=64, label=\"BloodPressure\", info=\"Choose between 1 and 100\"),\n",
1562
+ " gr.Slider(1, 50, value=20, label=\"SkinThickness\", info=\"Choose between 1 and 50\"),\n",
1563
+ " gr.Slider(1, 200, value=175, label=\"Insulin\", info=\"Choose between 1 and 200\"),\n",
1564
+ " gr.Slider(1, 100, value=25.5, label=\"BMI\", info=\"Choose between 1 and 100\"),\n",
1565
+ " gr.Slider(0, 1.0, value=0.549, label=\"DiabetesPedigreeFunction\", info=\"Choose between 0.0 and 1.0\"),\n",
1566
+ " gr.Slider(1, 100, value=50, label=\"Age\", info=\"Choose between 1 and 100\"),\n",
1567
+ " ],\n",
1568
+ " outputs = \"text\",\n",
1569
+ ")\n",
1570
+ "\n",
1571
+ "if __name__ == \"__main__\":\n",
1572
+ " demo.launch(share=True)"
1573
+ ],
1574
+ "metadata": {
1575
+ "colab": {
1576
+ "base_uri": "https://localhost:8080/",
1577
+ "height": 611
1578
+ },
1579
+ "id": "1_9DwNyd7dso",
1580
+ "outputId": "d10a4f57-1450-4c46-921f-887a7d3bdbc9"
1581
+ },
1582
+ "execution_count": 45,
1583
+ "outputs": [
1584
+ {
1585
+ "output_type": "stream",
1586
+ "name": "stdout",
1587
+ "text": [
1588
+ "Colab notebook detected. To show errors in colab notebook, set debug=True in launch()\n",
1589
+ "Running on public URL: https://1eacd78d38dbb14861.gradio.live\n",
1590
+ "\n",
1591
+ "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n"
1592
+ ]
1593
+ },
1594
+ {
1595
+ "output_type": "display_data",
1596
+ "data": {
1597
+ "text/plain": [
1598
+ "<IPython.core.display.HTML object>"
1599
+ ],
1600
+ "text/html": [
1601
+ "<div><iframe src=\"https://1eacd78d38dbb14861.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
1602
+ ]
1603
+ },
1604
+ "metadata": {}
1605
+ }
1606
+ ]
1607
+ },
1608
+ {
1609
+ "cell_type": "code",
1610
+ "source": [
1611
+ "4,136,62,20,175,25.6,0.597,50\n",
1612
+ "0\t6\t148\t72\t35\t0\t33.6\t0.627\t50"
1613
+ ],
1614
+ "metadata": {
1615
+ "id": "x81jZvv8Vw6n"
1616
+ },
1617
+ "execution_count": null,
1618
+ "outputs": []
1619
+ }
1620
+ ]
1621
+ }
diabetes.csv ADDED
@@ -0,0 +1,769 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Pregnancies,Glucose,BloodPressure,SkinThickness,Insulin,BMI,DiabetesPedigreeFunction,Age,Outcome
2
+ 6,148,72,35,0,33.6,0.627,50,1
3
+ 1,85,66,29,0,26.6,0.351,31,0
4
+ 8,183,64,0,0,23.3,0.672,32,1
5
+ 1,89,66,23,94,28.1,0.167,21,0
6
+ 0,137,40,35,168,43.1,2.288,33,1
7
+ 5,116,74,0,0,25.6,0.201,30,0
8
+ 3,78,50,32,88,31,0.248,26,1
9
+ 10,115,0,0,0,35.3,0.134,29,0
10
+ 2,197,70,45,543,30.5,0.158,53,1
11
+ 8,125,96,0,0,0,0.232,54,1
12
+ 4,110,92,0,0,37.6,0.191,30,0
13
+ 10,168,74,0,0,38,0.537,34,1
14
+ 10,139,80,0,0,27.1,1.441,57,0
15
+ 1,189,60,23,846,30.1,0.398,59,1
16
+ 5,166,72,19,175,25.8,0.587,51,1
17
+ 7,100,0,0,0,30,0.484,32,1
18
+ 0,118,84,47,230,45.8,0.551,31,1
19
+ 7,107,74,0,0,29.6,0.254,31,1
20
+ 1,103,30,38,83,43.3,0.183,33,0
21
+ 1,115,70,30,96,34.6,0.529,32,1
22
+ 3,126,88,41,235,39.3,0.704,27,0
23
+ 8,99,84,0,0,35.4,0.388,50,0
24
+ 7,196,90,0,0,39.8,0.451,41,1
25
+ 9,119,80,35,0,29,0.263,29,1
26
+ 11,143,94,33,146,36.6,0.254,51,1
27
+ 10,125,70,26,115,31.1,0.205,41,1
28
+ 7,147,76,0,0,39.4,0.257,43,1
29
+ 1,97,66,15,140,23.2,0.487,22,0
30
+ 13,145,82,19,110,22.2,0.245,57,0
31
+ 5,117,92,0,0,34.1,0.337,38,0
32
+ 5,109,75,26,0,36,0.546,60,0
33
+ 3,158,76,36,245,31.6,0.851,28,1
34
+ 3,88,58,11,54,24.8,0.267,22,0
35
+ 6,92,92,0,0,19.9,0.188,28,0
36
+ 10,122,78,31,0,27.6,0.512,45,0
37
+ 4,103,60,33,192,24,0.966,33,0
38
+ 11,138,76,0,0,33.2,0.42,35,0
39
+ 9,102,76,37,0,32.9,0.665,46,1
40
+ 2,90,68,42,0,38.2,0.503,27,1
41
+ 4,111,72,47,207,37.1,1.39,56,1
42
+ 3,180,64,25,70,34,0.271,26,0
43
+ 7,133,84,0,0,40.2,0.696,37,0
44
+ 7,106,92,18,0,22.7,0.235,48,0
45
+ 9,171,110,24,240,45.4,0.721,54,1
46
+ 7,159,64,0,0,27.4,0.294,40,0
47
+ 0,180,66,39,0,42,1.893,25,1
48
+ 1,146,56,0,0,29.7,0.564,29,0
49
+ 2,71,70,27,0,28,0.586,22,0
50
+ 7,103,66,32,0,39.1,0.344,31,1
51
+ 7,105,0,0,0,0,0.305,24,0
52
+ 1,103,80,11,82,19.4,0.491,22,0
53
+ 1,101,50,15,36,24.2,0.526,26,0
54
+ 5,88,66,21,23,24.4,0.342,30,0
55
+ 8,176,90,34,300,33.7,0.467,58,1
56
+ 7,150,66,42,342,34.7,0.718,42,0
57
+ 1,73,50,10,0,23,0.248,21,0
58
+ 7,187,68,39,304,37.7,0.254,41,1
59
+ 0,100,88,60,110,46.8,0.962,31,0
60
+ 0,146,82,0,0,40.5,1.781,44,0
61
+ 0,105,64,41,142,41.5,0.173,22,0
62
+ 2,84,0,0,0,0,0.304,21,0
63
+ 8,133,72,0,0,32.9,0.27,39,1
64
+ 5,44,62,0,0,25,0.587,36,0
65
+ 2,141,58,34,128,25.4,0.699,24,0
66
+ 7,114,66,0,0,32.8,0.258,42,1
67
+ 5,99,74,27,0,29,0.203,32,0
68
+ 0,109,88,30,0,32.5,0.855,38,1
69
+ 2,109,92,0,0,42.7,0.845,54,0
70
+ 1,95,66,13,38,19.6,0.334,25,0
71
+ 4,146,85,27,100,28.9,0.189,27,0
72
+ 2,100,66,20,90,32.9,0.867,28,1
73
+ 5,139,64,35,140,28.6,0.411,26,0
74
+ 13,126,90,0,0,43.4,0.583,42,1
75
+ 4,129,86,20,270,35.1,0.231,23,0
76
+ 1,79,75,30,0,32,0.396,22,0
77
+ 1,0,48,20,0,24.7,0.14,22,0
78
+ 7,62,78,0,0,32.6,0.391,41,0
79
+ 5,95,72,33,0,37.7,0.37,27,0
80
+ 0,131,0,0,0,43.2,0.27,26,1
81
+ 2,112,66,22,0,25,0.307,24,0
82
+ 3,113,44,13,0,22.4,0.14,22,0
83
+ 2,74,0,0,0,0,0.102,22,0
84
+ 7,83,78,26,71,29.3,0.767,36,0
85
+ 0,101,65,28,0,24.6,0.237,22,0
86
+ 5,137,108,0,0,48.8,0.227,37,1
87
+ 2,110,74,29,125,32.4,0.698,27,0
88
+ 13,106,72,54,0,36.6,0.178,45,0
89
+ 2,100,68,25,71,38.5,0.324,26,0
90
+ 15,136,70,32,110,37.1,0.153,43,1
91
+ 1,107,68,19,0,26.5,0.165,24,0
92
+ 1,80,55,0,0,19.1,0.258,21,0
93
+ 4,123,80,15,176,32,0.443,34,0
94
+ 7,81,78,40,48,46.7,0.261,42,0
95
+ 4,134,72,0,0,23.8,0.277,60,1
96
+ 2,142,82,18,64,24.7,0.761,21,0
97
+ 6,144,72,27,228,33.9,0.255,40,0
98
+ 2,92,62,28,0,31.6,0.13,24,0
99
+ 1,71,48,18,76,20.4,0.323,22,0
100
+ 6,93,50,30,64,28.7,0.356,23,0
101
+ 1,122,90,51,220,49.7,0.325,31,1
102
+ 1,163,72,0,0,39,1.222,33,1
103
+ 1,151,60,0,0,26.1,0.179,22,0
104
+ 0,125,96,0,0,22.5,0.262,21,0
105
+ 1,81,72,18,40,26.6,0.283,24,0
106
+ 2,85,65,0,0,39.6,0.93,27,0
107
+ 1,126,56,29,152,28.7,0.801,21,0
108
+ 1,96,122,0,0,22.4,0.207,27,0
109
+ 4,144,58,28,140,29.5,0.287,37,0
110
+ 3,83,58,31,18,34.3,0.336,25,0
111
+ 0,95,85,25,36,37.4,0.247,24,1
112
+ 3,171,72,33,135,33.3,0.199,24,1
113
+ 8,155,62,26,495,34,0.543,46,1
114
+ 1,89,76,34,37,31.2,0.192,23,0
115
+ 4,76,62,0,0,34,0.391,25,0
116
+ 7,160,54,32,175,30.5,0.588,39,1
117
+ 4,146,92,0,0,31.2,0.539,61,1
118
+ 5,124,74,0,0,34,0.22,38,1
119
+ 5,78,48,0,0,33.7,0.654,25,0
120
+ 4,97,60,23,0,28.2,0.443,22,0
121
+ 4,99,76,15,51,23.2,0.223,21,0
122
+ 0,162,76,56,100,53.2,0.759,25,1
123
+ 6,111,64,39,0,34.2,0.26,24,0
124
+ 2,107,74,30,100,33.6,0.404,23,0
125
+ 5,132,80,0,0,26.8,0.186,69,0
126
+ 0,113,76,0,0,33.3,0.278,23,1
127
+ 1,88,30,42,99,55,0.496,26,1
128
+ 3,120,70,30,135,42.9,0.452,30,0
129
+ 1,118,58,36,94,33.3,0.261,23,0
130
+ 1,117,88,24,145,34.5,0.403,40,1
131
+ 0,105,84,0,0,27.9,0.741,62,1
132
+ 4,173,70,14,168,29.7,0.361,33,1
133
+ 9,122,56,0,0,33.3,1.114,33,1
134
+ 3,170,64,37,225,34.5,0.356,30,1
135
+ 8,84,74,31,0,38.3,0.457,39,0
136
+ 2,96,68,13,49,21.1,0.647,26,0
137
+ 2,125,60,20,140,33.8,0.088,31,0
138
+ 0,100,70,26,50,30.8,0.597,21,0
139
+ 0,93,60,25,92,28.7,0.532,22,0
140
+ 0,129,80,0,0,31.2,0.703,29,0
141
+ 5,105,72,29,325,36.9,0.159,28,0
142
+ 3,128,78,0,0,21.1,0.268,55,0
143
+ 5,106,82,30,0,39.5,0.286,38,0
144
+ 2,108,52,26,63,32.5,0.318,22,0
145
+ 10,108,66,0,0,32.4,0.272,42,1
146
+ 4,154,62,31,284,32.8,0.237,23,0
147
+ 0,102,75,23,0,0,0.572,21,0
148
+ 9,57,80,37,0,32.8,0.096,41,0
149
+ 2,106,64,35,119,30.5,1.4,34,0
150
+ 5,147,78,0,0,33.7,0.218,65,0
151
+ 2,90,70,17,0,27.3,0.085,22,0
152
+ 1,136,74,50,204,37.4,0.399,24,0
153
+ 4,114,65,0,0,21.9,0.432,37,0
154
+ 9,156,86,28,155,34.3,1.189,42,1
155
+ 1,153,82,42,485,40.6,0.687,23,0
156
+ 8,188,78,0,0,47.9,0.137,43,1
157
+ 7,152,88,44,0,50,0.337,36,1
158
+ 2,99,52,15,94,24.6,0.637,21,0
159
+ 1,109,56,21,135,25.2,0.833,23,0
160
+ 2,88,74,19,53,29,0.229,22,0
161
+ 17,163,72,41,114,40.9,0.817,47,1
162
+ 4,151,90,38,0,29.7,0.294,36,0
163
+ 7,102,74,40,105,37.2,0.204,45,0
164
+ 0,114,80,34,285,44.2,0.167,27,0
165
+ 2,100,64,23,0,29.7,0.368,21,0
166
+ 0,131,88,0,0,31.6,0.743,32,1
167
+ 6,104,74,18,156,29.9,0.722,41,1
168
+ 3,148,66,25,0,32.5,0.256,22,0
169
+ 4,120,68,0,0,29.6,0.709,34,0
170
+ 4,110,66,0,0,31.9,0.471,29,0
171
+ 3,111,90,12,78,28.4,0.495,29,0
172
+ 6,102,82,0,0,30.8,0.18,36,1
173
+ 6,134,70,23,130,35.4,0.542,29,1
174
+ 2,87,0,23,0,28.9,0.773,25,0
175
+ 1,79,60,42,48,43.5,0.678,23,0
176
+ 2,75,64,24,55,29.7,0.37,33,0
177
+ 8,179,72,42,130,32.7,0.719,36,1
178
+ 6,85,78,0,0,31.2,0.382,42,0
179
+ 0,129,110,46,130,67.1,0.319,26,1
180
+ 5,143,78,0,0,45,0.19,47,0
181
+ 5,130,82,0,0,39.1,0.956,37,1
182
+ 6,87,80,0,0,23.2,0.084,32,0
183
+ 0,119,64,18,92,34.9,0.725,23,0
184
+ 1,0,74,20,23,27.7,0.299,21,0
185
+ 5,73,60,0,0,26.8,0.268,27,0
186
+ 4,141,74,0,0,27.6,0.244,40,0
187
+ 7,194,68,28,0,35.9,0.745,41,1
188
+ 8,181,68,36,495,30.1,0.615,60,1
189
+ 1,128,98,41,58,32,1.321,33,1
190
+ 8,109,76,39,114,27.9,0.64,31,1
191
+ 5,139,80,35,160,31.6,0.361,25,1
192
+ 3,111,62,0,0,22.6,0.142,21,0
193
+ 9,123,70,44,94,33.1,0.374,40,0
194
+ 7,159,66,0,0,30.4,0.383,36,1
195
+ 11,135,0,0,0,52.3,0.578,40,1
196
+ 8,85,55,20,0,24.4,0.136,42,0
197
+ 5,158,84,41,210,39.4,0.395,29,1
198
+ 1,105,58,0,0,24.3,0.187,21,0
199
+ 3,107,62,13,48,22.9,0.678,23,1
200
+ 4,109,64,44,99,34.8,0.905,26,1
201
+ 4,148,60,27,318,30.9,0.15,29,1
202
+ 0,113,80,16,0,31,0.874,21,0
203
+ 1,138,82,0,0,40.1,0.236,28,0
204
+ 0,108,68,20,0,27.3,0.787,32,0
205
+ 2,99,70,16,44,20.4,0.235,27,0
206
+ 6,103,72,32,190,37.7,0.324,55,0
207
+ 5,111,72,28,0,23.9,0.407,27,0
208
+ 8,196,76,29,280,37.5,0.605,57,1
209
+ 5,162,104,0,0,37.7,0.151,52,1
210
+ 1,96,64,27,87,33.2,0.289,21,0
211
+ 7,184,84,33,0,35.5,0.355,41,1
212
+ 2,81,60,22,0,27.7,0.29,25,0
213
+ 0,147,85,54,0,42.8,0.375,24,0
214
+ 7,179,95,31,0,34.2,0.164,60,0
215
+ 0,140,65,26,130,42.6,0.431,24,1
216
+ 9,112,82,32,175,34.2,0.26,36,1
217
+ 12,151,70,40,271,41.8,0.742,38,1
218
+ 5,109,62,41,129,35.8,0.514,25,1
219
+ 6,125,68,30,120,30,0.464,32,0
220
+ 5,85,74,22,0,29,1.224,32,1
221
+ 5,112,66,0,0,37.8,0.261,41,1
222
+ 0,177,60,29,478,34.6,1.072,21,1
223
+ 2,158,90,0,0,31.6,0.805,66,1
224
+ 7,119,0,0,0,25.2,0.209,37,0
225
+ 7,142,60,33,190,28.8,0.687,61,0
226
+ 1,100,66,15,56,23.6,0.666,26,0
227
+ 1,87,78,27,32,34.6,0.101,22,0
228
+ 0,101,76,0,0,35.7,0.198,26,0
229
+ 3,162,52,38,0,37.2,0.652,24,1
230
+ 4,197,70,39,744,36.7,2.329,31,0
231
+ 0,117,80,31,53,45.2,0.089,24,0
232
+ 4,142,86,0,0,44,0.645,22,1
233
+ 6,134,80,37,370,46.2,0.238,46,1
234
+ 1,79,80,25,37,25.4,0.583,22,0
235
+ 4,122,68,0,0,35,0.394,29,0
236
+ 3,74,68,28,45,29.7,0.293,23,0
237
+ 4,171,72,0,0,43.6,0.479,26,1
238
+ 7,181,84,21,192,35.9,0.586,51,1
239
+ 0,179,90,27,0,44.1,0.686,23,1
240
+ 9,164,84,21,0,30.8,0.831,32,1
241
+ 0,104,76,0,0,18.4,0.582,27,0
242
+ 1,91,64,24,0,29.2,0.192,21,0
243
+ 4,91,70,32,88,33.1,0.446,22,0
244
+ 3,139,54,0,0,25.6,0.402,22,1
245
+ 6,119,50,22,176,27.1,1.318,33,1
246
+ 2,146,76,35,194,38.2,0.329,29,0
247
+ 9,184,85,15,0,30,1.213,49,1
248
+ 10,122,68,0,0,31.2,0.258,41,0
249
+ 0,165,90,33,680,52.3,0.427,23,0
250
+ 9,124,70,33,402,35.4,0.282,34,0
251
+ 1,111,86,19,0,30.1,0.143,23,0
252
+ 9,106,52,0,0,31.2,0.38,42,0
253
+ 2,129,84,0,0,28,0.284,27,0
254
+ 2,90,80,14,55,24.4,0.249,24,0
255
+ 0,86,68,32,0,35.8,0.238,25,0
256
+ 12,92,62,7,258,27.6,0.926,44,1
257
+ 1,113,64,35,0,33.6,0.543,21,1
258
+ 3,111,56,39,0,30.1,0.557,30,0
259
+ 2,114,68,22,0,28.7,0.092,25,0
260
+ 1,193,50,16,375,25.9,0.655,24,0
261
+ 11,155,76,28,150,33.3,1.353,51,1
262
+ 3,191,68,15,130,30.9,0.299,34,0
263
+ 3,141,0,0,0,30,0.761,27,1
264
+ 4,95,70,32,0,32.1,0.612,24,0
265
+ 3,142,80,15,0,32.4,0.2,63,0
266
+ 4,123,62,0,0,32,0.226,35,1
267
+ 5,96,74,18,67,33.6,0.997,43,0
268
+ 0,138,0,0,0,36.3,0.933,25,1
269
+ 2,128,64,42,0,40,1.101,24,0
270
+ 0,102,52,0,0,25.1,0.078,21,0
271
+ 2,146,0,0,0,27.5,0.24,28,1
272
+ 10,101,86,37,0,45.6,1.136,38,1
273
+ 2,108,62,32,56,25.2,0.128,21,0
274
+ 3,122,78,0,0,23,0.254,40,0
275
+ 1,71,78,50,45,33.2,0.422,21,0
276
+ 13,106,70,0,0,34.2,0.251,52,0
277
+ 2,100,70,52,57,40.5,0.677,25,0
278
+ 7,106,60,24,0,26.5,0.296,29,1
279
+ 0,104,64,23,116,27.8,0.454,23,0
280
+ 5,114,74,0,0,24.9,0.744,57,0
281
+ 2,108,62,10,278,25.3,0.881,22,0
282
+ 0,146,70,0,0,37.9,0.334,28,1
283
+ 10,129,76,28,122,35.9,0.28,39,0
284
+ 7,133,88,15,155,32.4,0.262,37,0
285
+ 7,161,86,0,0,30.4,0.165,47,1
286
+ 2,108,80,0,0,27,0.259,52,1
287
+ 7,136,74,26,135,26,0.647,51,0
288
+ 5,155,84,44,545,38.7,0.619,34,0
289
+ 1,119,86,39,220,45.6,0.808,29,1
290
+ 4,96,56,17,49,20.8,0.34,26,0
291
+ 5,108,72,43,75,36.1,0.263,33,0
292
+ 0,78,88,29,40,36.9,0.434,21,0
293
+ 0,107,62,30,74,36.6,0.757,25,1
294
+ 2,128,78,37,182,43.3,1.224,31,1
295
+ 1,128,48,45,194,40.5,0.613,24,1
296
+ 0,161,50,0,0,21.9,0.254,65,0
297
+ 6,151,62,31,120,35.5,0.692,28,0
298
+ 2,146,70,38,360,28,0.337,29,1
299
+ 0,126,84,29,215,30.7,0.52,24,0
300
+ 14,100,78,25,184,36.6,0.412,46,1
301
+ 8,112,72,0,0,23.6,0.84,58,0
302
+ 0,167,0,0,0,32.3,0.839,30,1
303
+ 2,144,58,33,135,31.6,0.422,25,1
304
+ 5,77,82,41,42,35.8,0.156,35,0
305
+ 5,115,98,0,0,52.9,0.209,28,1
306
+ 3,150,76,0,0,21,0.207,37,0
307
+ 2,120,76,37,105,39.7,0.215,29,0
308
+ 10,161,68,23,132,25.5,0.326,47,1
309
+ 0,137,68,14,148,24.8,0.143,21,0
310
+ 0,128,68,19,180,30.5,1.391,25,1
311
+ 2,124,68,28,205,32.9,0.875,30,1
312
+ 6,80,66,30,0,26.2,0.313,41,0
313
+ 0,106,70,37,148,39.4,0.605,22,0
314
+ 2,155,74,17,96,26.6,0.433,27,1
315
+ 3,113,50,10,85,29.5,0.626,25,0
316
+ 7,109,80,31,0,35.9,1.127,43,1
317
+ 2,112,68,22,94,34.1,0.315,26,0
318
+ 3,99,80,11,64,19.3,0.284,30,0
319
+ 3,182,74,0,0,30.5,0.345,29,1
320
+ 3,115,66,39,140,38.1,0.15,28,0
321
+ 6,194,78,0,0,23.5,0.129,59,1
322
+ 4,129,60,12,231,27.5,0.527,31,0
323
+ 3,112,74,30,0,31.6,0.197,25,1
324
+ 0,124,70,20,0,27.4,0.254,36,1
325
+ 13,152,90,33,29,26.8,0.731,43,1
326
+ 2,112,75,32,0,35.7,0.148,21,0
327
+ 1,157,72,21,168,25.6,0.123,24,0
328
+ 1,122,64,32,156,35.1,0.692,30,1
329
+ 10,179,70,0,0,35.1,0.2,37,0
330
+ 2,102,86,36,120,45.5,0.127,23,1
331
+ 6,105,70,32,68,30.8,0.122,37,0
332
+ 8,118,72,19,0,23.1,1.476,46,0
333
+ 2,87,58,16,52,32.7,0.166,25,0
334
+ 1,180,0,0,0,43.3,0.282,41,1
335
+ 12,106,80,0,0,23.6,0.137,44,0
336
+ 1,95,60,18,58,23.9,0.26,22,0
337
+ 0,165,76,43,255,47.9,0.259,26,0
338
+ 0,117,0,0,0,33.8,0.932,44,0
339
+ 5,115,76,0,0,31.2,0.343,44,1
340
+ 9,152,78,34,171,34.2,0.893,33,1
341
+ 7,178,84,0,0,39.9,0.331,41,1
342
+ 1,130,70,13,105,25.9,0.472,22,0
343
+ 1,95,74,21,73,25.9,0.673,36,0
344
+ 1,0,68,35,0,32,0.389,22,0
345
+ 5,122,86,0,0,34.7,0.29,33,0
346
+ 8,95,72,0,0,36.8,0.485,57,0
347
+ 8,126,88,36,108,38.5,0.349,49,0
348
+ 1,139,46,19,83,28.7,0.654,22,0
349
+ 3,116,0,0,0,23.5,0.187,23,0
350
+ 3,99,62,19,74,21.8,0.279,26,0
351
+ 5,0,80,32,0,41,0.346,37,1
352
+ 4,92,80,0,0,42.2,0.237,29,0
353
+ 4,137,84,0,0,31.2,0.252,30,0
354
+ 3,61,82,28,0,34.4,0.243,46,0
355
+ 1,90,62,12,43,27.2,0.58,24,0
356
+ 3,90,78,0,0,42.7,0.559,21,0
357
+ 9,165,88,0,0,30.4,0.302,49,1
358
+ 1,125,50,40,167,33.3,0.962,28,1
359
+ 13,129,0,30,0,39.9,0.569,44,1
360
+ 12,88,74,40,54,35.3,0.378,48,0
361
+ 1,196,76,36,249,36.5,0.875,29,1
362
+ 5,189,64,33,325,31.2,0.583,29,1
363
+ 5,158,70,0,0,29.8,0.207,63,0
364
+ 5,103,108,37,0,39.2,0.305,65,0
365
+ 4,146,78,0,0,38.5,0.52,67,1
366
+ 4,147,74,25,293,34.9,0.385,30,0
367
+ 5,99,54,28,83,34,0.499,30,0
368
+ 6,124,72,0,0,27.6,0.368,29,1
369
+ 0,101,64,17,0,21,0.252,21,0
370
+ 3,81,86,16,66,27.5,0.306,22,0
371
+ 1,133,102,28,140,32.8,0.234,45,1
372
+ 3,173,82,48,465,38.4,2.137,25,1
373
+ 0,118,64,23,89,0,1.731,21,0
374
+ 0,84,64,22,66,35.8,0.545,21,0
375
+ 2,105,58,40,94,34.9,0.225,25,0
376
+ 2,122,52,43,158,36.2,0.816,28,0
377
+ 12,140,82,43,325,39.2,0.528,58,1
378
+ 0,98,82,15,84,25.2,0.299,22,0
379
+ 1,87,60,37,75,37.2,0.509,22,0
380
+ 4,156,75,0,0,48.3,0.238,32,1
381
+ 0,93,100,39,72,43.4,1.021,35,0
382
+ 1,107,72,30,82,30.8,0.821,24,0
383
+ 0,105,68,22,0,20,0.236,22,0
384
+ 1,109,60,8,182,25.4,0.947,21,0
385
+ 1,90,62,18,59,25.1,1.268,25,0
386
+ 1,125,70,24,110,24.3,0.221,25,0
387
+ 1,119,54,13,50,22.3,0.205,24,0
388
+ 5,116,74,29,0,32.3,0.66,35,1
389
+ 8,105,100,36,0,43.3,0.239,45,1
390
+ 5,144,82,26,285,32,0.452,58,1
391
+ 3,100,68,23,81,31.6,0.949,28,0
392
+ 1,100,66,29,196,32,0.444,42,0
393
+ 5,166,76,0,0,45.7,0.34,27,1
394
+ 1,131,64,14,415,23.7,0.389,21,0
395
+ 4,116,72,12,87,22.1,0.463,37,0
396
+ 4,158,78,0,0,32.9,0.803,31,1
397
+ 2,127,58,24,275,27.7,1.6,25,0
398
+ 3,96,56,34,115,24.7,0.944,39,0
399
+ 0,131,66,40,0,34.3,0.196,22,1
400
+ 3,82,70,0,0,21.1,0.389,25,0
401
+ 3,193,70,31,0,34.9,0.241,25,1
402
+ 4,95,64,0,0,32,0.161,31,1
403
+ 6,137,61,0,0,24.2,0.151,55,0
404
+ 5,136,84,41,88,35,0.286,35,1
405
+ 9,72,78,25,0,31.6,0.28,38,0
406
+ 5,168,64,0,0,32.9,0.135,41,1
407
+ 2,123,48,32,165,42.1,0.52,26,0
408
+ 4,115,72,0,0,28.9,0.376,46,1
409
+ 0,101,62,0,0,21.9,0.336,25,0
410
+ 8,197,74,0,0,25.9,1.191,39,1
411
+ 1,172,68,49,579,42.4,0.702,28,1
412
+ 6,102,90,39,0,35.7,0.674,28,0
413
+ 1,112,72,30,176,34.4,0.528,25,0
414
+ 1,143,84,23,310,42.4,1.076,22,0
415
+ 1,143,74,22,61,26.2,0.256,21,0
416
+ 0,138,60,35,167,34.6,0.534,21,1
417
+ 3,173,84,33,474,35.7,0.258,22,1
418
+ 1,97,68,21,0,27.2,1.095,22,0
419
+ 4,144,82,32,0,38.5,0.554,37,1
420
+ 1,83,68,0,0,18.2,0.624,27,0
421
+ 3,129,64,29,115,26.4,0.219,28,1
422
+ 1,119,88,41,170,45.3,0.507,26,0
423
+ 2,94,68,18,76,26,0.561,21,0
424
+ 0,102,64,46,78,40.6,0.496,21,0
425
+ 2,115,64,22,0,30.8,0.421,21,0
426
+ 8,151,78,32,210,42.9,0.516,36,1
427
+ 4,184,78,39,277,37,0.264,31,1
428
+ 0,94,0,0,0,0,0.256,25,0
429
+ 1,181,64,30,180,34.1,0.328,38,1
430
+ 0,135,94,46,145,40.6,0.284,26,0
431
+ 1,95,82,25,180,35,0.233,43,1
432
+ 2,99,0,0,0,22.2,0.108,23,0
433
+ 3,89,74,16,85,30.4,0.551,38,0
434
+ 1,80,74,11,60,30,0.527,22,0
435
+ 2,139,75,0,0,25.6,0.167,29,0
436
+ 1,90,68,8,0,24.5,1.138,36,0
437
+ 0,141,0,0,0,42.4,0.205,29,1
438
+ 12,140,85,33,0,37.4,0.244,41,0
439
+ 5,147,75,0,0,29.9,0.434,28,0
440
+ 1,97,70,15,0,18.2,0.147,21,0
441
+ 6,107,88,0,0,36.8,0.727,31,0
442
+ 0,189,104,25,0,34.3,0.435,41,1
443
+ 2,83,66,23,50,32.2,0.497,22,0
444
+ 4,117,64,27,120,33.2,0.23,24,0
445
+ 8,108,70,0,0,30.5,0.955,33,1
446
+ 4,117,62,12,0,29.7,0.38,30,1
447
+ 0,180,78,63,14,59.4,2.42,25,1
448
+ 1,100,72,12,70,25.3,0.658,28,0
449
+ 0,95,80,45,92,36.5,0.33,26,0
450
+ 0,104,64,37,64,33.6,0.51,22,1
451
+ 0,120,74,18,63,30.5,0.285,26,0
452
+ 1,82,64,13,95,21.2,0.415,23,0
453
+ 2,134,70,0,0,28.9,0.542,23,1
454
+ 0,91,68,32,210,39.9,0.381,25,0
455
+ 2,119,0,0,0,19.6,0.832,72,0
456
+ 2,100,54,28,105,37.8,0.498,24,0
457
+ 14,175,62,30,0,33.6,0.212,38,1
458
+ 1,135,54,0,0,26.7,0.687,62,0
459
+ 5,86,68,28,71,30.2,0.364,24,0
460
+ 10,148,84,48,237,37.6,1.001,51,1
461
+ 9,134,74,33,60,25.9,0.46,81,0
462
+ 9,120,72,22,56,20.8,0.733,48,0
463
+ 1,71,62,0,0,21.8,0.416,26,0
464
+ 8,74,70,40,49,35.3,0.705,39,0
465
+ 5,88,78,30,0,27.6,0.258,37,0
466
+ 10,115,98,0,0,24,1.022,34,0
467
+ 0,124,56,13,105,21.8,0.452,21,0
468
+ 0,74,52,10,36,27.8,0.269,22,0
469
+ 0,97,64,36,100,36.8,0.6,25,0
470
+ 8,120,0,0,0,30,0.183,38,1
471
+ 6,154,78,41,140,46.1,0.571,27,0
472
+ 1,144,82,40,0,41.3,0.607,28,0
473
+ 0,137,70,38,0,33.2,0.17,22,0
474
+ 0,119,66,27,0,38.8,0.259,22,0
475
+ 7,136,90,0,0,29.9,0.21,50,0
476
+ 4,114,64,0,0,28.9,0.126,24,0
477
+ 0,137,84,27,0,27.3,0.231,59,0
478
+ 2,105,80,45,191,33.7,0.711,29,1
479
+ 7,114,76,17,110,23.8,0.466,31,0
480
+ 8,126,74,38,75,25.9,0.162,39,0
481
+ 4,132,86,31,0,28,0.419,63,0
482
+ 3,158,70,30,328,35.5,0.344,35,1
483
+ 0,123,88,37,0,35.2,0.197,29,0
484
+ 4,85,58,22,49,27.8,0.306,28,0
485
+ 0,84,82,31,125,38.2,0.233,23,0
486
+ 0,145,0,0,0,44.2,0.63,31,1
487
+ 0,135,68,42,250,42.3,0.365,24,1
488
+ 1,139,62,41,480,40.7,0.536,21,0
489
+ 0,173,78,32,265,46.5,1.159,58,0
490
+ 4,99,72,17,0,25.6,0.294,28,0
491
+ 8,194,80,0,0,26.1,0.551,67,0
492
+ 2,83,65,28,66,36.8,0.629,24,0
493
+ 2,89,90,30,0,33.5,0.292,42,0
494
+ 4,99,68,38,0,32.8,0.145,33,0
495
+ 4,125,70,18,122,28.9,1.144,45,1
496
+ 3,80,0,0,0,0,0.174,22,0
497
+ 6,166,74,0,0,26.6,0.304,66,0
498
+ 5,110,68,0,0,26,0.292,30,0
499
+ 2,81,72,15,76,30.1,0.547,25,0
500
+ 7,195,70,33,145,25.1,0.163,55,1
501
+ 6,154,74,32,193,29.3,0.839,39,0
502
+ 2,117,90,19,71,25.2,0.313,21,0
503
+ 3,84,72,32,0,37.2,0.267,28,0
504
+ 6,0,68,41,0,39,0.727,41,1
505
+ 7,94,64,25,79,33.3,0.738,41,0
506
+ 3,96,78,39,0,37.3,0.238,40,0
507
+ 10,75,82,0,0,33.3,0.263,38,0
508
+ 0,180,90,26,90,36.5,0.314,35,1
509
+ 1,130,60,23,170,28.6,0.692,21,0
510
+ 2,84,50,23,76,30.4,0.968,21,0
511
+ 8,120,78,0,0,25,0.409,64,0
512
+ 12,84,72,31,0,29.7,0.297,46,1
513
+ 0,139,62,17,210,22.1,0.207,21,0
514
+ 9,91,68,0,0,24.2,0.2,58,0
515
+ 2,91,62,0,0,27.3,0.525,22,0
516
+ 3,99,54,19,86,25.6,0.154,24,0
517
+ 3,163,70,18,105,31.6,0.268,28,1
518
+ 9,145,88,34,165,30.3,0.771,53,1
519
+ 7,125,86,0,0,37.6,0.304,51,0
520
+ 13,76,60,0,0,32.8,0.18,41,0
521
+ 6,129,90,7,326,19.6,0.582,60,0
522
+ 2,68,70,32,66,25,0.187,25,0
523
+ 3,124,80,33,130,33.2,0.305,26,0
524
+ 6,114,0,0,0,0,0.189,26,0
525
+ 9,130,70,0,0,34.2,0.652,45,1
526
+ 3,125,58,0,0,31.6,0.151,24,0
527
+ 3,87,60,18,0,21.8,0.444,21,0
528
+ 1,97,64,19,82,18.2,0.299,21,0
529
+ 3,116,74,15,105,26.3,0.107,24,0
530
+ 0,117,66,31,188,30.8,0.493,22,0
531
+ 0,111,65,0,0,24.6,0.66,31,0
532
+ 2,122,60,18,106,29.8,0.717,22,0
533
+ 0,107,76,0,0,45.3,0.686,24,0
534
+ 1,86,66,52,65,41.3,0.917,29,0
535
+ 6,91,0,0,0,29.8,0.501,31,0
536
+ 1,77,56,30,56,33.3,1.251,24,0
537
+ 4,132,0,0,0,32.9,0.302,23,1
538
+ 0,105,90,0,0,29.6,0.197,46,0
539
+ 0,57,60,0,0,21.7,0.735,67,0
540
+ 0,127,80,37,210,36.3,0.804,23,0
541
+ 3,129,92,49,155,36.4,0.968,32,1
542
+ 8,100,74,40,215,39.4,0.661,43,1
543
+ 3,128,72,25,190,32.4,0.549,27,1
544
+ 10,90,85,32,0,34.9,0.825,56,1
545
+ 4,84,90,23,56,39.5,0.159,25,0
546
+ 1,88,78,29,76,32,0.365,29,0
547
+ 8,186,90,35,225,34.5,0.423,37,1
548
+ 5,187,76,27,207,43.6,1.034,53,1
549
+ 4,131,68,21,166,33.1,0.16,28,0
550
+ 1,164,82,43,67,32.8,0.341,50,0
551
+ 4,189,110,31,0,28.5,0.68,37,0
552
+ 1,116,70,28,0,27.4,0.204,21,0
553
+ 3,84,68,30,106,31.9,0.591,25,0
554
+ 6,114,88,0,0,27.8,0.247,66,0
555
+ 1,88,62,24,44,29.9,0.422,23,0
556
+ 1,84,64,23,115,36.9,0.471,28,0
557
+ 7,124,70,33,215,25.5,0.161,37,0
558
+ 1,97,70,40,0,38.1,0.218,30,0
559
+ 8,110,76,0,0,27.8,0.237,58,0
560
+ 11,103,68,40,0,46.2,0.126,42,0
561
+ 11,85,74,0,0,30.1,0.3,35,0
562
+ 6,125,76,0,0,33.8,0.121,54,1
563
+ 0,198,66,32,274,41.3,0.502,28,1
564
+ 1,87,68,34,77,37.6,0.401,24,0
565
+ 6,99,60,19,54,26.9,0.497,32,0
566
+ 0,91,80,0,0,32.4,0.601,27,0
567
+ 2,95,54,14,88,26.1,0.748,22,0
568
+ 1,99,72,30,18,38.6,0.412,21,0
569
+ 6,92,62,32,126,32,0.085,46,0
570
+ 4,154,72,29,126,31.3,0.338,37,0
571
+ 0,121,66,30,165,34.3,0.203,33,1
572
+ 3,78,70,0,0,32.5,0.27,39,0
573
+ 2,130,96,0,0,22.6,0.268,21,0
574
+ 3,111,58,31,44,29.5,0.43,22,0
575
+ 2,98,60,17,120,34.7,0.198,22,0
576
+ 1,143,86,30,330,30.1,0.892,23,0
577
+ 1,119,44,47,63,35.5,0.28,25,0
578
+ 6,108,44,20,130,24,0.813,35,0
579
+ 2,118,80,0,0,42.9,0.693,21,1
580
+ 10,133,68,0,0,27,0.245,36,0
581
+ 2,197,70,99,0,34.7,0.575,62,1
582
+ 0,151,90,46,0,42.1,0.371,21,1
583
+ 6,109,60,27,0,25,0.206,27,0
584
+ 12,121,78,17,0,26.5,0.259,62,0
585
+ 8,100,76,0,0,38.7,0.19,42,0
586
+ 8,124,76,24,600,28.7,0.687,52,1
587
+ 1,93,56,11,0,22.5,0.417,22,0
588
+ 8,143,66,0,0,34.9,0.129,41,1
589
+ 6,103,66,0,0,24.3,0.249,29,0
590
+ 3,176,86,27,156,33.3,1.154,52,1
591
+ 0,73,0,0,0,21.1,0.342,25,0
592
+ 11,111,84,40,0,46.8,0.925,45,1
593
+ 2,112,78,50,140,39.4,0.175,24,0
594
+ 3,132,80,0,0,34.4,0.402,44,1
595
+ 2,82,52,22,115,28.5,1.699,25,0
596
+ 6,123,72,45,230,33.6,0.733,34,0
597
+ 0,188,82,14,185,32,0.682,22,1
598
+ 0,67,76,0,0,45.3,0.194,46,0
599
+ 1,89,24,19,25,27.8,0.559,21,0
600
+ 1,173,74,0,0,36.8,0.088,38,1
601
+ 1,109,38,18,120,23.1,0.407,26,0
602
+ 1,108,88,19,0,27.1,0.4,24,0
603
+ 6,96,0,0,0,23.7,0.19,28,0
604
+ 1,124,74,36,0,27.8,0.1,30,0
605
+ 7,150,78,29,126,35.2,0.692,54,1
606
+ 4,183,0,0,0,28.4,0.212,36,1
607
+ 1,124,60,32,0,35.8,0.514,21,0
608
+ 1,181,78,42,293,40,1.258,22,1
609
+ 1,92,62,25,41,19.5,0.482,25,0
610
+ 0,152,82,39,272,41.5,0.27,27,0
611
+ 1,111,62,13,182,24,0.138,23,0
612
+ 3,106,54,21,158,30.9,0.292,24,0
613
+ 3,174,58,22,194,32.9,0.593,36,1
614
+ 7,168,88,42,321,38.2,0.787,40,1
615
+ 6,105,80,28,0,32.5,0.878,26,0
616
+ 11,138,74,26,144,36.1,0.557,50,1
617
+ 3,106,72,0,0,25.8,0.207,27,0
618
+ 6,117,96,0,0,28.7,0.157,30,0
619
+ 2,68,62,13,15,20.1,0.257,23,0
620
+ 9,112,82,24,0,28.2,1.282,50,1
621
+ 0,119,0,0,0,32.4,0.141,24,1
622
+ 2,112,86,42,160,38.4,0.246,28,0
623
+ 2,92,76,20,0,24.2,1.698,28,0
624
+ 6,183,94,0,0,40.8,1.461,45,0
625
+ 0,94,70,27,115,43.5,0.347,21,0
626
+ 2,108,64,0,0,30.8,0.158,21,0
627
+ 4,90,88,47,54,37.7,0.362,29,0
628
+ 0,125,68,0,0,24.7,0.206,21,0
629
+ 0,132,78,0,0,32.4,0.393,21,0
630
+ 5,128,80,0,0,34.6,0.144,45,0
631
+ 4,94,65,22,0,24.7,0.148,21,0
632
+ 7,114,64,0,0,27.4,0.732,34,1
633
+ 0,102,78,40,90,34.5,0.238,24,0
634
+ 2,111,60,0,0,26.2,0.343,23,0
635
+ 1,128,82,17,183,27.5,0.115,22,0
636
+ 10,92,62,0,0,25.9,0.167,31,0
637
+ 13,104,72,0,0,31.2,0.465,38,1
638
+ 5,104,74,0,0,28.8,0.153,48,0
639
+ 2,94,76,18,66,31.6,0.649,23,0
640
+ 7,97,76,32,91,40.9,0.871,32,1
641
+ 1,100,74,12,46,19.5,0.149,28,0
642
+ 0,102,86,17,105,29.3,0.695,27,0
643
+ 4,128,70,0,0,34.3,0.303,24,0
644
+ 6,147,80,0,0,29.5,0.178,50,1
645
+ 4,90,0,0,0,28,0.61,31,0
646
+ 3,103,72,30,152,27.6,0.73,27,0
647
+ 2,157,74,35,440,39.4,0.134,30,0
648
+ 1,167,74,17,144,23.4,0.447,33,1
649
+ 0,179,50,36,159,37.8,0.455,22,1
650
+ 11,136,84,35,130,28.3,0.26,42,1
651
+ 0,107,60,25,0,26.4,0.133,23,0
652
+ 1,91,54,25,100,25.2,0.234,23,0
653
+ 1,117,60,23,106,33.8,0.466,27,0
654
+ 5,123,74,40,77,34.1,0.269,28,0
655
+ 2,120,54,0,0,26.8,0.455,27,0
656
+ 1,106,70,28,135,34.2,0.142,22,0
657
+ 2,155,52,27,540,38.7,0.24,25,1
658
+ 2,101,58,35,90,21.8,0.155,22,0
659
+ 1,120,80,48,200,38.9,1.162,41,0
660
+ 11,127,106,0,0,39,0.19,51,0
661
+ 3,80,82,31,70,34.2,1.292,27,1
662
+ 10,162,84,0,0,27.7,0.182,54,0
663
+ 1,199,76,43,0,42.9,1.394,22,1
664
+ 8,167,106,46,231,37.6,0.165,43,1
665
+ 9,145,80,46,130,37.9,0.637,40,1
666
+ 6,115,60,39,0,33.7,0.245,40,1
667
+ 1,112,80,45,132,34.8,0.217,24,0
668
+ 4,145,82,18,0,32.5,0.235,70,1
669
+ 10,111,70,27,0,27.5,0.141,40,1
670
+ 6,98,58,33,190,34,0.43,43,0
671
+ 9,154,78,30,100,30.9,0.164,45,0
672
+ 6,165,68,26,168,33.6,0.631,49,0
673
+ 1,99,58,10,0,25.4,0.551,21,0
674
+ 10,68,106,23,49,35.5,0.285,47,0
675
+ 3,123,100,35,240,57.3,0.88,22,0
676
+ 8,91,82,0,0,35.6,0.587,68,0
677
+ 6,195,70,0,0,30.9,0.328,31,1
678
+ 9,156,86,0,0,24.8,0.23,53,1
679
+ 0,93,60,0,0,35.3,0.263,25,0
680
+ 3,121,52,0,0,36,0.127,25,1
681
+ 2,101,58,17,265,24.2,0.614,23,0
682
+ 2,56,56,28,45,24.2,0.332,22,0
683
+ 0,162,76,36,0,49.6,0.364,26,1
684
+ 0,95,64,39,105,44.6,0.366,22,0
685
+ 4,125,80,0,0,32.3,0.536,27,1
686
+ 5,136,82,0,0,0,0.64,69,0
687
+ 2,129,74,26,205,33.2,0.591,25,0
688
+ 3,130,64,0,0,23.1,0.314,22,0
689
+ 1,107,50,19,0,28.3,0.181,29,0
690
+ 1,140,74,26,180,24.1,0.828,23,0
691
+ 1,144,82,46,180,46.1,0.335,46,1
692
+ 8,107,80,0,0,24.6,0.856,34,0
693
+ 13,158,114,0,0,42.3,0.257,44,1
694
+ 2,121,70,32,95,39.1,0.886,23,0
695
+ 7,129,68,49,125,38.5,0.439,43,1
696
+ 2,90,60,0,0,23.5,0.191,25,0
697
+ 7,142,90,24,480,30.4,0.128,43,1
698
+ 3,169,74,19,125,29.9,0.268,31,1
699
+ 0,99,0,0,0,25,0.253,22,0
700
+ 4,127,88,11,155,34.5,0.598,28,0
701
+ 4,118,70,0,0,44.5,0.904,26,0
702
+ 2,122,76,27,200,35.9,0.483,26,0
703
+ 6,125,78,31,0,27.6,0.565,49,1
704
+ 1,168,88,29,0,35,0.905,52,1
705
+ 2,129,0,0,0,38.5,0.304,41,0
706
+ 4,110,76,20,100,28.4,0.118,27,0
707
+ 6,80,80,36,0,39.8,0.177,28,0
708
+ 10,115,0,0,0,0,0.261,30,1
709
+ 2,127,46,21,335,34.4,0.176,22,0
710
+ 9,164,78,0,0,32.8,0.148,45,1
711
+ 2,93,64,32,160,38,0.674,23,1
712
+ 3,158,64,13,387,31.2,0.295,24,0
713
+ 5,126,78,27,22,29.6,0.439,40,0
714
+ 10,129,62,36,0,41.2,0.441,38,1
715
+ 0,134,58,20,291,26.4,0.352,21,0
716
+ 3,102,74,0,0,29.5,0.121,32,0
717
+ 7,187,50,33,392,33.9,0.826,34,1
718
+ 3,173,78,39,185,33.8,0.97,31,1
719
+ 10,94,72,18,0,23.1,0.595,56,0
720
+ 1,108,60,46,178,35.5,0.415,24,0
721
+ 5,97,76,27,0,35.6,0.378,52,1
722
+ 4,83,86,19,0,29.3,0.317,34,0
723
+ 1,114,66,36,200,38.1,0.289,21,0
724
+ 1,149,68,29,127,29.3,0.349,42,1
725
+ 5,117,86,30,105,39.1,0.251,42,0
726
+ 1,111,94,0,0,32.8,0.265,45,0
727
+ 4,112,78,40,0,39.4,0.236,38,0
728
+ 1,116,78,29,180,36.1,0.496,25,0
729
+ 0,141,84,26,0,32.4,0.433,22,0
730
+ 2,175,88,0,0,22.9,0.326,22,0
731
+ 2,92,52,0,0,30.1,0.141,22,0
732
+ 3,130,78,23,79,28.4,0.323,34,1
733
+ 8,120,86,0,0,28.4,0.259,22,1
734
+ 2,174,88,37,120,44.5,0.646,24,1
735
+ 2,106,56,27,165,29,0.426,22,0
736
+ 2,105,75,0,0,23.3,0.56,53,0
737
+ 4,95,60,32,0,35.4,0.284,28,0
738
+ 0,126,86,27,120,27.4,0.515,21,0
739
+ 8,65,72,23,0,32,0.6,42,0
740
+ 2,99,60,17,160,36.6,0.453,21,0
741
+ 1,102,74,0,0,39.5,0.293,42,1
742
+ 11,120,80,37,150,42.3,0.785,48,1
743
+ 3,102,44,20,94,30.8,0.4,26,0
744
+ 1,109,58,18,116,28.5,0.219,22,0
745
+ 9,140,94,0,0,32.7,0.734,45,1
746
+ 13,153,88,37,140,40.6,1.174,39,0
747
+ 12,100,84,33,105,30,0.488,46,0
748
+ 1,147,94,41,0,49.3,0.358,27,1
749
+ 1,81,74,41,57,46.3,1.096,32,0
750
+ 3,187,70,22,200,36.4,0.408,36,1
751
+ 6,162,62,0,0,24.3,0.178,50,1
752
+ 4,136,70,0,0,31.2,1.182,22,1
753
+ 1,121,78,39,74,39,0.261,28,0
754
+ 3,108,62,24,0,26,0.223,25,0
755
+ 0,181,88,44,510,43.3,0.222,26,1
756
+ 8,154,78,32,0,32.4,0.443,45,1
757
+ 1,128,88,39,110,36.5,1.057,37,1
758
+ 7,137,90,41,0,32,0.391,39,0
759
+ 0,123,72,0,0,36.3,0.258,52,1
760
+ 1,106,76,0,0,37.5,0.197,26,0
761
+ 6,190,92,0,0,35.5,0.278,66,1
762
+ 2,88,58,26,16,28.4,0.766,22,0
763
+ 9,170,74,31,0,44,0.403,43,1
764
+ 9,89,62,0,0,22.5,0.142,33,0
765
+ 10,101,76,48,180,32.9,0.171,63,0
766
+ 2,122,70,27,0,36.8,0.34,27,0
767
+ 5,121,72,23,112,26.2,0.245,30,0
768
+ 1,126,60,0,0,30.1,0.349,47,1
769
+ 1,93,70,31,0,30.4,0.315,23,0