forked from harrypotter0/breast-cancer-classifier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
model.py
31 lines (29 loc) · 1.08 KB
/
model.py
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
from wtforms import Form, FloatField, validators
class InputForm(Form):
a = FloatField(
label='Clump Thickness', default=1,
validators=[validators.InputRequired()])
b = FloatField(
label='Uniformity of Cell Size', default=1,
validators=[validators.InputRequired()])
c = FloatField(
label='Uniformity of Cell Shape', default=1,
validators=[validators.InputRequired()])
d = FloatField(
label='Marginal Adhesion', default=1,
validators=[validators.InputRequired()])
e = FloatField(
label='Single Epithelial Cell Size', default=1,
validators=[validators.InputRequired()])
z = FloatField(
label='Bare Nuclei', default=1,
validators=[validators.InputRequired()])
g = FloatField(
label='Bland Chromatin', default=1,
validators=[validators.InputRequired()])
h = FloatField(
label='Normal Nucleoli', default=1,
validators=[validators.InputRequired()])
i = FloatField(
label='Mitoses', default=1,
validators=[validators.InputRequired()])