Spaces:
Sleeping
Sleeping
Update pages/Introduction.py
Browse files- pages/Introduction.py +33 -33
pages/Introduction.py
CHANGED
|
@@ -25,13 +25,13 @@ st.markdown(
|
|
| 25 |
)
|
| 26 |
|
| 27 |
# Section 1: Artificial
|
| 28 |
-
st.markdown("<h2 style='color: #1ABC9C; font-size:
|
| 29 |
st.markdown("""
|
| 30 |
-
<p style='font-size:
|
| 31 |
The term <b>artificial</b> refers to anything that is not naturally occurring and is created by humans.
|
| 32 |
</p>
|
| 33 |
-
<p style='font-size:
|
| 34 |
-
<ul style='font-size:
|
| 35 |
<li><b>Artificial Satellites</b>: A man-made object that orbits Earth or other planets. These are built for specific purposes like communication, navigation, weather monitoring, and research.</li>
|
| 36 |
<li><b>Artificial Flowers</b>: These are man-made replicas of real flowers, crafted using materials like silk, plastic, or fabric. They are used for decoration, religious ceremonies, events, and artistic arrangements.</li>
|
| 37 |
</ul>
|
|
@@ -39,13 +39,13 @@ st.markdown("""
|
|
| 39 |
""", unsafe_allow_html=True)
|
| 40 |
|
| 41 |
# Section 2: Intelligence
|
| 42 |
-
st.markdown("<h2 style='color: #8E44AD; font-size:
|
| 43 |
st.markdown("""
|
| 44 |
-
<p style='font-size:
|
| 45 |
<b>Intelligence</b> is the ability to think, learn, understand, reason, and make decisions.
|
| 46 |
</p>
|
| 47 |
-
<p style='font-size:
|
| 48 |
-
<p style='font-size:
|
| 49 |
<ul style='font-size: 24px;'>
|
| 50 |
<li>The child sees a dog for the first time and hears their parents say, “This is a dog.”</li>
|
| 51 |
<li>The child observes its shape, fur, barking sound, and movement.</li>
|
|
@@ -53,33 +53,33 @@ st.markdown("""
|
|
| 53 |
""", unsafe_allow_html=True)
|
| 54 |
|
| 55 |
# Section 3: Artificial Intelligence (AI)
|
| 56 |
-
st.markdown("<h2 style='color: #F39C12; font-size:
|
| 57 |
|
| 58 |
st.markdown("""
|
| 59 |
-
<p style='font-size:
|
| 60 |
<b>Artificial Intelligence (AI)</b> is a field of computer science that focuses on mimicking, copying, or cloning human intelligence in machines, enabling them to perform tasks like a human.
|
| 61 |
</p>
|
| 62 |
-
<p style='font-size:
|
| 63 |
-
<ul style='font-size:
|
| 64 |
<li>Imagine a baby learning to walk. At first, the baby stumbles and falls, but with each attempt, they improve. Their brain automatically learns from past experiences — adjusting balance, correcting mistakes, and gradually walking without help. This is an example of <b>natural intelligence</b> — the ability to learn, adapt, and improve based on experience.</li>
|
| 65 |
</ul>
|
| 66 |
-
<p style='font-size:
|
| 67 |
-
<ul style='font-size:
|
| 68 |
<li>Now, think about a self-driving car. In the beginning, the car doesn’t know how to drive. It is trained by feeding it thousands of hours of road data—how to stop at red lights, recognize pedestrians, and adjust speed. The AI system analyzes these patterns, learns from past mistakes, and gets better at driving over time.</li>
|
| 69 |
</ul>
|
| 70 |
<p style='font-size: 24px;'>
|
| 71 |
Just like a baby learns to walk through trial and error, <b>AI learns by analyzing data, identifying patterns, and making decisions based on what it has learned.</b>
|
| 72 |
</p>
|
| 73 |
-
<p style='font-size:
|
| 74 |
-
<ul style='font-size:
|
| 75 |
<li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
|
| 76 |
</ul>
|
| 77 |
""", unsafe_allow_html=True)
|
| 78 |
|
| 79 |
# Section 4: Techniques and Tools for AI
|
| 80 |
-
st.markdown("<h2 style='color: #3498DB; font-size:
|
| 81 |
st.markdown("""
|
| 82 |
-
<p style='font-size:
|
| 83 |
If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
|
| 84 |
</p>
|
| 85 |
""", unsafe_allow_html=True)
|
|
@@ -98,20 +98,20 @@ st.markdown(
|
|
| 98 |
|
| 99 |
# Section: Machine Learning
|
| 100 |
st.markdown("""
|
| 101 |
-
<h2 style='color: #1ABC9C; font-size:
|
| 102 |
-
<p style='font-size:
|
| 103 |
<b>Machine Learning</b> is a statistical technique that learns from data and makes predictions or decisions based on it.
|
| 104 |
</p>
|
| 105 |
-
<p style='font-size:
|
| 106 |
-
<p style='font-size:
|
| 107 |
-
<ul style='font-size:
|
| 108 |
<li><b>Collect Data:</b> Gather historical data (e.g., past movie ratings, customer transactions).</li>
|
| 109 |
<li><b>Train the Model:</b> Use algorithms to find patterns in the data.</li>
|
| 110 |
<li><b>Test & Improve:</b> Evaluate the model’s accuracy and refine it.</li>
|
| 111 |
<li><b>Make Predictions:</b> Apply the trained model to new data for real-world use.</li>
|
| 112 |
</ul>
|
| 113 |
-
<p style='font-size:
|
| 114 |
-
<ul style='font-size:
|
| 115 |
<li><b>Chatbots:</b> Text-based chatbots for customer support, voice-based assistants like Siri and Alexa.</li>
|
| 116 |
<li><b>Autonomous Vehicles:</b> Tesla’s self-driving cars.</li>
|
| 117 |
<li><b>Recommendation Systems:</b> Personalized suggestions on e-commerce platforms (Amazon, Netflix, etc.).</li>
|
|
@@ -124,18 +124,18 @@ st.markdown("""
|
|
| 124 |
|
| 125 |
# Section: Deep Learning
|
| 126 |
st.markdown("""
|
| 127 |
-
<h2 style='color: #8E44AD; font-size:
|
| 128 |
-
<p style='font-size:
|
| 129 |
<b>Deep Learning</b> is a subset of machine learning that focuses on using artificial neural networks to learn from large amounts of data.
|
| 130 |
</p>
|
| 131 |
-
<p style='font-size:
|
| 132 |
</div>
|
| 133 |
""", unsafe_allow_html=True)
|
| 134 |
|
| 135 |
# Section: Generative AI
|
| 136 |
st.markdown("""
|
| 137 |
-
<h2 style='color: #F39C12; font-size:
|
| 138 |
-
<p style='font-size:
|
| 139 |
<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.
|
| 140 |
</p>
|
| 141 |
</div>
|
|
@@ -143,9 +143,9 @@ st.markdown("""
|
|
| 143 |
|
| 144 |
# Section: Relationship Between AI, ML, DL, and Generative AI
|
| 145 |
st.markdown("""
|
| 146 |
-
<h2 style='color: #3498DB; font-size:
|
| 147 |
-
<p style='font-size:
|
| 148 |
-
<ul style='font-size:
|
| 149 |
<li><b>AI:</b> The big umbrella of intelligent systems.</li>
|
| 150 |
<li><b>ML:</b> A part of AI that helps machines learn from data.</li>
|
| 151 |
<li><b>DL:</b> A more advanced type of ML using deep neural networks.</li>
|
|
|
|
| 25 |
)
|
| 26 |
|
| 27 |
# Section 1: Artificial
|
| 28 |
+
st.markdown("<h2 style='color: #1ABC9C; font-size: 25px; font-weight: bold;'> Artificial :</h2>", unsafe_allow_html=True)
|
| 29 |
st.markdown("""
|
| 30 |
+
<p style='font-size: 18px;'>
|
| 31 |
The term <b>artificial</b> refers to anything that is not naturally occurring and is created by humans.
|
| 32 |
</p>
|
| 33 |
+
<p style='font-size: 18px;'><b>Examples:</b></p>
|
| 34 |
+
<ul style='font-size: 18px;'>
|
| 35 |
<li><b>Artificial Satellites</b>: A man-made object that orbits Earth or other planets. These are built for specific purposes like communication, navigation, weather monitoring, and research.</li>
|
| 36 |
<li><b>Artificial Flowers</b>: These are man-made replicas of real flowers, crafted using materials like silk, plastic, or fabric. They are used for decoration, religious ceremonies, events, and artistic arrangements.</li>
|
| 37 |
</ul>
|
|
|
|
| 39 |
""", unsafe_allow_html=True)
|
| 40 |
|
| 41 |
# Section 2: Intelligence
|
| 42 |
+
st.markdown("<h2 style='color: #8E44AD; font-size: 25px; font-weight: bold;'> Intelligence :</h2>", unsafe_allow_html=True)
|
| 43 |
st.markdown("""
|
| 44 |
+
<p style='font-size: 18px;'>
|
| 45 |
<b>Intelligence</b> is the ability to think, learn, understand, reason, and make decisions.
|
| 46 |
</p>
|
| 47 |
+
<p style='font-size: 18px;'>This intelligence exists naturally, and we call it <b>natural intelligence</b>.</p>
|
| 48 |
+
<p style='font-size: 18px;'><b>Example:</b></p>
|
| 49 |
<ul style='font-size: 24px;'>
|
| 50 |
<li>The child sees a dog for the first time and hears their parents say, “This is a dog.”</li>
|
| 51 |
<li>The child observes its shape, fur, barking sound, and movement.</li>
|
|
|
|
| 53 |
""", unsafe_allow_html=True)
|
| 54 |
|
| 55 |
# Section 3: Artificial Intelligence (AI)
|
| 56 |
+
st.markdown("<h2 style='color: #F39C12; font-size: 25px; font-weight: bold;'> Artificial Intelligence (AI) :</h2>", unsafe_allow_html=True)
|
| 57 |
|
| 58 |
st.markdown("""
|
| 59 |
+
<p style='font-size: 18px;'>
|
| 60 |
<b>Artificial Intelligence (AI)</b> is a field of computer science that focuses on mimicking, copying, or cloning human intelligence in machines, enabling them to perform tasks like a human.
|
| 61 |
</p>
|
| 62 |
+
<p style='font-size: 18px; font-style: italic;'><b>Example:</b></p>
|
| 63 |
+
<ul style='font-size: 18px;'>
|
| 64 |
<li>Imagine a baby learning to walk. At first, the baby stumbles and falls, but with each attempt, they improve. Their brain automatically learns from past experiences — adjusting balance, correcting mistakes, and gradually walking without help. This is an example of <b>natural intelligence</b> — the ability to learn, adapt, and improve based on experience.</li>
|
| 65 |
</ul>
|
| 66 |
+
<p style='font-size: 18px; font-weight: bold;'>How AI Mimics This Process</p>
|
| 67 |
+
<ul style='font-size: 18px;'>
|
| 68 |
<li>Now, think about a self-driving car. In the beginning, the car doesn’t know how to drive. It is trained by feeding it thousands of hours of road data—how to stop at red lights, recognize pedestrians, and adjust speed. The AI system analyzes these patterns, learns from past mistakes, and gets better at driving over time.</li>
|
| 69 |
</ul>
|
| 70 |
<p style='font-size: 24px;'>
|
| 71 |
Just like a baby learns to walk through trial and error, <b>AI learns by analyzing data, identifying patterns, and making decisions based on what it has learned.</b>
|
| 72 |
</p>
|
| 73 |
+
<p style='font-size: 18px; font-weight: bold;'>Real-World Examples of AI</p>
|
| 74 |
+
<ul style='font-size: 18px;'>
|
| 75 |
<li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
|
| 76 |
</ul>
|
| 77 |
""", unsafe_allow_html=True)
|
| 78 |
|
| 79 |
# Section 4: Techniques and Tools for AI
|
| 80 |
+
st.markdown("<h2 style='color: #3498DB; font-size: 25px; font-weight: bold;'> Techniques and Tools for AI</h2>", unsafe_allow_html=True)
|
| 81 |
st.markdown("""
|
| 82 |
+
<p style='font-size: 18px;'>
|
| 83 |
If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
|
| 84 |
</p>
|
| 85 |
""", unsafe_allow_html=True)
|
|
|
|
| 98 |
|
| 99 |
# Section: Machine Learning
|
| 100 |
st.markdown("""
|
| 101 |
+
<h2 style='color: #1ABC9C; font-size: 25px; font-weight: bold;'> Machine Learning: A Subset of AI</h2>
|
| 102 |
+
<p style='font-size: 18px;'>
|
| 103 |
<b>Machine Learning</b> is a statistical technique that learns from data and makes predictions or decisions based on it.
|
| 104 |
</p>
|
| 105 |
+
<p style='font-size: 18px;font-weight: bold;'>How Machine Learning Works?</p>
|
| 106 |
+
<p style='font-size: 18px; font-weight: bold;'>ML follows a simple process:</p>
|
| 107 |
+
<ul style='font-size: 18px;'>
|
| 108 |
<li><b>Collect Data:</b> Gather historical data (e.g., past movie ratings, customer transactions).</li>
|
| 109 |
<li><b>Train the Model:</b> Use algorithms to find patterns in the data.</li>
|
| 110 |
<li><b>Test & Improve:</b> Evaluate the model’s accuracy and refine it.</li>
|
| 111 |
<li><b>Make Predictions:</b> Apply the trained model to new data for real-world use.</li>
|
| 112 |
</ul>
|
| 113 |
+
<p style='font-size: 18px; font-weight: bold;'>Applications:</p>
|
| 114 |
+
<ul style='font-size: 18px;'>
|
| 115 |
<li><b>Chatbots:</b> Text-based chatbots for customer support, voice-based assistants like Siri and Alexa.</li>
|
| 116 |
<li><b>Autonomous Vehicles:</b> Tesla’s self-driving cars.</li>
|
| 117 |
<li><b>Recommendation Systems:</b> Personalized suggestions on e-commerce platforms (Amazon, Netflix, etc.).</li>
|
|
|
|
| 124 |
|
| 125 |
# Section: Deep Learning
|
| 126 |
st.markdown("""
|
| 127 |
+
<h2 style='color: #8E44AD; font-size: 25px; font-weight: bold;'> Deep Learning: A Subset of Machine Learning</h2>
|
| 128 |
+
<p style='font-size: 18px;'>
|
| 129 |
<b>Deep Learning</b> is a subset of machine learning that focuses on using artificial neural networks to learn from large amounts of data.
|
| 130 |
</p>
|
| 131 |
+
<p style='font-size: 18px;'>These neural networks are composed of multiple layers (hence the term “deep”) that enable the model to automatically extract features from the data.</p>
|
| 132 |
</div>
|
| 133 |
""", unsafe_allow_html=True)
|
| 134 |
|
| 135 |
# Section: Generative AI
|
| 136 |
st.markdown("""
|
| 137 |
+
<h2 style='color: #F39C12; font-size: 25px; font-weight: bold;'> Generative AI</h2>
|
| 138 |
+
<p style='font-size: 18px;'>
|
| 139 |
<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.
|
| 140 |
</p>
|
| 141 |
</div>
|
|
|
|
| 143 |
|
| 144 |
# Section: Relationship Between AI, ML, DL, and Generative AI
|
| 145 |
st.markdown("""
|
| 146 |
+
<h2 style='color: #3498DB; font-size: 25px; font-weight: bold;'> Relationship Between AI, Machine Learning, Deep Learning, and Generative AI</h2>
|
| 147 |
+
<p style='font-size: 18px; font-weight: bold;'>Simple Breakdown:</p>
|
| 148 |
+
<ul style='font-size: 18px;'>
|
| 149 |
<li><b>AI:</b> The big umbrella of intelligent systems.</li>
|
| 150 |
<li><b>ML:</b> A part of AI that helps machines learn from data.</li>
|
| 151 |
<li><b>DL:</b> A more advanced type of ML using deep neural networks.</li>
|