Spaces:
Sleeping
Sleeping
Update pages/Machine Learning vs Deep Learning.py
Browse files
pages/Machine Learning vs Deep Learning.py
CHANGED
|
@@ -1,8 +1,14 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
| 2 |
st.markdown("""
|
| 3 |
-
<p style='font-size: 24px;'>Earlier, we discussed how <b>Machine Learning (ML)</b> and <b>Deep Learning (DL)</b> are two powerful tools in the field of <b>Artificial Intelligence (AI)</b>. But how do we better understand their differences? Let’s use an analogy:</p>
|
|
|
|
|
|
|
|
|
|
| 4 |
st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>✨ Imagine This: Chefs in the Kitchen </h2>", unsafe_allow_html=True)
|
| 5 |
|
|
|
|
| 6 |
st.markdown("""
|
| 7 |
<p style='font-size: 24px;'>Two chefs are in the same kitchen. One chef is highly skilled and prepares a dish every day, experimenting with different flavors and ingredients. The second chef, who is not very experienced, wants to recreate the dish but hasn’t been as consistent with their practice. To do this, they borrow the first chef's recipe to copy it. To help them recreate the dish, they use two tools: a <b>recipe book</b> and a <b>set of cooking tools</b>. While both tools serve the same purpose of helping them cook, their functionality differs:</p>
|
| 8 |
|
|
@@ -18,10 +24,9 @@ st.markdown("""
|
|
| 18 |
</ul>
|
| 19 |
""", unsafe_allow_html=True)
|
| 20 |
|
| 21 |
-
|
| 22 |
markdown_content = """
|
| 23 |
# Machine Learning vs Deep Learning
|
| 24 |
-
|
| 25 |
| Features | Machine Learning (ML) | Deep Learning (DL) |
|
| 26 |
|----------------------|------------------------------------------------------------|---------------------------------------------------------|
|
| 27 |
| **Learning Approach** | Uses a statistical approach to analyze data and make predictions. | Uses neural networks to automatically learn patterns. |
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
|
| 3 |
+
# Adding the introduction part
|
| 4 |
st.markdown("""
|
| 5 |
+
<p style='font-size: 24px;'>Earlier, we discussed how <b>Machine Learning (ML)</b> and <b>Deep Learning (DL)</b> are two powerful tools in the field of <b>Artificial Intelligence (AI)</b>. But how do we better understand their differences? Let’s use an analogy:</p>
|
| 6 |
+
""", unsafe_allow_html=True)
|
| 7 |
+
|
| 8 |
+
# Adding the analogy heading
|
| 9 |
st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>✨ Imagine This: Chefs in the Kitchen </h2>", unsafe_allow_html=True)
|
| 10 |
|
| 11 |
+
# Adding the analogy content
|
| 12 |
st.markdown("""
|
| 13 |
<p style='font-size: 24px;'>Two chefs are in the same kitchen. One chef is highly skilled and prepares a dish every day, experimenting with different flavors and ingredients. The second chef, who is not very experienced, wants to recreate the dish but hasn’t been as consistent with their practice. To do this, they borrow the first chef's recipe to copy it. To help them recreate the dish, they use two tools: a <b>recipe book</b> and a <b>set of cooking tools</b>. While both tools serve the same purpose of helping them cook, their functionality differs:</p>
|
| 14 |
|
|
|
|
| 24 |
</ul>
|
| 25 |
""", unsafe_allow_html=True)
|
| 26 |
|
| 27 |
+
# Adding the table comparison content
|
| 28 |
markdown_content = """
|
| 29 |
# Machine Learning vs Deep Learning
|
|
|
|
| 30 |
| Features | Machine Learning (ML) | Deep Learning (DL) |
|
| 31 |
|----------------------|------------------------------------------------------------|---------------------------------------------------------|
|
| 32 |
| **Learning Approach** | Uses a statistical approach to analyze data and make predictions. | Uses neural networks to automatically learn patterns. |
|