achmaddhani commited on
Commit
8526c3f
·
1 Parent(s): bd15546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  '''
2
- Phase 2 Graded Challenge 1
3
 
4
  Nama : Achmad Dhani
5
 
@@ -18,11 +18,11 @@ page = st.sidebar.selectbox(label='Select Page:', options=['Home Page', 'Explora
18
  if page == 'Home Page':
19
  st.header('Home Page')
20
  st.write('')
21
- st.write('Phase 1 Milestone 2')
22
  st.write('Name : Achmad Dhani')
23
  st.write('Batch : HCK-009')
24
  st.markdown('Dataset: [Emotion Dataset](https://www.kaggle.com/datasets/abdallahwagih/emotion-dataset)')
25
- st.write('Objective :')
26
  st.write('')
27
  st.caption('Please pick the options in the Select Page Box located on the left of the screen to start!')
28
  st.write('')
@@ -45,6 +45,7 @@ if page == 'Home Page':
45
  with st.expander("Conclusion"): # conclusion
46
  st.caption(
47
  '''
 
48
  '''
49
  )
50
 
 
1
  '''
2
+ Phase 2 Graded Challenge 7
3
 
4
  Nama : Achmad Dhani
5
 
 
18
  if page == 'Home Page':
19
  st.header('Home Page')
20
  st.write('')
21
+ st.write('Phase 2 Graded Challenge 7')
22
  st.write('Name : Achmad Dhani')
23
  st.write('Batch : HCK-009')
24
  st.markdown('Dataset: [Emotion Dataset](https://www.kaggle.com/datasets/abdallahwagih/emotion-dataset)')
25
+ st.write('Objective : Mental health is important and a lot of people either doubt or confused regarding in what they are feeling. Validation helps as a reassurance for a lot of people, giving them affirmation by knowing that others shares those same feelings. Employing NLP machine learning with high accuracy will efficiently classify emotions in the hopes to make a person's day a brighter.')
26
  st.write('')
27
  st.caption('Please pick the options in the Select Page Box located on the left of the screen to start!')
28
  st.write('')
 
45
  with st.expander("Conclusion"): # conclusion
46
  st.caption(
47
  '''
48
+ The dataset is well maintained and has a balance target class. EDA shows that most people are quite concise when it comes to expressing their feelings, only a few whom can write really long and be more open about what they feel. Life, good, day, something, going and well are words that are most often expressed when people describe a joyful experience. Would, even, way, think, and angry are words that's the most often expressed when a person is mad. Still, bit, strange, ank think are words that is most often expressed when a person describing a fearful experience. Anger and fear are a special case. Anger words such as 'would' and 'even' is an auxillary verb that indicates a mood or tense. Fear is a broad emotion where it can classify into fear of the unknown that involes anxiety and fear as if being scared or teriffied, giving goosebumps. The best model uses LSTM network with 93% accuracy. There still seems to be a lot of noise therefor, focusing on preprocessing such as adding more stopwords could help the model learn patterns more accurately in the future.
49
  '''
50
  )
51