Praneeth2606 commited on
Commit
df91be5
Β·
verified Β·
1 Parent(s): faffe02

Upload 3 files

Browse files
Files changed (3) hide show
  1. app.py +37 -0
  2. demo.pkl +3 -0
  3. requirements.txt +4 -0
app.py ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ # Page Title
4
+ st.title("🧠 Student Depression Classification")
5
+
6
+ # Subheader
7
+ st.subheader("Welcome to my Machine Learning Project!")
8
+
9
+ # Introduction
10
+ st.markdown("""
11
+ πŸ“Œ **Project Introduction:**
12
+ This application predicts whether a student is likely to experience depression based on academic, psychological, and lifestyle factors.
13
+
14
+ The model is trained using a **K-Nearest Neighbors (KNN)** Classifier and deployed through an interactive **Streamlit web interface**.
15
+
16
+ This project demonstrates the real-world application of machine learning for mental health prediction and awareness.
17
+ """)
18
+
19
+ # Overview
20
+ st.markdown("""
21
+ πŸ“š **Project Overview:**
22
+ - Built using **Python**, **Pandas**, **Scikit-learn**, and **Streamlit**
23
+ - Machine Learning Algorithm: **K-Nearest Neighbors (KNN) Classifier**
24
+ - Trained on a cleaned and preprocessed student mental health dataset
25
+ - Includes data cleaning, encoding, scaling, and model evaluation
26
+ """)
27
+
28
+ # Author
29
+ st.markdown("""
30
+ πŸ‘¨β€πŸ’» **Project by:**
31
+ **Sai Praneeth Marripelli**
32
+ Postgraduate MCA Student
33
+ **Nizam College, Osmania University**
34
+ """)
35
+
36
+ if st.button("Next"):
37
+ st.switch_page("pages/1 Problem Statement.py")
demo.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:013b1257c3612ccfb256ea0cb34e0947bffa7e2bb96a1421f7dd99c82bab8f7d
3
+ size 2339007
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ streamlit
2
+ scikit-learn
3
+ pandas
4
+ numpy