import streamlit as st # Title and Introduction st.markdown("""
Difference Between Machine Learning (ML) and Deep Learning (DL)

Learn how ML and DL differ in capabilities, requirements, and use cases!

""", unsafe_allow_html=True) # Machine Learning Section st.markdown("""
Machine Learning 🖥️
""", unsafe_allow_html=True) # Deep Learning Section st.markdown("""
Deep Learning 🤖
""", unsafe_allow_html=True) # Tabular Comparison st.markdown("""
Comparison Table
Aspect Machine Learning (ML) Deep Learning (DL)
Definition Uses algorithms and statistics to learn from data. Uses neural networks to mimic brain-like decision-making.
Data Dependency Works well with smaller datasets. Requires large datasets for better accuracy.
Data Type Handles structured data only. Handles both structured and unstructured data.
Training Time Requires less time to train. Requires more time to train.
Hardware Can run on CPUs. Requires GPUs and advanced hardware.
Memory Requirement Uses less memory. Requires more memory and storage.
""", unsafe_allow_html=True)