Varun-L commited on
Commit
a52eb71
Β·
1 Parent(s): 988d30b

description article

Browse files
Files changed (3) hide show
  1. .gitignore +2 -1
  2. algo.py +48 -0
  3. app.py +3 -2
.gitignore CHANGED
@@ -1 +1,2 @@
1
- hha
 
 
1
+ hha
2
+ *.pyc
algo.py CHANGED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ description="""
3
+ <h2>Purpose</h2>
4
+ <p>This application is a Hearing Health Risk Assessment Tool. It uses a Lasso regression model trained on a dataset of hearing health indicators to predict the risk of hearing loss.
5
+ The model achieved an accuracy of 87 percent accuracy during testing.
6
+ The tool takes various inputs such as age, gender, and specific health indicators, and provides a risk assessment and recommendation based on the model's prediction.</p>
7
+
8
+ <h4>Developed by:</h4>
9
+ <ul>
10
+ <h4><li>Dr. Kanipakam Sunitha, Assistant Professor, Department of Law, SPMVV, Tirupati</li></h4>
11
+ <h4><li>Dr. N.V. Muthu Lakshmi, SPMVV, Tirupati</li></h4>
12
+ </ul>
13
+ <h5>Financial Support by DST-CURIE Artificial Intelligence Centre, SPMVV, Tirupati</h5>
14
+ <h4>Technical Support by Venkata Viswanath L</h4>
15
+
16
+ <h2>Description</h2>
17
+ <p>The initial dataset used for the project contained various features such as gender, age, parental education, hearing loss percentage, and several health indicators. The data was cleaned, unnecessary columns were removed, and categorical data was converted to numeric for model training. Multiple regression techniques were tested, including linear regression, decision trees, random forest, Lasso regression, and Support Vector regression. Lasso regression performed the best, achieving a maximum accuracy of 87%.</p>
18
+
19
+ <p>The tool is designed to be user-friendly, with a simple interface for inputting information and receiving the risk assessment and recommendations. It serves as a valuable resource for assessing hearing health risks and taking necessary precautions or treatments. However, it's important to consult with a healthcare professional for a comprehensive evaluation. This tool is intended to supplement, not replace, professional medical advice.</p>
20
+ <hr>
21
+ """
22
+
23
+
24
+
25
+ article = r"""
26
+ πŸ“ **How to Cite Our Work**
27
+ <br>
28
+ If our work is beneficial for your research, please consider citing:
29
+ ```bibtex
30
+ @article{VLHearingHealthAssessmentTool,
31
+ title={Hearing Health Assessment Tool: A Tool for Assessing the risk of hearing loss based on various health indicators},
32
+ author={Dr. Kanipakam Sunitha and Dr. N.V. Muthu Lakshmi},
33
+ year={2024}
34
+ }
35
+ ```
36
+ <br>
37
+ πŸ“‹ License Information
38
+ <br> The Code is licensed under cc-by-4.0 License. <br>
39
+
40
+ <h2>Developed by</h2>
41
+ <p>The project was led by Principal Investigator <b>Dr. Kanipakam Sunitha,</b> Assistant Professor at the Dept. of Law, SPMVV, Tirupati, and Co-Principal Investigator <b>Dr. N.V. Muthu Lakshmi,</b> Assistant Professor at the same institution. The project received financial support from the DST-CURIE-AI Center.</p>
42
+
43
+ <br>
44
+
45
+ πŸ“§ Get in Touch
46
+ <br>
47
+ If you have any queries, please feel free to contact Venkata Viswanath at <b>[email protected]</b>.
48
+ """
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  import pandas as pd
3
  from sklearn.linear_model import Lasso
4
  from sklearn.model_selection import train_test_split
 
5
 
6
  # Load the data
7
  data = pd.read_csv('hearing.csv')
@@ -66,8 +67,8 @@ interface = gr.Interface(
66
  theme="gradio/monochrome",
67
  allow_flagging=False,
68
  css="footer {display: none !important}",
69
- article=article
70
- description="Input the information to assess the risk of hearing health issues."
71
  )
72
 
73
  interface.launch()
 
2
  import pandas as pd
3
  from sklearn.linear_model import Lasso
4
  from sklearn.model_selection import train_test_split
5
+ from algo import description, article
6
 
7
  # Load the data
8
  data = pd.read_csv('hearing.csv')
 
67
  theme="gradio/monochrome",
68
  allow_flagging=False,
69
  css="footer {display: none !important}",
70
+ article=article,
71
+ description=description
72
  )
73
 
74
  interface.launch()