Spaces:
Sleeping
Sleeping
Update pages/Machine Learning vs Deep Learning.py
Browse files
pages/Machine Learning vs Deep Learning.py
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
markdown_content = """
|
| 4 |
+
# Machine Learning vs Deep Learning
|
| 5 |
+
|
| 6 |
+
## Comparison Table
|
| 7 |
+
|
| 8 |
+
| Aspect | Machine Learning (ML) | Deep Learning (DL) |
|
| 9 |
+
|----------------------|------------------------------------------------------------|---------------------------------------------------------|
|
| 10 |
+
| **Learning Approach** | Uses a statistical approach to analyze data and make predictions. | Uses neural networks to automatically learn patterns. |
|
| 11 |
+
| **Data Requirement** | Works well with smaller datasets. | Requires large amounts of data to perform well. |
|
| 12 |
+
| **Feature Engineering** | Requires manual feature selection and extraction. | Automatically learns features from raw data. |
|
| 13 |
+
| **Interpretability** | Easier to interpret and explain model decisions. | Harder to interpret due to complex layers in the network. |
|
| 14 |
+
| **Computation Power** | Can run on CPUs (low computational power). | Requires GPUs/TPUs (high computational power). |
|
| 15 |
+
| **Algorithms Used** | Uses models like KNN, Decision Trees, Linear Regression. | Uses ANN, CNN, RNN for feature extraction and learning. |
|
| 16 |
+
| **Training Time** | Faster training due to simpler computations. | Longer training time due to deep layers and complex processing. |
|
| 17 |
+
| **Data Types Processed** | Works with structured/tabular data. | Works with images, videos, text, and audio. |
|
| 18 |
+
"""
|
| 19 |
+
|
| 20 |
+
st.markdown(markdown_content)
|