Sathwikchowdary commited on
Commit
ec415b0
1 Parent(s): c0f4946

Update pages/Difference_between_ML&DL.py

Browse files
Files changed (1) hide show
  1. pages/Difference_between_ML&DL.py +11 -9
pages/Difference_between_ML&DL.py CHANGED
@@ -1,15 +1,17 @@
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)
 
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
+ | **Contents** | **Machine Learning** | **Deep Learning** |
5
  |---------------------------|--------------------------------------------------|-----------------------------------------------|
6
+ | **Concept** | ML use statistical concepts to copy learning ability.|DL uses logical structure called as Neuron to copy learning
7
+ | **Algorithm** | It requires ML Algorithm and data to create mode .| It requires DL Algorithm and data to create mode|
8
+ | **Data sets** |It work on small data sets. | It work on large data sets. |
9
+ | **performance** | ML have a limit in giving performance. | ML have a limit in giving performance |
10
+ | **Data** | The Data should be in Tabular format that is structured data.| Directly deals with unstructured data |
11
+ | **Memory** | Less memory is used. | More memory is used . |
12
+ | **Training Time** | ML has less training time. | DL has more training time. |
13
+ | **Hardware** |ML can run CPU. | DL can run on GPU. |
14
+ | **Interpretability** |Models are more interpretable and easier to debug. | Models are often considered "black boxes.|
15
+ | **Examples** |Spam detection, fraud detection, basic predictions.|Image recognition, autonomous vehicles, NLP.
16
  """
17
  st.markdown(table)