Jeysshon commited on
Commit
3f271bb
1 Parent(s): 3cc72c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -34
app.py CHANGED
@@ -14,7 +14,7 @@ class ADA_SKIN(object):
14
  # initialize the object
15
  def __init__(self, name="Wallaby",verbose=True,*args, **kwargs):
16
  super(ADA_SKIN, self).__init__(*args, **kwargs)
17
- self.author = "Duc Haba"
18
  self.name = name
19
  if (verbose):
20
  self._ph()
@@ -23,27 +23,7 @@ class ADA_SKIN(object):
23
  self._pp("Author is", self.author)
24
  self._ph()
25
  #
26
- self.article = '<div><h3>Warning:</h3>Do NOT use this for any medical diagnosis.<br>'
27
- self.article += 'I am not a dermatologist, and NO dermatologist has endorsed it. '
28
- self.article += 'This DL model is for my independent research. <br>Please refer to the GPL 3.0 for usage and license.'
29
- self.article += '<h3>Citation:</h3><ul><li>'
30
- self.article += 'Author/Dev: Duc Haba, 2022.</li>'
31
- self.article += '<li><a target="_blank" href="https://linkedin.com/in/duchaba">https://linkedin.com/in/duchaba</a></li>'
32
- self.article += '<li>The training dataset are from the International Skin Imaging Collaboration (ISIC)</li>'
33
- self.article += '<li>The Skin Cancer Identification are from 3 seperate datasets.</li>'
34
- self.article += '<ol>'
35
- self.article += '<li>https://www.kaggle.com/datasets/surajghuwalewala/ham1000-segmentation-and-classification</li>'
36
- self.article += '<li>https://www.kaggle.com/datasets/andrewmvd/isic-2019</li>'
37
- self.article += '<li>https://www.kaggle.com/datasets/jnegrini/skin-lesions-act-keratosis-and-melanoma</li>'
38
- self.article += '<ul><li>'
39
- self.article += 'The Malignant versus Benign dataset</li>'
40
- self.article += '<ol><li>https://www.kaggle.com/datasets/fanconic/skin-cancer-malignant-vs-benign</li>'
41
- self.article += '</ol></ul>'
42
- self.article += '<h3>Articles:</h3><ul>'
43
- self.article += '<li><a target="_blank" href="https://www.linkedin.com/pulse/skin-cancer-diagnose-using-deep-learning-duc-haba/">'
44
- self.article += '"Skin Cancer Diagnose"</a> on LinkedIn, on <a target="_blank" href='
45
- self.article += '"https://www.linkedin.com/pulse/skin-cancer-diagnose-using-deep-learning-duc-haba/">Medium.</a></li>'
46
- self.article += '</ul>'
47
  self.article += '<h3>Example Images: (left to right)</h3><ol>'
48
  self.article += '<li>Bowen Disease (AKIEC)</li>'
49
  self.article += '<li>Basal Cell Carcinoma</li>'
@@ -56,18 +36,6 @@ class ADA_SKIN(object):
56
  self.article += '<li>Benign</li>'
57
  self.article += '<li>Benign 2</li></ol>'
58
  self.article += '<h3>Train Result:</h3><ul>'
59
- self.article += '<li>Skin Cancer Classificaiton: F1-Score, Precision, and Recall Graph</li>'
60
- self.article += '<li><img src="file/ada_f1_skin.png" alt="F1-Score, Precision, and Recall Graph" width="640"</li>'
61
- self.article += '<li>Skin Cancer Malignant or Benign: F1-Score, Precision, and Recall Graph</li>'
62
- self.article += '<li><img src="file/ada_f1_skin_be.png" alt="F1-Score, Precision, and Recall Graph" width="640"</li>'
63
- self.article += '</ul>'
64
- self.article += '<h3>Dev Stack:</h3><ul>'
65
- self.article += '<li>Jupyter Notebook, Python, Pandas, Matplotlib, Sklearn</li>'
66
- self.article += '<li>Fast.ai, PyTorch</li>'
67
- self.article += '</ul>'
68
- self.article += '<h3>Licenses:</h3><ul>'
69
- self.article += '<li><a target="_blank" href="https://www.gnu.org/licenses/gpl-3.0.txt">GNU GPL 3.0</a></li>'
70
- self.article += '</ul></div>'
71
  self.examples = ['akiec1.jpg','bcc1.jpg','bkl1.jpg','df1.jpg','mel1.jpg',
72
  'nevi1.jpg','scc1.jpg','vl1.jpg','benign1.jpg','benign3.jpg']
73
  self.title = "Skin Cancer Diagnose"
 
14
  # initialize the object
15
  def __init__(self, name="Wallaby",verbose=True,*args, **kwargs):
16
  super(ADA_SKIN, self).__init__(*args, **kwargs)
17
+ self.author = "Jey"
18
  self.name = name
19
  if (verbose):
20
  self._ph()
 
23
  self._pp("Author is", self.author)
24
  self._ph()
25
  #
26
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  self.article += '<h3>Example Images: (left to right)</h3><ol>'
28
  self.article += '<li>Bowen Disease (AKIEC)</li>'
29
  self.article += '<li>Basal Cell Carcinoma</li>'
 
36
  self.article += '<li>Benign</li>'
37
  self.article += '<li>Benign 2</li></ol>'
38
  self.article += '<h3>Train Result:</h3><ul>'
 
 
 
 
 
 
 
 
 
 
 
 
39
  self.examples = ['akiec1.jpg','bcc1.jpg','bkl1.jpg','df1.jpg','mel1.jpg',
40
  'nevi1.jpg','scc1.jpg','vl1.jpg','benign1.jpg','benign3.jpg']
41
  self.title = "Skin Cancer Diagnose"