Update pages/Differences.py
Browse files- pages/Differences.py +8 -3
pages/Differences.py
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
# Page Title
|
| 4 |
-
st.
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
# Key Concepts
|
| 8 |
st.subheader("📋 What Are They?")
|
|
@@ -10,7 +11,7 @@ st.write("""
|
|
| 10 |
- **Machine Learning (ML)**: A branch of AI where machines learn from data to make predictions or decisions without being explicitly programmed.
|
| 11 |
- **Deep Learning (DL)**: A specialized part of ML that uses artificial neural networks inspired by the human brain. It’s used for very complex tasks.
|
| 12 |
""")
|
| 13 |
-
|
| 14 |
# Table of Differences
|
| 15 |
st.subheader("🔍 Key Differences")
|
| 16 |
st.write("""
|
|
@@ -37,6 +38,8 @@ differences = {
|
|
| 37 |
# Display table
|
| 38 |
st.table(differences)
|
| 39 |
|
|
|
|
|
|
|
| 40 |
# When to Use ML vs DL
|
| 41 |
st.subheader("🤔 When Should You Use ML or DL?")
|
| 42 |
st.write("""
|
|
@@ -51,6 +54,8 @@ st.write("""
|
|
| 51 |
- High accuracy is required and computational resources are available.
|
| 52 |
""")
|
| 53 |
|
|
|
|
|
|
|
| 54 |
# Final Note
|
| 55 |
st.write("""
|
| 56 |
Both ML and DL have their strengths and weaknesses.
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
# Page Title
|
| 4 |
+
st.Header("Differences Between Machine Learning (ML) and Deep Learning (DL)")
|
| 5 |
+
|
| 6 |
+
st.write("**Let’s explore how ML and DL differ and why both are important.**")
|
| 7 |
|
| 8 |
# Key Concepts
|
| 9 |
st.subheader("📋 What Are They?")
|
|
|
|
| 11 |
- **Machine Learning (ML)**: A branch of AI where machines learn from data to make predictions or decisions without being explicitly programmed.
|
| 12 |
- **Deep Learning (DL)**: A specialized part of ML that uses artificial neural networks inspired by the human brain. It’s used for very complex tasks.
|
| 13 |
""")
|
| 14 |
+
st.markdown("---")
|
| 15 |
# Table of Differences
|
| 16 |
st.subheader("🔍 Key Differences")
|
| 17 |
st.write("""
|
|
|
|
| 38 |
# Display table
|
| 39 |
st.table(differences)
|
| 40 |
|
| 41 |
+
st.markdown("---")
|
| 42 |
+
|
| 43 |
# When to Use ML vs DL
|
| 44 |
st.subheader("🤔 When Should You Use ML or DL?")
|
| 45 |
st.write("""
|
|
|
|
| 54 |
- High accuracy is required and computational resources are available.
|
| 55 |
""")
|
| 56 |
|
| 57 |
+
st.markdown("---")
|
| 58 |
+
|
| 59 |
# Final Note
|
| 60 |
st.write("""
|
| 61 |
Both ML and DL have their strengths and weaknesses.
|