Parthebhan commited on
Commit
a8f16fe
·
verified ·
1 Parent(s): 6a2c0e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -62,7 +62,15 @@ cerviccancer_ga = gr.Interface(fn=cerviccancer,
62
  gr.Number(0.0, 1.0, label="Schiller: [0 or 1]"),
63
  gr.Number(0.0, 1.0, label="Citology: [0 or 1]")
64
  ],
65
- outputs="text", title="Cervical Cancer Risk Prediction",
 
 
 
 
 
 
 
 
66
  description="Predicting probability of Biopsy Using Machine Learning.\n\n Associated Data: \n\nData of Cervical cancer Availability Statement: dataset was obtained from the open-access Cervical cancer (Risk Factors) Data Set database of Cervical Cancer Risk Factors for Biopsy and are available at https://archive.ics.uci.edu/ml/datasets/Cervical+cancer+%28Risk+Factors%29 (accessed on 24 March 2022).\n\nDeveloped by: Parthebhan Pari \n\n Developed on: Apl 2024",
67
  theme='dark'
68
  )
 
62
  gr.Number(0.0, 1.0, label="Schiller: [0 or 1]"),
63
  gr.Number(0.0, 1.0, label="Citology: [0 or 1]")
64
  ],
65
+ outputs="text", title="Cervical Cancer Risk Prediction",
66
+ examples = [
67
+ [33, 2, 24, 2, 0, 0, 0, 1, 0.08, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
68
+ [29, 2, 20, 1, 0, 0, 0, 1, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
69
+ [21, 1, 17, 2.2, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0],
70
+ [33, 3, 18, 2, 0.14, 1.21, 0.45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1],
71
+ [20, 3, 17, 2, 0, 0, 0, 1, 0.25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
72
+ [30, 1, 17, 3, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0]
73
+ ],
74
  description="Predicting probability of Biopsy Using Machine Learning.\n\n Associated Data: \n\nData of Cervical cancer Availability Statement: dataset was obtained from the open-access Cervical cancer (Risk Factors) Data Set database of Cervical Cancer Risk Factors for Biopsy and are available at https://archive.ics.uci.edu/ml/datasets/Cervical+cancer+%28Risk+Factors%29 (accessed on 24 March 2022).\n\nDeveloped by: Parthebhan Pari \n\n Developed on: Apl 2024",
75
  theme='dark'
76
  )