Spaces:
Sleeping
Sleeping
Update pages/ML vs DL.py
Browse files- pages/ML vs DL.py +26 -0
pages/ML vs DL.py
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
# Title
|
| 4 |
+
st.title("Differences between Machine Learning (ML) and Deep Learning (DL)")
|
| 5 |
+
|
| 6 |
+
# Create two vertical containers (columns)
|
| 7 |
+
col1, col2 = st.columns(2)
|
| 8 |
+
|
| 9 |
+
# Column 1: Machine Learning
|
| 10 |
+
with col1:
|
| 11 |
+
st.header("Machine Learning (ML)")
|
| 12 |
+
st.write("- Broad field of AI that uses algorithms to learn from data.")
|
| 13 |
+
st.write("- Focuses on tasks like classification, regression, and clustering.")
|
| 14 |
+
st.write("- Techniques: Linear regression, decision trees, SVMs, etc.")
|
| 15 |
+
st.write("- Works well with structured data.")
|
| 16 |
+
st.write("- Requires more feature engineering compared to DL.")
|
| 17 |
+
|
| 18 |
+
# Column 2: Deep Learning
|
| 19 |
+
with col2:
|
| 20 |
+
st.header("Deep Learning (DL)")
|
| 21 |
+
st.write("- Subset of ML using neural networks to model complex patterns.")
|
| 22 |
+
st.write("- Excels at tasks like image recognition and natural language processing.")
|
| 23 |
+
st.write("- Techniques: CNNs, RNNs, Transformers, etc.")
|
| 24 |
+
st.write("- Suitable for unstructured data like images, text, and audio.")
|
| 25 |
+
st.write("- Learns features automatically, requiring less manual engineering.")
|
| 26 |
+
|