-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
71 lines (57 loc) · 2.71 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Insurance Web Application</title>
<meta charset="utf-8">
<meta name="author" content="AnikeSadia">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" href="static/AppStyle.css">
</head>
<body>
<div class="model_desc">
<h2> Model Description </h2><br>
<p>This web application is an insurance charges prediction system. The aim of this project is to predict individuals medical insurance charges in dollars based on their status.</p>
<p>After inputting the corresponding data, a predicted insurance charges is displayed.<br><br>The Body Mass Index (BMI) is a measure of body fat based on height and weight.<br><br> BMI= m/h ²
, m = mass (in Kilogram) and h = height (in meters).
</p>
</div>
<div class="data_part">
<div class="model_desc2">
<h2>Model Description</h2><br>
<p>This web application is an insurance charges prediction system.</p>
<p>The aim of this project is to predict individuals insurance charges in dollars based on their status.</p>
<p>After inputting the corresponding data, a predicted insurance charges is displayed.<br><br>The Body Mass Index (BMI) is a measure of body fat based on height and weight.<br><br> BMI= m/h ²
, m = mass (in Kilogram) and h = height (in meters).
</p>
</div>
<h1>CHARGES PREDICTION</h1>
<form action="{{url_for('predict')}}" method="post">
<input class="Input" type="text" name="age" placeholder="Enter your age" required/>
<select name="comp_select" class="Input">
{% for o in data %}
<option value="{{ o.gender }}">{{ o.gender }}</option>
{% endfor %}
</select><br><br>
<input class="Input" type="text" name="bmi" placeholder="Enter your BMI score" required/>
<select name="comp_select1" class="Input">
{% for o in data1 %}
<option value="{{ o.noc }}">{{ o.noc }}</option>
{% endfor %}
</select><br><br>
<select name="comp_select2" class="Input">
{% for o in data2 %}
<option value="{{ o.smoke }}">{{ o.smoke }}</option>
{% endfor %}
</select>
<select name="comp_select3" class="Input">
{% for o in data3 %}
<option value="{{ o.region }}">{{ o.region }}</option>
{% endfor %}
</select><br><br>
<button type="submit" class="pred-btn"> Predict </button>
</form>
<h3> {{prediction_text}} </h3>
</div>
</body>
</html>