Harika22 commited on
Commit
cddff6d
·
verified ·
1 Parent(s): 43708ce

Update pages/ML vs DL.py

Browse files
Files changed (1) hide show
  1. pages/ML vs DL.py +22 -17
pages/ML vs DL.py CHANGED
@@ -13,13 +13,13 @@ st.markdown("""
13
  .title {
14
  text-align: center;
15
  font-size: 2.5rem;
16
- color: #4CAF50;
17
  margin-bottom: 10px;
18
  }
19
  .subtitle {
20
  text-align: center;
21
  font-size: 1.2rem;
22
- color: #333;
23
  margin-bottom: 30px;
24
  }
25
  .table-container {
@@ -66,40 +66,45 @@ html_table = """
66
  <thead>
67
  <tr>
68
  <th>Aspect</th>
69
- <th>Machine Learning</th>
70
- <th>Deep Learning</th>
71
  </tr>
72
  </thead>
73
  <tbody>
74
  <tr>
75
  <td>Definition</td>
76
- <td>Uses algorithms to parse data, learn from it, and make predictions.</td>
77
- <td>A subset of ML focused on neural networks with many layers.</td>
78
  </tr>
79
  <tr>
80
  <td>Data Dependency</td>
81
- <td>Performs well with structured and smaller datasets.</td>
82
- <td>Requires large amounts of unstructured data to perform well.</td>
83
  </tr>
84
  <tr>
85
- <td>Feature Engineering</td>
86
- <td>Requires manual feature extraction by domain experts.</td>
87
- <td>Automates feature extraction using neural networks.</td>
 
 
 
 
 
88
  </tr>
89
  <tr>
90
  <td>Hardware Requirements</td>
91
- <td>Works on standard CPUs; lower hardware demands.</td>
92
- <td>Requires GPUs/TPUs for efficient computation.</td>
93
  </tr>
94
  <tr>
95
  <td>Interpretability</td>
96
- <td>More interpretable and explainable results.</td>
97
- <td>Less interpretable due to complex neural networks.</td>
98
  </tr>
99
  <tr>
100
  <td>Training Time</td>
101
- <td>Relatively faster to train models.</td>
102
- <td>Training can take significantly longer.</td>
103
  </tr>
104
  </tbody>
105
  </table>
 
13
  .title {
14
  text-align: center;
15
  font-size: 2.5rem;
16
+ color: black;
17
  margin-bottom: 10px;
18
  }
19
  .subtitle {
20
  text-align: center;
21
  font-size: 1.2rem;
22
+ color: violet;
23
  margin-bottom: 30px;
24
  }
25
  .table-container {
 
66
  <thead>
67
  <tr>
68
  <th>Aspect</th>
69
+ <th>**Machine Learning**</th>
70
+ <th>**Deep Learning**</th>
71
  </tr>
72
  </thead>
73
  <tbody>
74
  <tr>
75
  <td>Definition</td>
76
+ <td>Machine Learning is a tool which needs statistical concepts to copy / mimic the learning ability in natural intelligence </td>
77
+ <td>Deep Learning is a tool which needs logical structure known as neural network to copy / mimic the learning ability in natural intelligence</td>
78
  </tr>
79
  <tr>
80
  <td>Data Dependency</td>
81
+ <td>ML performs well with structured data (**tabular data**) and smaller datasets</td>
82
+ <td>DL is hungry of data as it requires large amounts of unstructured data and also structured data to perform well</td>
83
  </tr>
84
  <tr>
85
+ <td>Performance</td>
86
+ <td>ML have treshold as the data increases the performance becomes stable</td>
87
+ <td>DL performance increases as the data increases because DL is hungry of data/td>
88
+ </tr>
89
+ <tr>
90
+ <td>Memory Management</td>
91
+ <td>ML memory uasage is less as it uses less data</td>
92
+ <td>DL memory usage is large as it has huge data</td>
93
  </tr>
94
  <tr>
95
  <td>Hardware Requirements</td>
96
+ <td>ML works on standard CPUs; lower hardware demands</td>
97
+ <td>DL requires GPUs for efficient computation.</td>
98
  </tr>
99
  <tr>
100
  <td>Interpretability</td>
101
+ <td>ML is more interpretable as it works on smaller datasets </td>
102
+ <td>DL is less interpretable as it works on complex neural networks</td>
103
  </tr>
104
  <tr>
105
  <td>Training Time</td>
106
+ <td>ML is relatively faster to train models as it uses less data</td>
107
+ <td>DL training can take significantly longer</td>
108
  </tr>
109
  </tbody>
110
  </table>