Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
22_23-J 52
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
22_23-J 52
22_23-J 52
Commits
4bd2ea19
Commit
4bd2ea19
authored
May 19, 2023
by
J D N S De Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stroke Predict Frontend
parent
0a68f426
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
0 deletions
+85
-0
stroke_predict.html
stroke_predict.html
+85
-0
No files found.
stroke_predict.html
0 → 100644
View file @
4bd2ea19
{% extends 'base.html' %}
{% block main %}
<div
style=
"margin-left: 5%;margin-top: 2%;margin-right: 5%;"
>
<h2>
Predict Stroke
</h2>
</div>
<form
method=
"post"
action=
"{{ url_for('predictStroke') }}"
style=
"margin-left: 5%;margin-right: 5%;margin-bottom: 5%;"
>
<div
class=
"form-group"
>
<label>
Gender
</label>
<select
class=
"form-control"
id=
"gender"
name=
"gender"
>
<option
value=
"0"
>
Male
</option>
<option
value=
"1"
>
Female
</option>
<option
value=
"2"
>
Other
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
Age
</label>
<select
class=
"form-control"
id=
"age"
name=
"age"
>
{% for i in range(1, 101) %}
<option
value=
"{{ i }}"
>
{{ i }}
</option>
{% endfor %}
</select>
</div>
<div
class=
"form-group"
>
<label>
Hypertension
</label>
<select
class=
"form-control"
id=
"hypertension"
name=
"hypertension"
>
<option
value=
"0"
>
No
</option>
<option
value=
"1"
>
Yes
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
Previous Heart Disease?
</label>
<select
class=
"form-control"
id=
"heart_disease"
name=
"heart_disease"
>
<option
value=
"0"
>
No
</option>
<option
value=
"1"
>
Yes
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
Marital Status
</label>
<select
class=
"form-control"
id=
"ever_married"
name=
"ever_married"
>
<option
value=
"0"
>
No
</option>
<option
value=
"1"
>
Yes
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
What is you work type?
</label>
<select
class=
"form-control"
id=
"work_type"
name=
"work_type"
>
<option
value=
"0"
>
Self-employed
</option>
<option
value=
"1"
>
Private
</option>
<option
value=
"2"
>
Government
</option>
<option
value=
"3"
>
Child
</option>
<option
value=
"4"
>
Not employed
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
What is your recidance type?
</label>
<select
class=
"form-control"
id=
"Residence_type"
name=
"Residence_type"
>
<option
value=
"0"
>
Rural
</option>
<option
value=
"1"
>
Urban
</option>
</select>
</div>
<div
class=
"form-group"
>
<label>
Avarage lucose level
</label>
<input
type=
"number"
step=
"0.01"
name=
"avg_glucose_level"
class=
"form-control"
/>
</div>
<div
class=
"form-group"
>
<label>
BMI value
</label>
<input
type=
"number"
step=
"0.01"
name=
"bmi"
class=
"form-control"
/>
</div>
<div
class=
"form-group"
>
<label>
Do you smoke?
</label>
<select
class=
"form-control"
id=
"smoking_status"
name=
"smoking_status"
>
<option
value=
"0"
>
Smokes
</option>
<option
value=
"1"
>
Never smoked
</option>
<option
value=
"2"
>
Formely smoked
</option>
<option
value=
"3"
>
Unknown
</option>
</select>
</div>
<button
type=
"submit"
class=
"btn btn-primary"
>
Submit
</button>
</form>
{% endblock %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment