Spaces:
Running
Running
File size: 15,818 Bytes
8ccc320 98ce606 bd92a5c 98ce606 8ccc320 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Life predicter</title>
<link rel="stylesheet" href="style.css">
</head>
<body class="flex">
<!-- <h1 class="title">Predicting Life Expectancy</h1> -->
<div>
<form class="form" action="/result" method="POST">
<div class="field flex">
<label class="heading" for="Country">Country:</label>
<select id="Status" name="Status">
<option value="0">Afghanistan</option>
<option value="1">Albania</option>
<option value="2">Algeria</option>
<option value="3">Angola</option>
<option value="4">Antigua and Barbuda</option>
<option value="5">Argentina</option>
<option value="6">Armenia</option>
<option value="7">Australia</option>
<option value="8">Austria</option>
<option value="9">Azerbaijan</option>
<option value="10">Bahamas</option>
<option value="11">Bahrain</option>
<option value="12">Bangladesh</option>
<option value="13">Barbados</option>
<option value="14">Belarus</option>
<option value="15">Belgium</option>
<option value="16">Belize</option>
<option value="17">Benin</option>
<option value="18">Bhutan</option>
<option value="19">Bolivia</option>
<option value="20">Bosnia and Herzegovina</option>
<option value="21">Botswana</option>
<option value="22">Brazil</option>
<option value="23">Brunei Darussalam</option>
<option value="24">Bulgaria</option>
<option value="25">Burkina Faso</option>
<option value="26">Burundi</option>
<option value="27">CÃ`te d'Ivoire</option>
<option value="28">Cabo Verde</option>
<option value="29">Cambodia</option>
<option value="30">Cameroon</option>
<option value="31">Canada</option>
<option value="32">Central African Republic</option>
<option value="33">Chad</option>
<option value="34">Chile</option>
<option value="35">China</option>
<option value="36">Colombia</option>
<option value="37">Comoros</option>
<option value="38">Congo</option>
<option value="39">Costa Rica</option>
<option value="40">Croatia</option>
<option value="41">Cuba</option>
<option value="42">Cyprus</option>
<option value="43">Czechia</option>
<option value="44">Democratic People's Republic of Korea</option>
<option value="45">Denmark</option>
<option value="46">Djibouti</option>
<option value="47">Dominican Republic</option>
<option value="48">Ecuador</option>
<option value="49">Egypt</option>
<option value="50">El Salvador</option>
<option value="52">Equatorial Guinea</option>
<option value="53">Eritrea</option>
<option value="54">Estonia</option>
<option value="55">Ethiopia</option>
<option value="56">Fiji</option>
<option value="57">Finland</option>
<option value="58">France</option>
<option value="59">Gabon</option>
<option value="60">Gambia</option>
<option value="61">Georgia</option>
<option value="62">Germany</option>
<option value="63">Ghana</option>
<option value="64">Greece</option>
<option value="65">Grenada</option>
<option value="66">Guatemala</option>
<option value="67">Guinea</option>
<option value="68">Guinea-Bissau</option>
<option value="69">Guyana</option>
<option value="70">Haiti</option>
<option value="71">Honduras</option>
<option value="72">Hungary</option>
<option value="73">Iceland</option>
<option value="74">India</option>
<option value="75">Indonesia</option>
<option value="76">Iran</option>
<option value="77">Iraq</option>
<option value="78">Ireland</option>
<option value="79">Israel</option>
<option value="80">Italy</option>
<option value="81">Jamaica</option>
<option value="82">Japan</option>
<option value="83">Jordan</option>
<option value="84">Kazakhstan</option>
<option value="85">Kenya</option>
<option value="86">Kiribati</option>
<option value="87">Kuwait</option>
<option value="88">Kyrgyzstan</option>
<option value="89">Lao People's Democratic Republic</option>
<option value="90">Latvia</option>
<option value="91">Lebanon</option>
<option value="92">Lesotho</option>
<option value="93">Liberia</option>
<option value="94">Libya</option>
<option value="95">Lithuania</option>
<option value="96">Luxembourg</option>
<option value="97">Madagascar</option>
<option value="98">Malawi</option>
<option value="99">Malaysia</option>
<option value="100">Maldives</option>
<option value="101">Mali</option>
<option value="102">Malta</option>
<option value="103">Mauritania</option>
<option value="104">Mauritius</option>
<option value="105">Mexico</option>
<option value="106">Micronesia</option>
<option value="107">Monaco</option>
<option value="108">Mongolia</option>
<option value="109">Montenegro</option>
<option value="110">Morocco</option>
<option value="111">Mozambique</option>
<option value="112">Myanmar</option>
<option value="113">Namibia</option>
<option value="114">Nepal</option>
<option value="115">Netherlands</option>
<option value="116">New Zealand</option>
<option value="117">Nicaragua</option>
<option value="118">Niger</option>
<option value="119">Nigeria</option>
<option value="120">Norway</option>
<option value="121">Oman</option>
<option value="122">Pakistan</option>
<option value="123">Palau</option>
<option value="124">Panama</option>
<option value="125">Papua New Guinea</option>
<option value="126">Paraguay</option>
<option value="127">Peru</option>
<option value="128">Philippines</option>
<option value="129">Poland</option>
<option value="130">Portugal</option>
<option value="131">Qatar</option>
<option value="132">Republic of Korea</option>
<option value="133">Romania</option>
<option value="134">Russian Federation</option>
<option value="135">Rwanda</option>
<option value="136">Saint Lucia</option>
<option value="137">Saint Vincent and the Grenadines</option>
<option value="138">Samoa</option>
<option value="139">Sao Tome and Principe</option>
<option value="140">Saudi Arabia</option>
<option value="141">Senegal</option>
<option value="142">Serbia</option>
<option value="143">Seychelles</option>
<option value="144">Sierra Leone</option>
<option value="145">Singapore</option>
<option value="146">Slovakia</option>
<option value="147">Slovenia</option>
<option value="148">Solomon Islands</option>
<option value="149">Somalia</option>
<option value="150">South Africa</option>
<option value="151">South Sudan</option>
<option value="152">Spain</option>
<option value="153">Sri Lanka</option>
<option value="154">Sudan</option>
<option value="155">Suriname</option>
<option value="156">Swaziland</option>
<option value="157">Sweden</option>
<option value="158">Switzerland</option>
<option value="159">Syrian Arab Republic</option>
<option value="160">Tajikistan</option>
<option value="161">Thailand</option>
<option value="162">
The former Yugoslav republic of Macedonia
</option>
<option value="163">Timor-Leste</option>
<option value="164">Togo</option>
<option value="165">Tonga</option>
<option value="166">Trinidad and Tobago</option>
<option value="167">Tunisia</option>
<option value="168">Turkey</option>
<option value="169">Turkmenistan</option>
<option value="170">Tuvalu</option>
<option value="171">Uganda</option>
<option value="172">Ukraine</option>
<option value="173">United Arab Emirates</option>
<option value="174">
United Kingdom of Great Britain and Northern Ireland
</option>
<option value="175">United Republic of Tanzania</option>
<option value="176">United States of America</option>
<option value="177">Uruguay</option>
<option value="178">Uzbekistan</option>
<option value="179">Vanuatu</option>
<option value="180">Venezuela</option>
<option value="181">Viet Nam</option>
<option value="182">Yemen</option>
<option value="183">Zambia</option>
<option value="184">Zimbabwe</option>
</select>
</div>
<label class="heading" for="Year">Year:</label>
<input required type="number" step="0.01" id="Year" name="Year" />
<br />
<label class="heading" for="Status">Status:</label>
<select id="Status" name="Status">
<option value="0">Developing</option>
<option value="1">Developed</option>
</select>
<br />
<label class="heading" for="Adult Mortality"
>Adult Mortality (Probability of dying between 15 and 60 years per
1000 population):</label
>
<input
required
type="number"
step="0.01"
id="Adult Mortality"
name="Adult Mortality"
/>
<br />
<label class="heading" for="Infant Deaths"
>Infant Deaths (No. of Infant Deaths per 1000 population):</label
>
<input
required
type="number"
step="0.01"
id="Infant Deaths"
name="Infant Deaths"
/>
<br />
<label class="heading" for="Alcohol"
>Alcohol (recorded per capita (15+) consumption, in litres of pure
alcohol):</label
>
<input required type="number" step="0.01" id="Alcohol" name="Alcohol" />
<br />
<label class="heading" for="Percentage Expenditure"
>Percentage Expenditure (Expenditure on health as a percent of Gross
Domestic Product per capita):</label
>
<input
required
type="number"
step="0.01"
id="Percentage Expenditure"
name="Percentage Expenditure"
/>
<br />
<label class="heading" for="Hepatitis B"
>Hepatitis B (Immunization coverage among 1-year-olds %):</label
>
<input
required
type="number"
step="0.01"
id="Hepatitis B"
name="Hepatitis B"
/>
<br />
<label class="heading" for="Measles"
>Measles (No. of reported cases per 1000 population):</label
>
<input required type="number" step="0.01" id="Measles" name="Measles" />
<br />
<label class="heading" for="BMI"
>BMI (Average Body Mass Index of entire population):</label
>
<input required type="number" step="0.01" id="BMI" name="BMI" />
<br />
<label class="heading" for="Under-Five Deaths"
>Under-Five Deaths (No. of under-five deaths per 1000
population):</label
>
<input
required
type="number"
step="0.01"
id="Under-Five Deaths"
name="Under-Five Deaths"
/>
<br />
<label class="heading" for="Polio"
>Polio (immunization coverage among 1-year-olds %):</label
>
<input required type="number" step="0.01" id="Polio" name="Polio" />
<br />
<label class="heading" for="Total expenditure"
>Total expenditure (General government expenditure on health as a
percent of total government expenditure %):</label
>
<input
required
type="number"
step="0.01"
id="Total expenditure"
name="Total expenditure"
/>
<br />
<label class="heading" for="Diphtheria"
>Diphtheria (Immunization coverage among 1-year-olds %):</label
>
<input
required
type="number"
step="0.01"
id="Diphtheria"
name="Diphtheria"
/>
<br />
<label class="heading" for="HIV/AIDS"
>HIV/AIDS (Deaths per 1 000 live births HIV/AIDS, 0-4 years):</label
>
<input
required
type="number"
step="0.01"
id="HIV/AIDS"
name="HIV/AIDS"
/>
<br />
<label class="heading" for="GDP"
>GDP (Gross Domestic Product per capital, in USD):</label
>
<input required type="number" step="0.01" id="GDP" name="GDP" />
<br />
<label class="heading" for="Population">Population:</label>
<input
required
type="number"
step="0.01"
id="Population"
name="Population"
/>
<br />
<label class="heading" for="Thinness 1-19 years"
>Thinness 10-19 years (Prevalence of thinness among children and
adolescents for Age 10 to 19 %):</label
>
<input
required
type="number"
step="0.01"
id="Thinness 1-19 years"
name="Thinness 1-19 years"
/>
<br />
<label class="heading" for="Thinness 5-9 years"
>Thinness 5-9 years (Prevalence of thinness among children for Age 5
to 9 %):</label
>
<input
required
type="number"
step="0.01"
id="Thinness 5-9 years"
name="Thinness 5-9 years"
/>
<br />
<label class="heading" for="Income composition of resources"
>Income composition of resources:</label
>
<input
required
type="number"
step="0.01"
id="Income composition of resources"
name="Income composition of resources"
/>
<br />
<label class="heading" for="Schooling"
>Schooling (No. of years of Schooling):</label
>
<input
required
type="number"
step="0.01"
id="Schooling"
name="Schooling"
/>
<br />
<input class="button" type="submit" value="Predict" />
<h1 class="result">{{ prediction }}</h1>
</form>
</div>
</body>
</html>
|