Spaces:
Running
Running
Sathwikchowdary
commited on
Commit
•
c0f4946
1
Parent(s):
f66eb17
Update pages/Difference_between_ML&DL.py
Browse files
pages/Difference_between_ML&DL.py
CHANGED
@@ -1,2 +1,15 @@
|
|
1 |
import streamlit as st
|
2 |
-
st.markdown("<h1 style='text-align: center; color: Balck;'>Difference between ML & DL</h1>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
st.markdown("<h1 style='text-align: center; color: Balck;'>Difference between ML & DL</h1>", unsafe_allow_html=True)
|
3 |
+
table = """
|
4 |
+
| **Aspect** | **Machine Learning** | **Deep Learning** |
|
5 |
+
|---------------------------|--------------------------------------------------|-----------------------------------------------|
|
6 |
+
| **Definition** | Subset of AI focused on learning patterns in data. | Subset of ML using neural networks with multiple layers. |
|
7 |
+
| **Data Dependency** | Works well with smaller datasets. | Requires large datasets to perform well. |
|
8 |
+
| **Feature Engineering** | Manual feature engineering is often required. | Automatically extracts features from raw data. |
|
9 |
+
| **Model Interpretability**| Models are more interpretable and easier to debug.| Models are often considered "black boxes." |
|
10 |
+
| **Hardware** | Runs efficiently on CPUs. | Requires GPUs or TPUs for faster computation. |
|
11 |
+
| **Complexity** | Suitable for simpler tasks like linear predictions. | Suitable for complex tasks like image or speech recognition. |
|
12 |
+
| **Training Time** | Training time is generally shorter. | Training time can be very long. |
|
13 |
+
| **Examples** | Spam detection, fraud detection, basic predictions.| Image recognition, autonomous vehicles, NLP. |
|
14 |
+
"""
|
15 |
+
st.markdown(table)
|