Update pages/7_Advance_vectorization_techniques.py
Browse files
pages/7_Advance_vectorization_techniques.py
CHANGED
|
@@ -109,6 +109,16 @@ st.markdown("""
|
|
| 109 |
</style>
|
| 110 |
""", unsafe_allow_html=True)
|
| 111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
st.markdown("""
|
| 114 |
There are advance vectorization techniques.They are :
|
|
@@ -122,4 +132,16 @@ st.markdown("""
|
|
| 122 |
st.sidebar.title("Navigation 🧭")
|
| 123 |
file_type = st.sidebar.radio(
|
| 124 |
"Choose a Vectorization technique :",
|
| 125 |
-
("Word2Vec", "Fasttext"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
</style>
|
| 110 |
""", unsafe_allow_html=True)
|
| 111 |
|
| 112 |
+
st.header("Vectorization🧭")
|
| 113 |
+
st.markdown(
|
| 114 |
+
"""
|
| 115 |
+
<div class='info-box'>
|
| 116 |
+
<p>Vectorization is the process of converting text into vector.</p>
|
| 117 |
+
<p>This allows ML models to process text data effectively.</p>
|
| 118 |
+
</div>
|
| 119 |
+
""",
|
| 120 |
+
unsafe_allow_html=True
|
| 121 |
+
)
|
| 122 |
|
| 123 |
st.markdown("""
|
| 124 |
There are advance vectorization techniques.They are :
|
|
|
|
| 132 |
st.sidebar.title("Navigation 🧭")
|
| 133 |
file_type = st.sidebar.radio(
|
| 134 |
"Choose a Vectorization technique :",
|
| 135 |
+
("Word2Vec", "Fasttext"))
|
| 136 |
+
|
| 137 |
+
st.header("Word Embedding Technique")
|
| 138 |
+
st.markdown('''
|
| 139 |
+
- It is a advanced vectorization technique it converts text into vectors in such a way that it preserves semantic meaning
|
| 140 |
+
- All the techniques which preserves semantic meaning while converting text into vector is word embedding technique
|
| 141 |
+
- There are 2 word embedding techniques:
|
| 142 |
+
- Word2Vec
|
| 143 |
+
- Fasttext
|
| 144 |
+
''')
|
| 145 |
+
|
| 146 |
+
if file_type == "Word2Vec":
|
| 147 |
+
st.title(":red[Word2Vec]")
|