Spaces:
Sleeping
Sleeping
Update stages/eda_based_on_problem_statement.py
Browse files
stages/eda_based_on_problem_statement.py
CHANGED
|
@@ -1,6 +1,35 @@
|
|
| 1 |
-
import streamlit as st
|
| 2 |
-
|
| 3 |
-
def main():
|
| 4 |
-
st.title("EDA Based
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
def main():
|
| 4 |
+
st.title("**:mag: Step 5: EDA Based on Problem Statement**")
|
| 5 |
+
|
| 6 |
+
st.markdown("""
|
| 7 |
+
### **Welcome to Advanced Exploratory Data Analysis (EDA)** :rocket:
|
| 8 |
+
|
| 9 |
+
Data exploration isn't just about graphs and stats; it's about uncovering secrets hidden in your data! :male-detective: Whether you're working on sentiment analysis or machine translation, the way you approach EDA varies.
|
| 10 |
+
|
| 11 |
+
Think of it as detective work-every dataset has a story to tell, and it's your job to uncover it. Let's dive in! :tada:
|
| 12 |
+
""")
|
| 13 |
+
|
| 14 |
+
# Fun-fact
|
| 15 |
+
st.markdown(""":bulb: **Did you know?**
|
| 16 |
+
Stopwords (like 'the', 'and', 'is') are essential for translation but often useless for sentiment analysis. Context is everything! :man-shrugging: :earth_africa:
|
| 17 |
+
""")
|
| 18 |
+
|
| 19 |
+
st.markdown("""
|
| 20 |
+
### **Why Does EDA Change Based on the Problem?** :brain:
|
| 21 |
+
- In **Sentiment Analysis**, you're looking for patterns in emotions, which might mean removing stopwords or focusing on sentiment-heavy words.
|
| 22 |
+
- In **Machine Translation**, every word, even stopwords, plays a critical role in maintaining sentence meaning.
|
| 23 |
+
- In **Topic Modeling**, you might analyze word frequency and clustering to discover hidden topics.
|
| 24 |
+
|
| 25 |
+
**Context matters!** EDA helps you decide what stays and what goes.
|
| 26 |
+
""")
|
| 27 |
+
|
| 28 |
+
st.markdown("""
|
| 29 |
+
---
|
| 30 |
+
### **Remember!** :star2:
|
| 31 |
+
Advanced EDA isn't just a step—it's an adventure into the heart of your data. Whether you're counting words, tagging parts of speech, or removing noise, every decision shapes the success of your NLP model. Keep exploring and have fun! :balloon:
|
| 32 |
+
""")
|
| 33 |
+
|
| 34 |
+
st.divider()
|
| 35 |
+
main()
|