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