-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmodel_class.py
60 lines (46 loc) · 1.96 KB
/
model_class.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
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
#from flask_wtf import FlaskForm
#from wtforms import StringField, SubmitField
"""
class DiabetesCheck(FlaskForm):
pregnancies = StringField("Pregnancies")
glucose = StringField("Glucose")
pregnancies = StringField("BloodPressure")
glucose = StringField("SkinThickness")
pregnancies = StringField("Insulin")
bmi = StringField("BMI")
diabetesPedigreeFunction = StringField("DiabetesPedigreeFunction")
age = StringField("Age")
submit= SubmitField("Check It !")
class CancerCheck(FlaskForm):
radius_mean = StringField("'Radius_mean'")
texture_mean = StringField("Texture_mean")
perimeter_mean = StringField("Perimeter_mean")
area_mean = StringField("Area_mean")
smoothness_mean = StringField("Smoothness_mean")
compactness_mean = StringField("Compactness_mean")
concavity_mean = StringField("Concavity_mean")
concave_points_mean = StringField("concave points_mean")
symmetry_mean = StringField("symmetry_mean")
fractal_dimension_mean = StringField("fractal_dimension_mean")
radius_se = StringField("radius_se")
texture_se = StringField("texture_se")
perimeter_se = StringField("perimeter_se")
area_se = StringField("area_se")
smoothness_se = StringField("smoothness_se")
compactness_se = StringField("compactness_se")
concavity_se = StringField("concavity_se")
concave_points_se = StringField("concave points_se")
smoothness_se = StringField("symmetry_se")
fractal_dimension_se = StringField("fractal_dimension_se")
radius_worst = StringField("radius_worst")
texture_worst = StringField("texture_worst")
parameter_worst = StringField("perimeter_worst")
area_worst = StringField("area_worst")
smoothness_worst = StringField("smoothness_worst")
compactness_worst = StringField("compactness_worst")
concavity_worst = StringField("concavity_worst")
concave_points_worst = StringField("concave points_worst")
symmetry_worst = StringField("symmetry_worst")
fractal_dimension_worst = StringField("fractal_dimension_worst")
submit= SubmitField("Check It !")
"""