Spaces:
Sleeping
Sleeping
Update pages/pg.py
Browse files- pages/pg.py +56 -0
pages/pg.py
CHANGED
|
@@ -94,3 +94,59 @@ st.markdown(
|
|
| 94 |
""",
|
| 95 |
unsafe_allow_html=True
|
| 96 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
""",
|
| 95 |
unsafe_allow_html=True
|
| 96 |
)
|
| 97 |
+
st.markdown("<h2 style='color: #1ABC9C; font-size: 30px; font-weight: bold;'>🔹 Machine Learning: A Subset of AI</h2>", unsafe_allow_html=True)
|
| 98 |
+
|
| 99 |
+
st.markdown("""
|
| 100 |
+
<p style='font-size: 24px;'>
|
| 101 |
+
<b>Machine Learning</b> is a statistical technique that learns from data and makes predictions or decisions based on it.
|
| 102 |
+
</p>
|
| 103 |
+
<p style='font-size: 24px; font-weight: bold;'>How Machine Learning Works?</p>
|
| 104 |
+
<p style='font-size: 24px;'>ML follows a simple process:</p>
|
| 105 |
+
<ul style='font-size: 24px;'>
|
| 106 |
+
<li><b>Collect Data:</b> Gather historical data (e.g., past movie ratings, customer transactions).</li>
|
| 107 |
+
<li><b>Train the Model:</b> Use algorithms to find patterns in the data.</li>
|
| 108 |
+
<li><b>Test & Improve:</b> Evaluate the model’s accuracy and refine it.</li>
|
| 109 |
+
<li><b>Make Predictions:</b> Apply the trained model to new data for real-world use.</li>
|
| 110 |
+
</ul>
|
| 111 |
+
<p style='font-size: 24px; font-weight: bold;'>Applications:</p>
|
| 112 |
+
<ul style='font-size: 24px;'>
|
| 113 |
+
<li><b>Chatbots:</b> Text-based chatbots for customer support, voice-based assistants like Siri and Alexa.</li>
|
| 114 |
+
<li><b>Autonomous Vehicles:</b> Tesla’s self-driving cars.</li>
|
| 115 |
+
<li><b>Recommendation Systems:</b> Personalized suggestions on e-commerce platforms (Amazon, Netflix, etc.).</li>
|
| 116 |
+
<li><b>Predictive Analytics:</b> Weather forecasting, traffic prediction.</li>
|
| 117 |
+
<li><b>Robotics:</b> Used in automation and intelligent robots.</li>
|
| 118 |
+
<li><b>Object Detection & Sentiment Analysis:</b> Used in computer vision and NLP applications like fraud detection, emotion analysis.</li>
|
| 119 |
+
</ul>
|
| 120 |
+
""", unsafe_allow_html=True)
|
| 121 |
+
|
| 122 |
+
# Section: Deep Learning
|
| 123 |
+
st.markdown("<h2 style='color: #8E44AD; font-size: 30px; font-weight: bold;'>🔹 Deep Learning: A Subset of Machine Learning</h2>", unsafe_allow_html=True)
|
| 124 |
+
|
| 125 |
+
st.markdown("""
|
| 126 |
+
<p style='font-size: 24px;'>
|
| 127 |
+
<b>Deep Learning</b> is a subset of machine learning that focuses on using artificial neural networks to learn from large amounts of data.
|
| 128 |
+
</p>
|
| 129 |
+
<p style='font-size: 24px;'>These neural networks are composed of multiple layers (hence the term “deep”) that enable the model to automatically extract features from the data.</p>
|
| 130 |
+
""", unsafe_allow_html=True)
|
| 131 |
+
|
| 132 |
+
# Section: Generative AI
|
| 133 |
+
st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'>🔹 Generative AI</h2>", unsafe_allow_html=True)
|
| 134 |
+
|
| 135 |
+
st.markdown("""
|
| 136 |
+
<p style='font-size: 24px;'>
|
| 137 |
+
<b>Generative AI</b> refers to the branch of AI that focuses on creating new content, such as images, music, text, or videos, that is indistinguishable from human-created content.
|
| 138 |
+
</p>
|
| 139 |
+
""", unsafe_allow_html=True)
|
| 140 |
+
|
| 141 |
+
# Section: Relationship Between AI, ML, DL, and Generative AI
|
| 142 |
+
st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>🔹 Relationship Between AI, Machine Learning, Deep Learning, and Generative AI</h2>", unsafe_allow_html=True)
|
| 143 |
+
|
| 144 |
+
st.markdown("""
|
| 145 |
+
<p style='font-size: 24px; font-weight: bold;'>Simple Breakdown:</p>
|
| 146 |
+
<ul style='font-size: 24px;'>
|
| 147 |
+
<li><b>AI:</b> The big umbrella of intelligent systems.</li>
|
| 148 |
+
<li><b>ML:</b> A part of AI that helps machines learn from data.</li>
|
| 149 |
+
<li><b>DL:</b> A more advanced type of ML using deep neural networks.</li>
|
| 150 |
+
<li><b>Generative AI:</b> A creative branch of DL that generates new content.</li>
|
| 151 |
+
</ul>
|
| 152 |
+
""", unsafe_allow_html=True)
|