Penguni commited on
Commit
ecb4d7f
1 Parent(s): e0c0cbd

Upload 41 files

Browse files
Files changed (3) hide show
  1. README.md +1 -11
  2. main.py +6 -6
  3. requirements.txt +85 -9
README.md CHANGED
@@ -1,12 +1,2 @@
1
- ---
2
- license: apache-2.0
3
- title: Student System
4
- sdk: streamlit
5
- sdk_version: 1.24.0
6
- emoji: 📚
7
- colorFrom: green
8
- colorTo: red
9
- app_file: main.py
10
- ---
11
  # Analyze-and-predict-student-performance
12
- Link to web-app: https://itdsiu19001-analyze-and-predict-student-performance-main-oiibq6.streamlit.app/
 
 
 
 
 
 
 
 
 
 
 
1
  # Analyze-and-predict-student-performance
2
+ Link to web-app: https://itdsiu19001-analyze-and-predict-student-performance-main-oiibq6.streamlit.app/
main.py CHANGED
@@ -84,7 +84,7 @@ with col1:
84
 
85
  with col2:
86
  st.markdown(
87
- "<h1 style='text-align: center;'>TRUONG QUOC AN'S THESIS</h1>",
88
  unsafe_allow_html=True,
89
  )
90
 
@@ -144,7 +144,7 @@ def score_table_for_student():
144
 
145
  st.sidebar.image(im3)
146
  st.sidebar.title("Student Performance Prediction System")
147
- option = ["Dashboard","Prediction Performance", "Grade Distribution Tables"]
148
 
149
  tabs = st.sidebar.selectbox("Select an option", option)
150
 
@@ -360,7 +360,7 @@ if tabs == "Dashboard":
360
  )
361
 
362
  fig.update_layout(
363
- title="Frequency Range for {}".format(course),
364
  xaxis_title="Score",
365
  yaxis_title="Percentage",
366
  height=400,
@@ -465,7 +465,7 @@ if tabs == "Dashboard":
465
  )
466
 
467
  fig.update_layout(
468
- title="Frequency Range for {}".format(course),
469
  xaxis_title="Score",
470
  yaxis_title="Percentage",
471
  height=400,
@@ -537,7 +537,7 @@ elif tabs == "Prediction Performance":
537
 
538
  clear_resources()
539
 
540
- raw_data = pd.read_csv("All_major.csv")
541
  raw_data["DTBTKH4"] = raw_data["DTBTK"]/25
542
  df=raw_data.copy()
543
  df["MaSV_school"] = df["MaSV"].str.slice(2, 4)
@@ -825,7 +825,7 @@ elif tabs == "Grade Distribution Tables":
825
  )
826
 
827
  fig.update_layout(
828
- title="Frequency Range",
829
  xaxis_title="Score",
830
  yaxis_title="Percentage",
831
  height=400,
 
84
 
85
  with col2:
86
  st.markdown(
87
+ "<h1 style='text-align: center;'>Student Performance Evaluation</h1>",
88
  unsafe_allow_html=True,
89
  )
90
 
 
144
 
145
  st.sidebar.image(im3)
146
  st.sidebar.title("Student Performance Prediction System")
147
+ option = ["Prediction Performance","Dashboard", "Grade Distribution Tables"]
148
 
149
  tabs = st.sidebar.selectbox("Select an option", option)
150
 
 
360
  )
361
 
362
  fig.update_layout(
363
+ title="Histogram of {}".format(course),
364
  xaxis_title="Score",
365
  yaxis_title="Percentage",
366
  height=400,
 
465
  )
466
 
467
  fig.update_layout(
468
+ title="Histogram of {}".format(course),
469
  xaxis_title="Score",
470
  yaxis_title="Percentage",
471
  height=400,
 
537
 
538
  clear_resources()
539
 
540
+ raw_data = score_table_for_student()
541
  raw_data["DTBTKH4"] = raw_data["DTBTK"]/25
542
  df=raw_data.copy()
543
  df["MaSV_school"] = df["MaSV"].str.slice(2, 4)
 
825
  )
826
 
827
  fig.update_layout(
828
+ title="Histogram of {}".format(course),
829
  xaxis_title="Score",
830
  yaxis_title="Percentage",
831
  height=400,
requirements.txt CHANGED
@@ -1,10 +1,86 @@
1
- numpy
2
- Cython==0.29.21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  scikit-learn==1.2.2
4
- pandas
5
- plotly
6
- scipy
7
- pyDOE
8
- openpyxl
9
- matplotlib
10
- joblib==1.2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ alembic==1.11.1
2
+ altair==5.0.1
3
+ async-generator==1.10
4
+ attrs==23.1.0
5
+ blinker==1.6.2
6
+ cachetools==5.3.1
7
+ cdsdashboards==0.6.3
8
+ certifi==2023.5.7
9
+ certipy==0.1.3
10
+ cffi==1.15.1
11
+ charset-normalizer==3.1.0
12
+ click==8.1.3
13
+ colorama==0.4.6
14
+ cryptography==41.0.1
15
+ decorator==5.1.1
16
+ filelock==3.12.2
17
+ ftfy==6.1.1
18
+ gitdb==4.0.10
19
+ GitPython==3.1.31
20
+ greenlet==2.0.2
21
+ idna==3.4
22
+ importlib-metadata==6.6.0
23
+ Jinja2==3.1.2
24
+ joblib==1.2.0
25
+ jsonschema==4.17.3
26
+ jupyter-telemetry==0.1.0
27
+ jupyterhub==4.0.1
28
+ Mako==1.2.4
29
+ markdown-it-py==3.0.0
30
+ MarkupSafe==2.1.3
31
+ mdurl==0.1.2
32
+ mpmath==1.3.0
33
+ networkx==3.1
34
+ numpy==1.24.3
35
+ oauthlib==3.2.2
36
+ packaging==23.1
37
+ pandas==2.0.2
38
+ pi==0.1.2
39
+ Pillow==9.5.0
40
+ plotly==5.15.0
41
+ pluggy==1.2.0
42
+ prometheus-client==0.17.0
43
+ protobuf==4.23.3
44
+ psutil==5.9.5
45
+ pyarrow==12.0.1
46
+ pycparser==2.21
47
+ pydeck==0.8.1b0
48
+ pyforest==1.1.0
49
+ Pygments==2.15.1
50
+ Pympler==1.0.1
51
+ pyOpenSSL==23.2.0
52
+ pyrsistent==0.19.3
53
+ python-dateutil==2.8.2
54
+ python-json-logger==2.0.7
55
+ pytz==2023.3
56
+ pytz-deprecation-shim==0.1.0.post0
57
+ regex==2023.6.3
58
+ requests==2.31.0
59
+ rich==13.4.2
60
+ ruamel.yaml==0.17.32
61
+ ruamel.yaml.clib==0.2.7
62
  scikit-learn==1.2.2
63
+ scipy==1.11.0
64
+ six==1.16.0
65
+ smmap==5.0.0
66
+ SQLAlchemy==2.0.17
67
+ streamlit==1.24.1
68
+ sympy==1.12
69
+ tenacity==8.2.2
70
+ threadpoolctl==3.1.0
71
+ toml==0.10.2
72
+ toolz==0.12.0
73
+ torch==2.0.1
74
+ torchvision==0.15.2
75
+ tornado==6.3.2
76
+ tqdm==4.65.0
77
+ traitlets==5.9.0
78
+ typing_extensions==4.6.3
79
+ tzdata==2023.3
80
+ tzlocal==4.3
81
+ urllib3==2.0.3
82
+ validators==0.20.0
83
+ virtualbox==2.1.1
84
+ watchdog==3.0.0
85
+ wcwidth==0.2.6
86
+ zipp==3.15.0