hodorfi commited on
Commit
8751494
·
1 Parent(s): 1386dbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -25
app.py CHANGED
@@ -5,7 +5,7 @@
5
  """
6
 
7
  import streamlit as st
8
-
9
 
10
  USER_GROUPS = ["Developer", "Manager", "Practitioner"]
11
 
@@ -30,39 +30,33 @@ st.session_state['user_group'] = backend
30
  st.sidebar.title("About")
31
  st.sidebar.info(
32
  """
33
- Web App URL: <https://google.com>
34
- GitHub repository: <https://github.com/kaplansinan/streamlit-airamework>
 
35
  """
36
  )
37
 
38
  st.sidebar.title("Contact")
39
  st.sidebar.info(
40
  """
41
- Sinan Kaplan: <https://www.linkedin.com/in/kaplansinan>
42
- [GitHub](https://github.com/kaplansinan) | [LinkedIn](https://www.linkedin.com/in/kaplansinan)
43
  """
44
  )
45
 
46
  # Customize page title
47
- st.title("XAI Framework Application-OCT Image Analysis by Deep Learning")
48
 
49
 
50
  markdown1 = """
51
- The framework is created to briefly illustrate how to use the poposed framework in our paper. Hence, we demonstrate a case study,which aims to detect certain anomalies from Retinal OCT images.
52
 
53
- This system is developed to classifiy certain anamolies from OCT of retina images. Those anamolies are:
54
 
55
- 1. Choroidal Neovascularization (CNV): neovascular membrane and associated subretinal fluid (Choroidal Neovascularization (CNV) is a retinal disease,which is associated with the growth of
56
- abnormal blood vessels in the choroid layer, which lies between two other layers of tissue that make up the wall of the eye.
57
- These new blood vessels can cause fluid to accumulate beneath and within these layers, leading to vision loss.)
58
 
59
- 2. Diabetic Macular Edema (DME) : A retinal disease that appears as a result of diabetes in the retina. retinal-thickening-associated intraretinal fluid (arrows).Diabetic Macular Edema (DME) is a common complication of diabetes that affects the retina,
60
- which is responsible for central vision. DME occurs when fluid accumulates in and around the macula, causing retinal thickening and swelling.
61
- This can lead to impaired vision or even blindness if left untreated.)
62
-
63
- 3. Drusen is a condition accosiated with early AMD Age-Related Macular Degeneration (AMD) in the retina.
64
- 4. NORMAL(HEALTHY): A healthy retina,
65
 
 
66
 
67
  """
68
  st.markdown(markdown1)
@@ -75,13 +69,15 @@ st.markdown(markdown1)
75
  st.header("Framework Sections")
76
 
77
  markdown = """
78
- A different users can beenfit from this framework. The framework is divided into 4 different sections and each of them sheds a light at a different part of this AI application.
 
 
79
 
 
80
 
81
- 1. DATA PANEL:This section presents information regarding thedata in details.
82
- 2. MODEL PANEL: This section presents details regarding AI model.
83
- 3. PERFORMANCE EVALUATION PANEL: This panel hihglights the performance of the AI model over test set.
84
- 4. DECISION EXPLORATION: This section is decisgned to explore global and instance level explanations.
85
  """
86
 
87
  st.markdown(markdown)
@@ -91,10 +87,13 @@ st.markdown(markdown)
91
  st.header("How to Use the Framework")
92
 
93
  markdown = """
94
- To effectively use the framwork, please follow steps as instrcuted below:
 
 
 
 
95
 
96
- 1. On left sidebar under'USER GROUPS' choose user group
97
- 2. Start exploring any panel by clicking on them on the upper left corner. We suggest to follow the order as data-> model-> performance-> decision exploration.
98
  """
99
 
100
  st.markdown(markdown)
 
5
  """
6
 
7
  import streamlit as st
8
+ import streamlit.components.v1 as components
9
 
10
  USER_GROUPS = ["Developer", "Manager", "Practitioner"]
11
 
 
30
  st.sidebar.title("About")
31
  st.sidebar.info(
32
  """
33
+ Web App URL: <http://testxaiprod-xaiframeworkdemo.rahtiapp.fi/Decision_Exploration_Panel>
34
+
35
+ GitHub repository: <https://github.com/>
36
  """
37
  )
38
 
39
  st.sidebar.title("Contact")
40
  st.sidebar.info(
41
  """
42
+ John Doe and Jane Doe :[LinkedIn](https://www.linkedin.com/)
 
43
  """
44
  )
45
 
46
  # Customize page title
47
+ st.title("Explainable Artificial Intelligence Framework Case Study - Optical Coherence Tomography Image Analysis by Deep Learning")
48
 
49
 
50
  markdown1 = """
51
+ The proposed framework, as presented in our paper, aims to assist in the detection of selected anomalies from Retinal Optical Coherence Tomography (OCT) images. To illustrate the usage of the framework, we have developed a case study that focuses on identifying Choroidal Neovascularization (CNV), Diabetic Macular Edema (DME), Drusen, and normal/healthy retinal conditions.
52
 
53
+ 1. [Choroidal Neovascularization (CNV)](https://www.cell.com/cell/fulltext/S0092-8674(18)30154-5) is a type of retinal disease that involves the growth of abnormal blood vessels in the choroid layer of the eye. These new blood vessels can lead to fluid accumulation beneath and within the layers of tissue, causing vision loss.
54
 
55
+ 2. [Diabetic Macular Edema (DME)](https://www.cell.com/cell/fulltext/S0092-8674(18)30154-5) is a common complication of diabetes that affects the retina responsible for central vision. This condition occurs when fluid accumulates in and around the macula, leading to retinal thickening and swelling, which can result in impaired vision or blindness if left untreated.
 
 
56
 
57
+ 3. [Drusen](https://www.cell.com/cell/fulltext/S0092-8674(18)30154-5) is a condition associated with early Age-related Macular Degeneration (AMD) in the retina. It involves the accumulation of small deposits of liquid material in the retina, which can lead to vision problems.
 
 
 
 
 
58
 
59
+ 4. Finally, the framework includes a classification model for NORMAL or healthy retina, providing a baseline for comparison with the aforementioned anomalies.
60
 
61
  """
62
  st.markdown(markdown1)
 
69
  st.header("Framework Sections")
70
 
71
  markdown = """
72
+ The framework consists of four distinct sections, each focusing on a different aspect of the Artificial Intelligence(AI) application.
73
+
74
+ 1. The Data Panel provides comprehensive information about the data used in the framework, including the sources, pre-processing techniques, and any relevant characteristics.
75
 
76
+ 2. The Model Panel offers insights into the AI model used in the framework, including its architecture, parameters, and training procedures.
77
 
78
+ 3. The Performance Evaluation Panel can be used to analyze and report on the performance of the AI model over a test set, providing detailed metrics and visualization of results.
79
+
80
+ 4. Finally, the Decision Exploration section is designed to explore global and instance-level explanations of the AI model's decision-making process.
 
81
  """
82
 
83
  st.markdown(markdown)
 
87
  st.header("How to Use the Framework")
88
 
89
  markdown = """
90
+ To utilize the framework efficiently, following the instructions below should be helpful:
91
+
92
+ 1. Navigate to the left sidebar and select a user group from the available options.
93
+
94
+ 2. Begin exploring the framework by clicking on the different panels, which are located in the upper left corner of the screen.
95
 
96
+ It is recommend to follow the order of Data Panel, Model Panel, Performance Evaluation Panel, and Decision Exploration Panel to ensure a systematic understanding of the framework's functionality.
 
97
  """
98
 
99
  st.markdown(markdown)