Spaces:
Sleeping
Sleeping
Update pages/ML vs DL.py
Browse files- 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:
|
| 17 |
margin-bottom: 10px;
|
| 18 |
}
|
| 19 |
.subtitle {
|
| 20 |
text-align: center;
|
| 21 |
font-size: 1.2rem;
|
| 22 |
-
color:
|
| 23 |
margin-bottom: 30px;
|
| 24 |
}
|
| 25 |
.table-container {
|
|
@@ -66,40 +66,45 @@ html_table = """
|
|
| 66 |
<thead>
|
| 67 |
<tr>
|
| 68 |
<th>Aspect</th>
|
| 69 |
-
<th
|
| 70 |
-
<th
|
| 71 |
</tr>
|
| 72 |
</thead>
|
| 73 |
<tbody>
|
| 74 |
<tr>
|
| 75 |
<td>Definition</td>
|
| 76 |
-
<td>
|
| 77 |
-
<td>
|
| 78 |
</tr>
|
| 79 |
<tr>
|
| 80 |
<td>Data Dependency</td>
|
| 81 |
-
<td>
|
| 82 |
-
<td>
|
| 83 |
</tr>
|
| 84 |
<tr>
|
| 85 |
-
<td>
|
| 86 |
-
<td>
|
| 87 |
-
<td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
</tr>
|
| 89 |
<tr>
|
| 90 |
<td>Hardware Requirements</td>
|
| 91 |
-
<td>
|
| 92 |
-
<td>
|
| 93 |
</tr>
|
| 94 |
<tr>
|
| 95 |
<td>Interpretability</td>
|
| 96 |
-
<td>
|
| 97 |
-
<td>
|
| 98 |
</tr>
|
| 99 |
<tr>
|
| 100 |
<td>Training Time</td>
|
| 101 |
-
<td>
|
| 102 |
-
<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>
|